Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with USART on my AVR micro-controller

Status
Not open for further replies.

surjya

Newbie level 1
Joined
Jun 28, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
Hi Geeks,

I am working on a project. Following are my setup.

1. Micro-controller - AT32UC3A0512
2. Development board - EVK1105 from ATMEL
3. Embedded OS - FreeRTOS
4. Modules involved USART,Display,keypad,ADC

Following is my problem.
-> My development has 3 usarts. I am using USART0. To communicate through USART i am using RS232 standard with baudrate 115200, 1 stopbit, no parity, 8 databits. I am using ISR to send/receive data through USART
-> I have connected a phone modem to the boards USART0. This modem initializes and responds commands when I connect it to my PC though serial port though TeraTerm, putty like console programs.
-> The board also can send/receive data through USART0 when connected to PC.
-> But when I connect the board's USART0 to my phone modem, I can't receive the data in proper format or I get some junk characters. My FreeRTOS also crashes after this.

Can anybody suggest me what may be the problem and how I can debug this problem?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top