Atmel Evaluation Kit for AT32uC3A0512, 32-Bit AVR Microcontroller Atmel ATEVK1105 ATEVK1105 Data Sheet

Product codes
ATEVK1105
Page of 826
511
AT32UC3A
30.7.2
USB Device Operation
30.7.2.1
Introduction
In device mode, the USB controller supports  full- and low-speed data transfers.
In addition to the default control endpoint, six endpoints are provided, which can be configured
with the types isochronous, bulk or interrupt, as described in 
The device mode starts in the Idle state, so the pad consumption is reduced to the minimum.
30.7.2.2
Power-On and Reset
describes the USB controller device mode main states.
Figure 30-13.
Device Mode States
After a hardware reset, the USB controller device mode is in the Reset state. In this state:
•the macro clock is stopped in order to minimize power consumption (FRZCLK = 1);
•the internal registers of the device mode are reset;
•the endpoint banks are de-allocated;
•neither D+ nor D- is pulled up (DETACH = 1).
D+ or D- will be pulled up according to the selected speed as soon as the DETACH bit is cleared
and VBus is present. See 
for further details.
When the USB macro is enabled (USBE = 1) in device mode (ID = 1), its device mode state
goes to the Idle state with minimal power consumption. This does not require the USB clock to
be activated.
The USB controller device mode can be disabled and reset at any time by disabling the USB
macro (USBE = 0) or when host mode is engaged (ID = 0).
30.7.2.3
USB Reset
The USB bus reset is managed by hardware. It is initiated by a connected host.
When a USB reset is detected on the USB line, the following operations are performed by the
controller:
•all the endpoints are disabled, except the default control endpoint;
•the default control endpoint is reset (see 
for more details);
•the data toggle sequence of the default control endpoint is cleared;
•at the end of the reset process, the End of Reset interrupt (EORST) is raised.
Reset
Idle
   HW
RESET
  USBE = 0
| ID = 0
<any
other
state>
  USBE = 0
| ID = 0
   USBE = 1
& ID = 1
32058K
AVR32-01/12