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

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
2.18.3 Transaction counter bit (TRNCNT)
R e v 1 . 0 1
♦ Pipe1 transaction counter register [PIPE1TRN]
♦ Pipe2 transaction counter register [PIPE2TRN]
♦ Pipe3 transaction counter register [PIPE3TRN
♦ Pipe4 transaction counter register [PIPE4TRN]
♦ Pipe5 transaction counter register [PIPE5TRN]
15-0
Bit
15
0
-
TRNCNT
Transaction counter
For the reception pipe, after the total number of packets is written to this bit using the software, if "1" is written to the
TRENB bit, the controller executes the control mentioned in 2.18.1. If "TRENB=0", the controller shows the number of
transaction written by the software to this bit. If "TRENB=1", the controller shows the number of transaction in the count
in this bit.
The controller increases the TRNCNT bit by one, when the following conditions are fulfilled in the status at the time of
reception:
When the controller fulfills one of the following conditions ((1) - (3)), the TRNCNT bit is cleared to "0".
(1) When all the following conditions are fulfilled:
(2) When both of the following conditions are fulfilled:
(3) When both of the following conditions are fulfilled:
For the transmission pipe, write "0" to this bit. When the transaction count function is not used, write "0" to this bit. This
bit can be modified when "CSSTS=0", "PID=NAK" and "TRENB=0". To modify this bit after modifying the pipe PID bit
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 modifying the bit value, write
"TRCLR=1" before writing "TRENB=1".
14
0
-
(a) "TRENB=1"
(b) (TRCNT written value ≠ current number of transaction +1) while receiving the packet
(c) The payload of the received packet matches the written value of the MXPS bit
(a) "TRENB=1"
(b) While receiving the packet (TRCNT setup value = current value +1)
(c) The payload of the received packet matches with the setup value of MXPS bit
(a) "TRENB=1"
(b) A short packet is received
(a) "TRENB=1"
(b) When the software writes "1" to the TRCLR bit
O c t 1 7 , 2 0 0 8
Name
13
0
-
12
0
-
Transaction counter
If Write: Specifies the total number of reception packets (number
of transactions) to be received by the selected PIPE.
If Read:
If "TRENB=0": Displays the written transaction counter
If "TRENB=1": Displays the transaction counter during the
count
p a g e 1 0 5 o f 1 8 3
11
0
-
10
0
-
9
0
-
Function
8
TRNCNT
0
-
7
0
-
6
0
-
5
0
-
4
0
-
Software Hardware Remarks
3
0
R/W
-
2
0
-
R/W
<Address: 9AH>
<Address: 9EH>
<Address: A2H>
<Address: 92H>
<Address: 96H>
1
0
-
0
0
-

Related parts for R8A66597BG