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

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
None
2.15.5 Device select bit (DEVSEL)
2.15.6 Maximum packet size bit (MXPS)
R e v 1 . 0 1
♦ DCP maximum packet size register [DCPMAXP]
15-12
11-7 Unassigned. Fix to "0".
6-0
Bit
15
0
-
DEVSEL
Device select
MXPS
Maximum packet size
When the Host Controller function is selected, write to the USB device address of the communication partner in this bit.
Write to this bit after writing to the DEVADDx register corresponding to the setup value of this bit. For example, while
writing "DEVSEL=0010", write the DEVADD2 address of the H'D4 address.
Not write to this bit except when "CSSTS=0", "PID=NAK", and "SUREQ=0". To modify this bit after changing thePID bit
of the DCP from "BUF" to "NAK", check that "CSSTS=0" and "PBUSY=0" and then modify the bit. However, when the
controller modifies 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.
Write the maximum data payload of the DCP (maximum packet size) to this bit. 0x40 (64 bytes) is the default value.
Set the values according to the USB Specification Revision 2.0 while writing the MXPS bit. Not write to the MXPS bit
except when "CSSTS=0", "PID=NAK", and when the pipe in the CURPIPE bit is not written. To modify this bit after
changing the PID bit of the corresponding pipe from "BUF" to "NAK", check that "CSSTS=0" and "PBUSY=0", and then
modify the bit. However, when the controller modifies the PID bit to "NAK", it is not necessary to check the PBUSY bit.
When "MXPS=0" is written, do not write to the FIFO buffer or write "PID=BUF".
14
0
DEVSEL
-
O c t 1 7 , 2 0 0 8
Name
13
0
-
12
0
-
p a g e 7 7 o f 1 8 3
11
?
?
When the Host Controller function is selected,
specify the Peripheral device address of the
communication partner of control transfer.
0000: Address"0000"
0001: Address"0001"
...
1001: Address"1001"
1010: Address"1010"
1011-1111: Reserved
This specifies the maximum payload (maximum
packet size) for the DCP.
10
?
?
9
?
?
Function
8
?
?
7
?
?
6
1
-
5
0
-
Software
4
0
-
R/W
R/W
MXPS
3
0
-
Hardware
R
R
2
0
-
<Address: 5EH>
(Write all "0"
1
0
-
Remarks
when P)
H
0
0
-

Related parts for R8A66597BG