English
Language : 

SAM7X128_14 Datasheet, PDF (429/662 Pages) ATMEL Corporation – ARM-based Flash MCU
34. USB Device Port (UDP)
34.1 Overview
The USB Device Port (UDP) is compliant with the Universal Serial Bus (USB) V2.0 full-speed device specification.
Each endpoint can be configured in one of several USB transfer types. It can be associated with one or two banks of a
dual-port RAM used to store the current data payload. If two banks are used, one DPR bank is read or written by the
processor, while the other is read or written by the USB device peripheral. This feature is mandatory for isochronous
endpoints. Thus the device maintains the maximum bandwidth (1M bytes/s) by working with endpoints with two banks of
DPR.
Table 34-1. USB Endpoint Description
Endpoint Number
Mnemonic
Dual-Bank(1)
Max. Endpoint Size
Endpoint Type
0
EP0
No
8
Control/Bulk/Interrupt
1
EP1
Yes
64
Bulk/Iso/Interrupt
2
EP2
Yes
64
Bulk/Iso/Interrupt
3
EP3
No
64
Control/Bulk/Interrupt
4
EP4
Yes
256
Bulk/Iso/Interrupt
5
EP5
Yes
256
Bulk/Iso/Interrupt
Note: 1. The Dual-Bank function provides two banks for an endpoint. This feature is used for ping-pong mode.
Suspend and resume are automatically detected by the USB device, which notifies the processor by raising an interrupt.
Depending on the product, an external signal can be used to send a wake up to the USB host controller.
34.2 Block Diagram
Figure 34-1. Block Diagram
Atmel Bridge
APB
to
MCU
Bus
MCK
U
s
UDPCK
e
r
I
n
t
e
r
f
udp_int
a
c
e
external_resume
USB Device
W
W
r
Dual
r
Serial
a
Port
a
Interface
p
RAM
p
Engine
p
p
e
r
FIFO
e
r 12 MHz
SIE
Master Clock
Domain
Suspend/Resume Logic
Recovered 12 MHz
Domain
txoen
eopn
txd
DP
Embedded
rxdm
USB
Transceiver
DM
rxd
rxdp
SAM7X Series [DATASHEET]
6120K–ATARM–11-Feb-14
429