Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: AT91sam9263 USART Speed Limit
PostPosted: Fri Sep 02, 2011 5:43 pm 
Offline

Joined: Fri Jun 03, 2011 12:59 pm
Posts: 1
Hi,

In order to test the maximum baudrate the USARTs work, under Linux on a AT91SAM9263, I have prepared the following setup:

1 board + 2 RS485 transceivers (up to 12Mb/s) + cable cross-connecting RS485 transceivers.

2 processes:
process A => Writes 1024 bytes, reads them back and measures time.
process B => Reads 1024 and writes back. Works as a mirror.

I would like to work at 3Mbps but I haven't been able to reach that rate. In fact, after a change the limit above 115200 bps the transmission rate decreases.
I change the bps using stty and double-check it reading the BRGR register.

The use of DMA is activated, which should allow the device to achieve greater baud rates, but it seems unable to do so.

Could anyone please notice whether I am missing something during this tests? Does any one achieve rates above 2Mbps?

Best regards and thanks for your time.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: