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  [ 2 posts ] 
Author Message
 Post subject: How to add support for more serail RS232 ports
PostPosted: Mon Jan 24, 2011 8:19 am 
Offline

Joined: Wed Jun 30, 2010 2:00 pm
Posts: 10
I am doing development on AT91SAM9263.
I can work well with two serial RS232 ports ttyS0 for debug and ttyS1.
Now I wish to work with another two more RS232 ports .i.e. ttyS2 and ttyS3.

I built hardware accordingly by using TXD1, RXD1 and TXD2,RXD2 pins from
processor itself .
But I have not found any support for ttyS2 and ttyS3 with angstrom linux
package .

Please let me How I can add support for ttyS2 & ttyS3 ??


Top
 Profile  
 
 Post subject: Re: How to add support for more serail RS232 ports
PostPosted: Wed Jan 26, 2011 2:15 pm 
Offline

Joined: Wed Jan 26, 2011 2:03 pm
Posts: 3
Hi,

If you look into the following file arch/arm/mach-at91/"boardname".c, you may
easily parameterize additional ports by adding them to the function ek_map_io.
Simply add a call like this:

/* USART1 on ttyS2. (Rx, Tx, RTS, CTS) */
at91_register_uart(AT91SAM9260_ID_US1, 2, ATMEL_UART_CTS | ATMEL_UART_RTS);

Best regards
Erik Sandbraaten


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

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: