SAM3A4C Atmel Corporation, SAM3A4C Datasheet - Page 1083
SAM3A4C
Manufacturer Part Number
SAM3A4C
Description
Manufacturer
Atmel Corporation
- Current page: 1083 of 1465
- Download datasheet (26Mb)
39.5.2.6
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12
Address Setup
Figure 39-13. Endpoint Activation Algorithm
As long as the endpoint is not correctly configured (UOTGHS_HSTPIPISRx.CFGOK is zero),
the controller does not acknowledge the packets sent by the host to this endpoint.
The UOTGHS_HSTPIPISRx.CFGOK bit is set provided that the configured size and number of
banks are correct as compared to the endpoint maximal allowed values (see
1067) and to the maximal FIFO size (i.e. the DPRAM size).
See
The USB device address is set up according to the USB protocol.
Once the USB device address is configured, the controller filters the packets to only accept
those targeting the address stored in UOTGHS_DEVCTRL.UADD.
UOTGHS_DEVCTRL.UADD and UOTGHS_DEVCTRL.ADDEN shall not be written all at once.
UOTGHS_DEVCTRL.UADD and UOTGHS_DEVCTRL.ADDEN are cleared:
When UOTGHS_DEVCTRL.UADD or UOTGHS_DEVCTRL.ADDEN is cleared, the default
device address 0 is used.
• After all kinds of resets, the USB device address is 0.
• The host starts a SETUP transaction with a SET_ADDRESS (addr) request.
• The user writes this address to the USB Address (UOTGHS_DEVCTRL.UADD) field, and
• The user sends a zero-length IN packet from the control endpoint.
• The user enables the recorded USB device address by writing a one to
• on a hardware reset,
• when the UOTGHS is disabled (UOTGHS_CTRL.USBE written to zero),
• when a USB reset is detected.
writes a zero to the Address Enable (UOTGHS_DEVCTRL.ADDEN) bit, so the actual
address is still 0.
UOTGHS_DEVCTRL.ADDEN.
Section 39.5.1.6
UOTGHS_HSTPIPISRx.CFCFGOK
UOTGHS_DEVEPT.EPENx = 1
UOTGHS_DEVEPTCFGx
Yes
Activation
Activated
Endpoint
Endpoint
.EPTYPE
.EPDIR
.EPSIZE
.EPBK
.ALLOC
for more details about DPRAM management.
== 1?
No
ERROR
Enable the endpoint.
Configure the endpoint:
Allocate the configured DPRAM banks.
Test if the endpoint configuration is correct.
-
-
-
-
type
direction
size
number of banks
Table 39-1 on page
SAM3X/A
SAM3X/A
1083
1083
Related parts for SAM3A4C
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
AT91SAM ARM-based Flash MCU
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: