at91rm3400 ATMEL Corporation, at91rm3400 Datasheet - Page 413
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
at91rm3400
Manufacturer Part Number
at91rm3400
Description
Atmel Advanced At91 Arm Microcontroller
Manufacturer
ATMEL Corporation
Datasheet
1.AT91RM3400.pdf
(461 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 413 of 461
- Download datasheet (7Mb)
From Powered State to
Default State
From Default State to
Address State
From Address State to
Configured State
Enabling Suspend
Receiving a Host
Resume
Sending an External
Resume
1790A–ATARM–11/03
After its connection to a USB host, the USB device waits for an end-of-bus reset. The USB
host stops driving a reset state once it has detected the device’s pull-up on DP. The unmasked
flag ENDBURST is set in the register UDP_ISR and an interrupt is triggered. The UDP soft-
ware enables the default endpoint, setting the EPEDS flag in the UDP_CSR[0] register and,
optionally, enabling the interrupt for endpoint 0 by writing 1 to the UDP_IER register. The enu-
meration then begins by a control transfer.
After a set address standard device request, the USB host peripheral enters the address state.
Before this, it achieves the Status IN transaction of the control transfer, i.e., the UDP device
sets its new address once the TXCOMP flag in the UDP_CSR[0] register has been received
and cleared.
T o m o v e t o a d d r e s s s t a t e , t h e d r i v e r s o f t w a r e s e t s t h e F A D D E N f l a g i n t h e
UDP_GLB_STATE, sets its new address, and sets the FEN bit in the UDP_FADDR register.
Once a valid Set Configuration standard request has been received and acknowledged, the
device enables endpoints corresponding to the current configuration. This is done by setting
the EPEDS and EPTYPE fields in the UDP_CSRx registers and, optionally, enabling corre-
sponding interrupts in the UDP_IER register.
When a Suspend (no bus activity on the USB bus) is detected, the RXSUSP signal in the
UDP_ISR register is set. This triggers an interrupt if the corresponding bit is set in the
UDP_IMR register.
This flag is cleared by writing to the UDP_ICR register. Then the device enters Suspend
Mode. As an example, the microcontroller switches to slow clock, disables the PLL and main
oscillator, and goes into Idle Mode. It may also switch off other devices on the board.
The USB device peripheral clocks may be switched off. However, the transceiver and the USB
peripheral must not be switched off, otherwise the resume is not detected.
In suspend mode, the USB transceiver and the USB peripheral must be powered to detect the
RESUME. However, the USB device peripheral may not be clocked as the WAKEUP signal is
asynchronous.
Once the resume is detected on the bus, the signal WAKEUP 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. The
WAKEUP bit must be cleared as soon as possible by setting WAKEUP in the UDP_ICR
register.
The External Resume is negotiated with the host and enabled by setting the ESR bit in the
USB_GLB_STATE. An asynchronous event on the ext_resume_pin of the peripheral gener-
ates a WAKEUP interrupt. On early versions of the USP peripheral, the K-state on the USB
line is generated immediately. This means that the USB device must be able to answer to the
host very quickly. On recent versions, the software sets the RMWUPE bit in the
UDP_GLB_STATE register once it is ready to communicate with the host. The K-state on the
bus is then generated.
The WAKEUP bit must be cleared as soon as possible by setting WAKEUP in the UDP_ICR
register.
AT91RM3400
413
Related parts for at91rm3400
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AT91SAM7X256-AU-001](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AT91 ARM Thumb-based Microcontrollers
Manufacturer:
ATMEL Corporation
Datasheet:
![AT91SAM7S256](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AT91 ARM THUMB-BASED MICROCONTROLLERS
Manufacturer:
ATMEL Corporation
Datasheet:
![AT91SAM7X512](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AT91 ARM Thumb-based Microcontrollers
Manufacturer:
ATMEL Corporation
Datasheet:
![AT91MEC01](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
AT91 MEMORY EXTENSION CARD
Manufacturer:
Atmel
Datasheet:
![AT91EB40](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
AT91 ARM X40 SERIES EVAL KIT
Manufacturer:
Atmel
Datasheet:
![AT91SAM7XC512](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
At91 Arm Thumb-based Microcontrollers
Manufacturer:
ATMEL Corporation
Datasheet:
![AT91SAM9M10](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
At91 Arm Thumb-based Microcontrollers
Manufacturer:
ATMEL Corporation
Datasheet:
![AT91F40416](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
At91 Arm(r) Thumb(r) Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
![AT91M40807](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
At91 Arm(r) Thumb(r) Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
![AT91FR40162SB](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
AT91 ARM Thumb-based Microcontrollers
Manufacturer:
ATMEL
Datasheet:
![U641B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
![U4082B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
![U4255BM-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet: