AT32UC3C1512C Automotive Atmel Corporation, AT32UC3C1512C Automotive Datasheet - Page 885

no-image

AT32UC3C1512C Automotive

Manufacturer Part Number
AT32UC3C1512C Automotive
Description
Manufacturer
Atmel Corporation
32.6.2.14
9166C–AVR-08/11
Management of IN endpoints
• Overview
TXINI
FIFOCON
TXINI
FIFOCON
IN packets are sent by the USBC device controller upon IN requests from the host.
The endpoint and its descriptor in RAM must be pre configured (see section
ment” on page 880
When the current bank is clear, the TXINI and FIFO Control (UECONn.FIFOCON) bits will be set
simultaneously. This triggers an EPnINT interrupt if the Transmitted IN Data Interrupt Enable
(TXINE) bit in UECONn is one.
TXINI shall be cleared by software (by writing a one to the Transmitted IN Data Interrupt Enable
Clear bit in the Endpoint n Control Clear register (UECONnCLR.TXINIC)) to acknowledge the
interrupt. This has no effect on the endpoint FIFO.
The user writes the IN data to the bank referenced by the EPn descriptor and allows the USBC
to send the data by writing a one to the FIFO Control Clear (UECONnCLR.FIFOCONC) bit. This
will also cause a switch to the next bank if the IN endpoint is composed of multiple banks. The
TXINI and FIFOCON bits will be updated accordingly.
TXINI should always be cleared before clearing FIFOCON to avoid missing an TXINI event.
Figure 32-11. Example of an IN endpoint with one data bank
Figure 32-12. Example of an IN endpoint with two data banks
SW
write data to CPU
SW
write data to CPU
BANK 0
NAK
BANK 0
for more details).
SW
IN
SW
SW
IN
write data to CPU
BANK 1
(bank 0)
DATA
(bank 0)
DATA
SW
HW
ACK
HW
ACK
SW
write data to CPU
IN
SW
write data to CPU
BANK0
BANK 0
AT32UC3C
(bank 1)
DATA
”RAM manage-
SW
ACK
IN
885

Related parts for AT32UC3C1512C Automotive