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 change PIO used for USART3 in atmel_serial driver?
PostPosted: Wed Jun 01, 2011 8:15 am 
Offline

Joined: Wed Apr 27, 2011 6:31 am
Posts: 25
Hello all,

I am using AT91SAM9G20-2slot-mmc-EK.In this board PB10->TXD3 and PB11->RXD3 are used for USART3 module.The Atmel serial driver(Linux) supports without any problems.
I want to use PC24->TXD3 and PC25->RXD3 in my custom board with linux-2.6.30.

Please suggest me how to edit the Atmel serial driver(Linux) code ? or Where to edit ? So that it will support my custom board and USART3 shall work fine.

Thanks in Advance,

Thenral


Top
 Profile  
 
 Post subject: Re: How to change PIO used for USART3 in atmel_serial driver?
PostPosted: Fri Jun 03, 2011 11:07 am 
Offline

Joined: Thu Jan 06, 2011 11:13 am
Posts: 31
Hi Thenral,

You don't have to modify the code of the serial driver. The driver is generic, here the changes you want to do are platform specific so you have to see into the arch/arm/mach-at91 folder to find where to do these changes.

So I think you have to edit the configure_usart3_pins function into at91sam9260_devices.c in order to change pio used.


Ludovic


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: