Atmel SAM4S-XPLD Atmel ATSAM4S-XPLD ATSAM4S-XPLD Hoja De Datos

Los códigos de productos
ATSAM4S-XPLD
Descargar
Página de 1125
 943
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
Warning: Read, write operations to the UDP registers are allowed only if MCK is enabled for the UDP peripheral.
Switching off MCK for the UDP peripheral must be one of the last operations after writing to the UDP_TXVC and
acknowledging the RXSUSP.
39.6.3.7 Receiving a Host Resume
In suspend mode, a resume event on the USB bus line is detected asynchronously, transceiver and clocks are disabled
(however the pull-up shall not be removed).
Once the resume is detected on the bus, the WAKEUP signal in the UDP_ISR is set. It may generate an interrupt if the
corresponding bit in the UDP_IMR register is set. This interrupt may be used to wake up the core, enable PLL and main
oscillators and configure clocks. 
Warning: Read, write operations to the UDP registers are allowed only if MCK is enabled for the UDP peripheral. MCK
for the UDP must be enabled before clearing the WAKEUP bit in the UDP_ICR register and clearing TXVDIS in the
UDP_TXVC register.
39.6.3.8 Sending a Device Remote Wake-up
In Suspend state it is possible to wake up the host sending an external resume. 
The device must wait at least 5 ms after being entered in suspend before sending an external resume.
The device has 10 ms from the moment it starts to drain current and it forces a K state to resume the host.
The device must force a K state from 1 to 15 ms to resume the host
Before sending a K state to the host, MCK, UDPCK and the transceiver must be enabled. Then to enable the remote
wake-up feature, the RMWUPE bit in the UDP_GLB_STAT register must be enabled. To force the K state on the line, a
transition of the ESR bit from 0 to 1 has to be done in the UDP_GLB_STAT register. This transition must be
accomplished by first writing a 0 in the ESR bit and then writing a 1. 
The K state is automatically generated and released according to the USB 2.0 specification.