r8a66597 Renesas Electronics Corporation., r8a66597 Datasheet - Page 89
![no-image](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__sml.jpg)
r8a66597
Manufacturer Part Number
r8a66597
Description
Assp Usb2.0 2 Port Host/1 Port Peripheral Controller
Manufacturer
Renesas Electronics Corporation.
Datasheet
1.R8A66597.pdf
(185 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r8a66597BG
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Company:
Part Number:
r8a66597BG#DF1S
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
r8a66597FP
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Company:
Part Number:
r8a66597FPRF1S
Manufacturer:
CYPRESS
Quantity:
9 103
R8A66597FP/DFP/BG
Remarks
* Not modify each bit in the register except when the status of the software is "CSSTS=0", "PID=NAK" and the pipe is not set in
the CURPIPE bit.
* To modify each bit in the register after changing the PID bit of the selected 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.
2.16.9 Buffer size bit (BUFSIZE)
2.16.10 Buffer number bit (BUFNMB)
R e v 1 . 0 1
♦ Pipe buffer specification register [PIPEBUF]
14-10
9-8 Unassigned. Fix to "0".
7-0
Bit
15
15
?
?
Unassigned. Fix to "0".
BUFSIZE
Buffer size
BUFNMB
Buffer number
Block number: BUFNMB~block number: BUFNMB+(BUFSIZE+1)*(DBLB+1)-1
In this bit, write to the FIFO buffer size to be assigned to the pipe. It is measured in blocks, and one block is 64 bytes.
When the software has written "DBLB=1", the controller assigns two sides of the FIFO buffer specified by this bit for
the selected pipe. The size of the FIFO buffer that is assigned by the controller to the selected pipe is given below:
(BUFSIZE+1)*64*(DBLB+1) [Byte]
For this bit, set the values in the following range:
(1) When Pipe1 to Pipe5 are selected, the value from 0x0 to 0x1F can be written.
(2) When Pipe6 to Pipe9 are selected, only 0x0 can be written.
If writing "CNTMD=1", write the value of the integral multiple of the maximum packet size in the BUFSIZE bit.
Specify the first block number from the FIFO buffer to be assigned to the pipe. The block of the FIFO buffer assigned
for the selected pipe by the controller is given below:
For this bit, write the values within the range from 0 (0x00) to 8640 (0x87). However, observe the following conditions:
0x00-0x03 are exclusive to DCP.
0x04 is the dedicated Pipe6. However, when Pipe6 is not used, it can be used by other pipes. When the selected pipe
is Pipe6, write to this bit is disabled. The controller automatically assigns "BUFNMB=0x04" to Pipe6.
0x05 is the dedicated Pipe7. However, when Pipe7 is not used, it can be used by other pipes. When the selected pipe
is Pipe7, write to this bit is disabled. The controller automatically assigns "BUFNMB=0x05" to Pipe7.
0x06 is the dedicated Pipe8. However, when Pipe8 is not used, it can be used by other pipes. When the selected pipe
is Pipe8, write to this bit is disabled. The controller automatically assigns "BUFNMB=0x06" to Pipe8.
0x07 is the dedicated Pipe9. However, when Pipe9 is not used, it can be used by other pipes. When the selected pipe
is Pipe9, write to this bit is disabled. The controller automatically assigns "BUFNMB=0x07" to Pipe9.
14
0
-
O c t 1 7 , 2 0 0 8
Name
13
0
-
BUFSIZE
12
0
-
p a g e 8 9 o f 1 8 3
Specifies the FIFO buffer size of pipe specified in PIPESEL bit.
0x00: 64 bytes
0x01: 128 bytes
...
0x1F: 2Kbytes)
Specifies the pipe FIFO buffer number.
(0x4 - 0x87)
11
0
-
10
0
-
9
?
?
8
?
?
Function
7
0
-
6
0
-
5
0
-
4
0
-
BUFNMB
Software Hardware Remarks
3
0
R/W
R/W
-
2
0
-
<Address: 6AH>
R
R
1
0
-
0
0
-