TMP92CF30
2009-06-12
92CF30-396
(a-1) Transmission bulk mode
Below is the transaction format for bulk transfer during transmitting.
•
Token: IN
•
Data: DATA0/DATA1, NAK, STALL
•
Handshake: ACK
Control flow
Below is the control-flow when the UDC receive an IN token.
1. The token packet is received and the address endpoint number error is
confirmed, and it checks whether the relevant endpoint transfer mode
corresponds with the IN token. If it does not correspond, the state returns to
IDLE.
2. Condition of EPx_STATUS register is confirmed.
•
INVALID condition: State returns to IDLE.
•
STALL condition: Stall handshake is returned and state returns to IDLE.
FIFO condition is confirmed, if data number of 1 packet is not prepared, NAK
handshake is returned, and state returns to IDLE.
If data number of 1 packet is prepared to FIFO, it shifts to 3.
3. Data packet is generated.
Data packet generated by using toggle bit register in UDC.
Next, data is transferred from FIFO of internal UDC to SIE, and data packet is
generated. At this point, the confirms transferred data number is confirmed.
And if there is more than the maximum payload size of each endpoint, bit stuff
error is generated, transfer is finished and STATUS becomes STALL.
4. CRC bit (counted transfer data of FIFO from first to last) is attached to last.
5. When ACK handshake from host is received,
•
Clear FIFO.
•
Clear DATASET register.
•
Renew toggle bit, and prepare for next.
•
Set STATUS to READY.
UDC finishes normally. FIFO can receive the next data.
If a time out occurs without receiving ACK from host,
•
Set STATUS to TX_ERR.
•
Return FIFO address pointer.
Execute above setting. And wait next retry keeping FIFO data.
This flow is shown in Figure 3.16.3.
Содержание TLCS-900/H1 Series
Страница 1: ...TOSHIBA Original CMOS 32 Bit Microcontroller TLCS 900 H1 Series TMP92CF30FG Semiconductor Company ...
Страница 650: ...TMP92CF30 2009 06 12 92CF30 648 7 Package Dimensions LQFP176 P 2020 0 40F TOP VIEW BOTTOM VIEW Detail view of A 25 1 A ...
Страница 652: ...TMP92CF30 2009 06 12 92CF30 650 ...