TMP92CF30
2009-06-12
92CF30-419
(b) Dual packet mode
In dual packet mode, FIFO is divided into A and B packet, and is controlled
according to priority in hardware. It can be performed at once, transmitting and
receiving data to USB host and exchanges to external of UDC.
When it reads out data from FIFO for receiving, confirm condition of two
packets, and consider the order of priority. If it has received data to two packets,
the UDC outputs from first receiving data by FIFO that can be accessed are
common in two packets. EPx_SIZE register is prepared for both packet A and
packet B. First, the CPU must recognize the data number of first receiving packet
by PKT_ACTIVE bit. If PKT_ACTIVE bit has been set to 1, that packet is received
first. Packet A and packet B set data turn about always.
This is shown below.
Figure 3.16.15 Receiving Sequence in Dual Packet Mode
IDLE
DATASET register
•
Check bit of EPx_DSET_A
•
Check bit of EPx_DSET_B
SIZE register
•
Confirm Size of SIZE_A_L
•
Confirm Size of SIZE_A_H
•
Confirm Size of SIZE_B_L
•
Confirm Size of SIZE_B_H
•
Read size of receiving data from relevant endpoint
•
There are below 3 cases by setting bit of DATASET
Only A: Read number of sizeA register
Only B: Read number of sizeB register
Both of A and B: Read number of sizeA
+
B register
DATASET
=
1
DATASET register
•
Set bit of EPx_DSET_A (B)
•
Assert EPx_DATASET signal
•
Clear receiving data in FIFO
•
Clear applicable bit in DATASET register
Interrupt by EPx_FULL_A (B)
Check DATASET register
Receiving valid data
DATASET
=
0
Wait receiving data
Содержание 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 ...