Atmel website | ARM Community | Touch Technologies | 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: Adding DCD to USART1 on AT91SAM9G20
PostPosted: Wed Mar 10, 2010 7:35 pm 
Offline

Joined: Sun Mar 07, 2010 1:56 pm
Posts: 8
Hi all,

I am trying to add DCD capability to USART2.
In the datasheet it is mentioned that only USART0 have such capability.

Does the DCD in USART0 is connected to some specific hardware implementaion on the processor, or is it a regular GPIO which is being used by the serial driver as the DCD?


Thanks,
Amit


Top
 Profile  
 
 Post subject: Re: Adding DCD to USART1 on AT91SAM9G20
PostPosted: Fri Mar 12, 2010 12:03 am 
Offline

Joined: Tue Aug 21, 2007 8:42 pm
Posts: 25
Location: Alberta, Canada
First post didn't work - try again:

Looking at the serial driver atmel_serial.c it looks like it relies on the USART registers for modem control so DCD won't work with anything but USART0. You could add a GPIO but you'd need to modify the driver to support it for all applications using the port. Either that or add custom support to your application if it the only one using the serial port that way.


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: