Re: at91sam9260 wakeup on serial port

2008-01-30 Thread Haavard Skinnemoen
On Wed, 30 Jan 2008 10:56:12 -0800 David Brownell <[EMAIL PROTECTED]> wrote: > On Wednesday 30 January 2008, Haavard Skinnemoen wrote: > > Yeah, although the nasty thing about UARTs is that you never know when > > DMA really is idle. > > If the UART isn't open, its DMA should be inactive. :) > >

Re: at91sam9260 wakeup on serial port

2008-01-30 Thread David Brownell
On Wednesday 30 January 2008, Haavard Skinnemoen wrote: > On Tue, 29 Jan 2008 19:44:53 -0800 > David Brownell <[EMAIL PROTECTED]> wrote: > > > On Monday 28 January 2008, Haavard Skinnemoen wrote: > > > > > > > What will AVR32 (AP7) need to do, when it supports system sleep states? > > > > > > No

Re: at91sam9260 wakeup on serial port

2008-01-30 Thread Haavard Skinnemoen
On Tue, 29 Jan 2008 19:44:53 -0800 David Brownell <[EMAIL PROTECTED]> wrote: > On Monday 28 January 2008, Haavard Skinnemoen wrote: > > > > > What will AVR32 (AP7) need to do, when it supports system sleep states? > > > > Not sure. The PIOs seem to require a clock in order to detect a pin > > ch

Re: at91sam9260 wakeup on serial port

2008-01-29 Thread David Brownell
On Monday 28 January 2008, Haavard Skinnemoen wrote: > > > What will AVR32 (AP7) need to do, when it supports system sleep states? > > Not sure. The PIOs seem to require a clock in order to detect a pin > change, so I don't think we can enter very deep sleep states if we want > to be woken up by

Re: at91sam9260 wakeup on serial port

2008-01-29 Thread michael
Hi, On Mon, 28 Jan 2008 10:21:57 -0800 David Brownell <[EMAIL PROTECTED]> wrote: There's a separate WAKE_N pin that is completely asynchronous, so with some external logic, we can probably wake up the CPU all the way from Static mode if a given input state is present. But that's definitely "boar

Re: at91sam9260 wakeup on serial port

2008-01-28 Thread trimarchi
Hi, > On Monday 28 January 2008, Haavard Skinnemoen wrote: >> On Mon, 28 Jan 2008 12:15:00 +0100 >> michael <[EMAIL PROTECTED]> wrote: >> >> > Hi, >> > I implement a little patch (ndr just for a try) for the atmel serial >> > driver atmel_serial.c to wakeup the system when it is in suspend-ram >> s

Re: at91sam9260 wakeup on serial port

2008-01-28 Thread Haavard Skinnemoen
On Mon, 28 Jan 2008 10:21:57 -0800 David Brownell <[EMAIL PROTECTED]> wrote: > What will AVR32 (AP7) need to do, when it supports system sleep states? Not sure. The PIOs seem to require a clock in order to detect a pin change, so I don't think we can enter very deep sleep states if we want to be

Re: at91sam9260 wakeup on serial port

2008-01-28 Thread David Brownell
On Monday 28 January 2008, Haavard Skinnemoen wrote: > On Mon, 28 Jan 2008 12:15:00 +0100 > michael <[EMAIL PROTECTED]> wrote: > > > Hi, > > I implement a little patch (ndr just for a try) for the atmel serial > > driver atmel_serial.c to wakeup the system when it is in suspend-ram state. > > I r

Re: at91sam9260 wakeup on serial port

2008-01-28 Thread Haavard Skinnemoen
On Mon, 28 Jan 2008 12:15:00 +0100 michael <[EMAIL PROTECTED]> wrote: > Hi, > I implement a little patch (ndr just for a try) for the atmel serial > driver atmel_serial.c to wakeup the system when it is in suspend-ram state. > I reconfigure the RXD pin as a gpio in suspend function and restore it

at91sam9260 wakeup on serial port

2008-01-28 Thread michael
Hi, I implement a little patch (ndr just for a try) for the atmel serial driver atmel_serial.c to wakeup the system when it is in suspend-ram state. I reconfigure the RXD pin as a gpio in suspend function and restore it in the resume function. It is the correct way? Regards Michael -- To unsu