SAM3X8E Atmel Corporation, SAM3X8E Datasheet - Page 1136

no-image

SAM3X8E

Manufacturer Part Number
SAM3X8E
Description
Manufacturer
Atmel Corporation
Datasheets
• CURRBK: Current Bank
This bit is set for non-control endpoints, to indicate the current bank:
This field may be updated one clock cycle after the RWALL bit changes, so the user should not poll this field as an interrupt
bit.
• NBUSYBK: Number of Busy Banks
This field is set to indicate the number of busy banks:
For IN endpoints, it indicates the number of banks filled by the user and ready for IN transfer. When all banks are free, this
triggers a PEP_x interrupt if NBUSYBKE is one.
For OUT endpoints, it indicates the number of banks filled by OUT transactions from the host. When all banks are busy,
this triggers a PEP_x interrupt if NBUSYBKE is one.
When the UOTGHS_DEVEPTIMRx.FIFOCON bit is cleared (by writing a one to the UOTGHS_DEVEPTIMRx.FIFOCONC
bit) to validate a new bank, this field is updated two or three clock cycles later to calculate the address of the next bank.
A PEP_x interrupt is triggered if:
• ERRORTRANS: High-bandwidth isochronous OUT endpoint transaction error Interrupt
This bit is set when a transaction error occurs during the current micro-frame (the data toggle sequencing does not respect
the USB 2.0 standard). This triggers a PEP_x interrupt if UOTGHS_DEVEPTIMRx.ERRORTRANSE is one.
This bit is set as long as the current bank (CURRBK) belongs to the bad n-transactions (n=1,2 or 3) transferred during the
micro-frame. Shall be cleared by software by clearing (at least once) the UOTGHS_DEVEPTIMRx.FIFOCON bit to switch
to the bank that belongs to the next n-transactions (next micro-frame).
1136
1136
• for IN endpoint, UOTGHS_DEVEPTIMRx.NBUSYBKE is one and all the banks are free.
• for OUT endpoint, UOTGHS_DEVEPTIMRx.NBUSYBKE is one and all the banks are busy.
Value
Value
0
1
2
3
0
1
2
3
SAM3X/A
SAM3X/A
0_BUSY
1_BUSY
2_BUSY
3_BUSY
Name
BANK0
BANK1
BANK2
Name
Description
0 busy bank (all banks free)
1 busy bank
2 busy banks
3 busy banks
Description
Current bank is bank0
Current bank is bank1
Current bank is bank2
Reserved
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12

Related parts for SAM3X8E