MAX32665-MAX32668 User Guide
Maxim Integrated Page 417 of 457
21.12.3 USBHS IN Endpoint Maximum Packet Size Registers
Endpoints 1 to 11 have a memory mapped version of this register selected using the USBHS_INDEX register.
Table 21-18: USBHS IN Endpoint Maximum Packet Size Register
USBHS IN Endpoint Maximum Packet Size
Number of Split Packets - 1
Defines the maximum number of packets minus 1 that a USB payload can be
split into. This must be an exact multiple of maxpacketsize.
The total number of bytes transferred in the payload is:
This must match the maxpacketsize field of the Standard Endpoint Descriptor for
the associated endpoint.
For HS High Bandwidth Isochronous endpoints, the multiplier can only be 2 or 3,
so this field can only be 0x01 or 0x02.
For Bulk endpoints, the max multiplier is 32, so the maximum value for this
register is 31 (0x1F).
Note: Only applicable for High-Speed (HS), High-Bandwidth Isochronous
endpoints, and Bulk endpoints. Ignored in all other cases.
Maximum Packet Size in a Single Transaction
This is the maximum packet size, in bytes, that is transmitted for each
microframe. The maximum value is 1024, subject to the limitations for the
endpoint type set in the USB 2.0 Specification, Chapter 9.
For Bulk Transfers: The USB 2.0 Specification requires this to be 8, 16, 32, or 64.
HS Bulk Transfer also supports 512.
21.12.4 USBHS IN Endpoint Lower Control and Status Registers
Endpoints 1 to 11 have a memory mapped version of this register selected using the USBHS_INDEX register.
Table 21-19: USBHS IN Endpoint Lower Control and Status Register
USBHS IN Endpoint Lower Control and Status
Read Incomplete Split Transfer Error Status
High-Bandwidth Isochronous transfers:
Automatically set when a payload is split into multiple packets but insufficient IN
tokens were received to send all packets. The current packet is flushed from the IN
FIFO. Write a 0 to clear.
Bulk and Interrupt Transfers:
Ignored.