Sign in

username:

password:



Not a member?

Search AT91SAM



Search tips

Subscribe to AT91SAM



Sponsor

controlSUITE™ software
Comprehensive.
Intuitive.
Optimized.

Real-world software for real-time control. Details Here!

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | AT91SAM ARM | problem with USART

For users of the Atmel AT91SAM7 and AT91SAM9 ARM CPU chips. Atmel has taken a new direction by combining on chip flash and ram with the ARM CPU on a single die. This provides low cost devices for small systems using the ARM CPU. This group is to exchange information to help users get started and learn how to use the devices.

problem with USART - tasbihmr - Nov 3 11:33:13 2008

Hello,

A while back, I started getting this on my board, that when I had a
program interfacing with the USART DBGU, the key press from the Hyper
Terminal would not perform the required the functionality, for example
pressing an 'h' would be a 'd' and so on, and sometimes it worked OK.
So then I tried to find out what could be wrong, and I came up with
nothing conclusive. Then recently, I tried to use another USART, and
bypass the onboard USART, but again nothing. I mean the USART connects
and the rate is OK, I can it through hyper terminal, but if I try to
interact with a key press, does't work, and now it does't even work
little bit, just I can see characters.
What could this be? What is my best bet at the moment?

Thank you and regards.
------------------------------------



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )


Re: problem with USART - bhavintailor_ec - Nov 3 22:52:03 2008

Have u made connection with 3 wire Rx, Tx & GND ?
To check whether your Hyper Terminal is sending proper character, u can
remove rs232 cable from your hardware and just make short your Rx & Tx
pins so that u will get character whatever u r sending in Rx pin. So, u
can see that your hyper terminal is ok.
In Hyper Teminal make flow control = NONE.

If its ok than, main problem with your baudrate. You must calculate
your baudrate by considering CRYSTAL & PLL(if u have enabled it).

Check all this thing without receive interrupt. By using receive
polling method than u can go to interrupt based.

--- In A...@yahoogroups.com, "tasbihmr" wrote:
>
> Hello,
>
> A while back, I started getting this on my board, that when I had a
> program interfacing with the USART DBGU, the key press from the Hyper
> Terminal would not perform the required the functionality, for example
> pressing an 'h' would be a 'd' and so on, and sometimes it worked OK.
> So then I tried to find out what could be wrong, and I came up with
> nothing conclusive. Then recently, I tried to use another USART, and
> bypass the onboard USART, but again nothing. I mean the USART connects
> and the rate is OK, I can it through hyper terminal, but if I try to
> interact with a key press, does't work, and now it does't even work
> little bit, just I can see characters.
> What could this be? What is my best bet at the moment?
>
> Thank you and regards.
>

------------------------------------

______________________________
controlSUITE™ software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )