EasyManua.ls Logo

NXP Semiconductors K22F series - Memory Map;Register Definitions

NXP Semiconductors K22F series
1407 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NAKing the packet can result in retransmission of the already oversized packet data.
Therefore, in response to oversized packets, the USB core continues ACKing the packet
for non-isochronous transfers.
Table 43-6. USB responses to DMA overrun errors
Errors due to Memory Latency Errors due to Oversized Packets
Non-Acknowledgment (NAK) or Bus Timeout (BTO) — See
bit 4 in "Error Interrupt Status Register (ERRSTAT)" as
appropriate for the class of transaction.
Continues acknowledging (ACKing) the packet for non-
isochronous transfers.
The data written to memory is clipped to the MaxPacket size
so as not to corrupt system memory.
The DMAERR bit is set in the ERRSTAT register for host and
device modes of operation. Depending on the values of the
INTENB and ERRENB register, the core may assert an
interrupt to notify the processor of the DMA error.
Asserts ERRSTAT[DMAERR] ,which can trigger an interrupt
and TOKDNE interrupt fires. Note: The TOK_PID field of the
BDT is not 1111 because the DMAERR is not due to latency.
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.
43.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 43.4.1/1084
4007_2004 Peripheral ID Complement register (USB0_IDCOMP) 8 R FBh 43.4.2/1085
4007_2008 Peripheral Revision register (USB0_REV) 8 R 33h 43.4.3/1085
4007_200C Peripheral Additional Info register (USB0_ADDINFO) 8 R 01h 43.4.4/1086
4007_2010 OTG Interrupt Status register (USB0_OTGISTAT) 8 R/W 00h 43.4.5/1086
4007_2014 OTG Interrupt Control register (USB0_OTGICR) 8 R/W 00h 43.4.6/1087
4007_2018 OTG Status register (USB0_OTGSTAT) 8 R/W 00h 43.4.7/1088
4007_201C OTG Control register (USB0_OTGCTL) 8 R/W 00h 43.4.8/1089
4007_2080 Interrupt Status register (USB0_ISTAT) 8 R/W 00h 43.4.9/1090
Table continues on the next page...
Memory map/Register definitions
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
1082 NXP Semiconductors

Table of Contents

Related product manuals