R8A66597BG RENESAS [Renesas Technology Corp], R8A66597BG Datasheet - Page 90

no-image

R8A66597BG

Manufacturer Part Number
R8A66597BG
Description
ASSP (USB2.0 2 Port Host/1 Port Peripheral Controller)
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R8A66597BG
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
R8A66597BG
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
R8A66597BG#DF1S
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8A66597FP/DFP/BG
Remarks
* The default value of the MXPS bit is "0x00" when the PIPESEL register PIPESEL pipe is not selected, and "0x40" when
selected.
2.16.11 Device select bit (DEVSEL)
2.16.12 Maximum packet size bit (MXPS)
R e v 1 . 0 1
♦ Pipe maximum packet size register [PIPEMAXP]
15-12
10-0
Bit
11
15
0
-
DEVSEL
Device select
Unassigned. Fix to "0".
MXPS
Maximum packet size
When the Host Controller function is selected, set the USB device address of the communication partner in this bit.
Before write to this bit, the DEVADDx register corresponding to the setup value of this bit is written to. For example,
write to the DEVADD2 address of the H'D4 address in order to write "DEVSEL=0010".
Not write to this bit except when "CSSTS=0" and "PID=NAK". To modify this bit after changing the PID bit of the pipe
from "BUF" to "NAK", check that "CSSTS=0" and "PBUSY=0", and then modify the bit. However, when the controller
has modified the PID bit to "NAK", it is not necessary to check the PBUSY bit.
When the Peripheral Controller function is selected, write "0000" to this bit.
In this bit, write the maximum data payload (maximum packet size) of the selected pipe. For Pipe1 and Pipe2, the
value from 1 byte (0x1) to 1024 bytes (0x400) can be written. For Pipe3 to Pipe5, values of 8 bytes (0x8), 16 bytes
(0x10), 32 bytes (0x20), 64 bytes (0x40) and 512 bytes (0x200) can be written (the [2:0] bit does not exist). For Pipe6
to Pipe9, values from 1 byte (0x1) to 64 bytes (0x40) can be written.
The default value is 0x40 (64 bytes).
In the MXPS bit, write the values based on the USB Specification Revision 2.0 for each transfer type. While
transmitting isochronous pipe in Split-Transaction, write the value to less than 188 bytes in the MXPS bit. Not write the
MXPS bit except when "CSSTS=0", "PID=NAK" and values are not set in the CURPIPE bit. To modify this bit after
chenging the PID bit of the pipe from "BUF" to "NAK", check that "CSSTS=0" and "PBUSY=0", and modify the bit.
However, when the controller has modified the PID bit to "NAK", it is not necessary to check the PBUSY bit.
When "MXPS=0", do not write anything in the FIFO buffer and do not write "PID=BUF".
14
0
DEVSEL
-
O c t 1 7 , 2 0 0 8
Name
13
0
-
12
0
-
p a g e 9 0 o f 1 8 3
Specifies the device address of the Peripheral when the Host
Controller function is selected.
0000:Address"0000"
0001:Address"0001"
...
1001:Address"1001"
1010:Address"1010"
1011 – 1111: Reserved
Specifies maximum data payload (maximum packet size) of
the pipe.
Pipe6 – Pipe9 can be written from 0x1 to 0x40 bytes.
11
?
?
10
0
-
9
0
-
Function
8
0
-
7
0
-
0(1)
6
-
MXPS
5
0
-
4
0
-
Software Hardware
R/W
R/W
3
0
-
2
0
-
R
R
<Address: 6CH>
0
1
(Write all "0"
-
Remarks
when P)
H
0
0
-

Related parts for R8A66597BG