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

Product codes
ATEVK1105
Page of 826
506
AT32UC3A
•the VBus Transition interrupt (VBUSTI);
•the Wake-Up interrupt (WAKEUP);
•the Host Wake-Up interrupt (HWUPI).
30.7.1.4.6
USB Suspend mode : 
In peripheral mode, the UDINT.SUSP bit indicates that the usb line is in the suspend mode. In
this case, the USB Data transceiver is automatically set in suspend mode to reduce the
consumption.
30.7.1.5
Speed Control
30.7.1.5.1
Device Mode
When the USB interface is in device mode, the speed selection (full-/low-speed) depends on
which of D+ and D- is pulled up. The LS bit allows to connect an internal pull-up resistor either
on D+ (full-speed mode) or on D- (low-speed mode). The LS bit should be configured before
attaching the device, what can be done by clearing the DETACH bit.
Figure 30-7.
Speed Selection in Device Mode
30.7.1.5.2
Host Mode
When the USB interface is in host mode, internal pull-down resistors are connected on both D+
and D- and the interface detects the speed of the connected device, which is reflected by the
SPEED bit-field.
30.7.1.6
DPRAM Management
Pipes and endpoints can only be allocated in ascending order (from the pipe/endpoint 0 to the
last pipe/endpoint to be allocated). The firmware shall therefore configure them in the same
order.
The allocation of a pipe/endpoint k
i
 starts when its ALLOC bit is set. Then, the hardware allo-
cates a memory area in the DPRAM and inserts it between the k
i-1
 and k
i+1
 pipes/endpoints. The
k
i+1
 pipe/endpoint memory window slides up and its data is lost. Note that the following pipe/end-
point memory windows (from k
i+2
) do not slide.
R
PU
UDCON.DETACH
D+
D-
UDCON.LS
VBUS
32058K
AVR32-01/12