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: Lite high speed USART rx driver for AT91SAM9260
PostPosted: Sat Nov 19, 2011 3:47 pm 
Offline

Joined: Sat Sep 24, 2011 11:33 pm
Posts: 13
A few weeks ago I had quite fruitful discussion here about possibility to increase the throughput of the USART in the AT91SAM9260.
At data rata 6Mb/s in synchronous mode I had some data dropped.
Here I would like to share the solution, I've finally found.
I had to reduce functionality of the original atmel_serial driver, and to change the way it passes the data into the user space.
I've removed all the tty and line discipline related functionalities. The data are now transferred not through the "read" function, but by the mmapped buffer.
This solution works reliably at 6Mb/s leaving sufficient amount of CPU power for processing of data.
The sources are available at the alt.sources usenet group. See the post "Lite high speed synchronous mode driver for USART in Atmel AT91SAM9260"
or simply follow the link to Google archive: http://groups.google.com/group/alt.sour ... af6eb62a9b

Thanks a lot for all suggestions, which led me to the above solution.
--
Regards,
Wojtek


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 1 guest


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: