Table 35-5. USB responses to DMA overrun errors (continued)
Errors due to Memory Latency Errors due to Oversized Packets
• For host mode, the TOKDNE interrupt is generated and
the TOK_PID field of the BDT is 1111 to indicate the
DMA latency error. Host mode software can decide to
retry or move to next scheduled item.
• In device mode, the BDT is not written back nor is the
TOKDNE interrupt triggered because it is assumed that
a second attempt is queued and will succeed in the
future.
The packet length field written back to the BDT is the
MaxPacket value that represents the length of the clipped
data actually written to memory.
From here, the software can decide an appropriate course of action for future transactions such as stalling the endpoint,
canceling the transfer, disabling the endpoint, etc.
35.4 Memory map/Register definitions
This section provides the memory map and detailed descriptions of all USB interface
registers.
USB memory map
Absolute
address
(hex)
Register name
Width
(in bits)
Access Reset value
Section/
page
4007_2000 Peripheral ID register (USB0_PERID) 8 R 04h 35.4.1/623
4007_2004 Peripheral ID Complement register (USB0_IDCOMP) 8 R FBh 35.4.2/624
4007_2008 Peripheral Revision register (USB0_REV) 8 R 33h 35.4.3/624
4007_200C Peripheral Additional Info register (USB0_ADDINFO) 8 R 01h 35.4.4/625
4007_2010 OTG Interrupt Status register (USB0_OTGISTAT) 8 R/W 00h 35.4.5/625
4007_2014 OTG Interrupt Control Register (USB0_OTGICR) 8 R/W 00h 35.4.6/626
4007_2018 OTG Status register (USB0_OTGSTAT) 8 R/W 00h 35.4.7/627
4007_201C OTG Control register (USB0_OTGCTL) 8 R/W 00h 35.4.8/628
4007_2080 Interrupt Status register (USB0_ISTAT) 8 R/W 00h 35.4.9/629
4007_2084 Interrupt Enable register (USB0_INTEN) 8 R/W 00h
35.4.10/
630
4007_2088 Error Interrupt Status register (USB0_ERRSTAT) 8 R/W 00h
35.4.11/
631
4007_208C Error Interrupt Enable register (USB0_ERREN) 8 R/W 00h
35.4.12/
632
4007_2090 Status register (USB0_STAT) 8 R 00h
35.4.13/
633
4007_2094 Control register (USB0_CTL) 8 R/W 00h
35.4.14/
634
4007_2098 Address register (USB0_ADDR) 8 R/W 00h
35.4.15/
635
Table continues on the next page...
Chapter 35 Universal Serial Bus OTG Controller (USBOTG)
KL25 Sub-Family Reference Manual, Rev. 3, September 2012
Freescale Semiconductor, Inc. 621