44.4.1.8 USB Error Interrupt Status Register
Note:
- This type of error occurs when the module’s request for the DMA bus is not granted in time to service the module’s demand for memory, resulting in an overflow or underflow condition, and/or the allocated buffer size is not sufficient to store the received data packet causing it to be truncated.
- This type of error occurs when more than 16-bit-times of Idle from the previous End-of-Packet (EOP) has elapsed.
- This type of error occurs when the module is transmitting or receiving data and the SOF counter has reached zero.
| Name: | UEIR |
| Offset: | 0x4220 |
| Reset: | 0x0 |
| Property: | - |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| Access | |||||||||
| Reset |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| Access | |||||||||
| Reset |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| Access | |||||||||
| Reset |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| BTSEF | BMXEF | DMAEF | BTOEF | DFN8EF | CRC16EF | PIDEF | |||
| Access | R/K | R/K | R/K | R/K | R/K | R/K | R/K | ||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 7 – BTSEF Bit Stuff Error Flag bit
Write a ‘1’ to this bit to clear the interrupt.
| Value | Description |
|---|---|
| 1 | Packet is rejected due to a bit stuff error |
| 0 | Packet is accepted |
Bit 6 – BMXEF Bus Matrix Error Flag bit
Write a ‘1’ to this bit to clear the interrupt.
| Value | Description |
|---|---|
| 1 | The base address of the BDT or the address of an individual buffer pointed to by a BDT entry, is invalid. |
| 0 | No address error |
Bit 5 – DMAEF DMA Error Flag bit(1)
Write a ‘1’ to this bit to clear the interrupt.
| Value | Description |
|---|---|
| 1 | USB DMA error condition detected |
| 0 | No DMA error |
Bit 4 – BTOEF Bus Turnaround Time-Out Error Flag bit(2)
Write a ‘1’ to this bit to clear the interrupt.
| Value | Description |
|---|---|
| 1 | Bus turnaround time-out has occurred |
| 0 | No bus turnaround time-out |
Bit 3 – DFN8EF Data Field Size Error Flag bit
Write a ‘1’ to this bit to clear the interrupt.
| Value | Description |
|---|---|
| 1 | Data field received is not an integral number of bytes |
| 0 | Data field received is an integral number of bytes |
Bit 2 – CRC16EF CRC16 Failure Flag bit
Write a ‘1’ to this bit to clear the interrupt.
| Value | Description |
|---|---|
| 1 | Data packet rejected due to CRC16 error |
| 0 | Data packet accepted |
Bit 2 – CRC5EF/EOFEF CRC5EF: CRC5 Host Error Flag bit (Device mode)(3) EOFEF: EOF Error Flag bit (Host mode)
Write a ‘1’ to this bit to clear the interrupt.
| Value | Description |
|---|---|
| 1 | CRC5EF: Peripheral detachment was detected by the USB
OTG module EOFEF: EOF error condition detected |
| 0 | CRC5EF: Peripheral detachment was not
detected EOFEF: No EOF error condition |
Bit 0 – PIDEF PID Check Failure Flag bit
Write a ‘1’ to this bit to clear the interrupt.
| Value | Description |
|---|---|
| 1 | PID check failed |
| 0 | PID check passed |
