Section 26 USB 2.0 Host/Function Module
Page 1440 of 2108 R01UH0134EJ0400 Rev. 4.00
Sep 24, 2014
SH7262 Group, SH7264 Group
Bit Bit Name
Initial
Value R/W Description
10 to 0 MXPS[10:0] * R/W Maximum Packet Size
Specifies the maximum data payload (maximum
packet size) for the selected pipe. The valid value for
these bits depends on the pipe as follows.
PIPE1, PIPE2: 1 byte (H'001) to 1,024 bytes
(H'400)
PIPE3 to PIPE5: 8 bytes (H'008), 16 bytes
(H'010), 32 bytes (H'020),
64 bytes (H'040), and
512 bytes (H'200) (Bits 2 to 0
are not provided.)
PIPE6 to PIPE9: 1 byte (H'001) to 64 bytes
(H'040)
These bits should be set to the appropriate value for
each transfer type based on the USB Specification.
For split transactions using the isochronous pipe,
these bits should be set to 188 bytes or less.
Modify these bits when the value of CSSTS is 0, the
PID bits are set to NAK, and no pipe is specified by
the CURPIPE bits.
Before modifying these bits after modifying the PID
bits for the selected pipe from BUF to NAK, check
that CSSTS and PBUSY are 0. However, if the PID
bits have been modified to NAK by this module,
checking PBUSY is not necessary.
While MXPS is 0, do not write to the FIFO buffer or
set PID to BUF.
Note: * The initial value of MXPS is H'000 when no pipe is selected with the PIPESEL bits in
PIPESEL and H'040 when a pipe is selected with the PIPESEL bit in PIPESEL.