m5m51016btp Renesas Electronics Corporation., m5m51016btp Datasheet - Page 201

no-image

m5m51016btp

Manufacturer Part Number
m5m51016btp
Description
Renesas 16-bit Single-chip Microcomputer M16c Family / M16c/20 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10VHTC4
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MITSUMI
Quantity:
20 000
Part Number:
m5m51016btp-12LL
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-70LL
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Figure 2.8.44. Endpoint 1 to 4 OUT packet fetching routine
(6) USB Receive (Endpoints 1 to 4 OUT): Example
The endpoints 1 to 4 OUT packet fetching routine (in continuous transfer disable) is shown in Figure
2.8.44. In addition to packet fetch process, error flag (OVER_RUN, FORCE_STALL, DATA_ERR)
process is required for every transfer type.
(b15)
(b15)
Note 3: The packet data is one buffer data in continuous transfer mode.
Note 4: When the AUTO_CLR bit is set to “1”, the OUT_BU_STS0 and the OUT_BUF_STS1 flags are
b7
0
b7
1. Confirming of whether one packet is received in the OUT FIFO:
2. Reading of the number of receive one packet data (Note 1) and
0
4. Setting of the CLR_OUT_BUF_RDY bit to “1” and
(b15)
(b15)
3. Reading of receive data equal to receive data count (RAM_CNT) from the OUT FIFO
and storing it in the RAM_DATA (user definition RAM).
b7
Note 2: Define the RAM_DATA equal to byte count required for receive.
0
b7
Note 1: The packet data is one buffer data in continuous transfer mode.
0
check the OUT_BUF_STS0 and the OUT_BUF_STS1.
storing it in the RAM_CNT (user definition RAM).
0
completion (Note 4) of one packet data (Note 3) fetch.
No data set in the OUT FIFO
0
automatically updated without setting “1” to the CLR_OUT_BUF_RDY bit when the data count equal to
one packet is read from the OUT FIFO.
0
Execution of the above 2, 3 and 4 when one more are set in the OUT FIFO
0 0
page 192 of 354
(b8)
(b8)
b0
b0
(b8)
(b8)
b0
b0
b7
b7
b7
b7
Process of USB endpoint x OUT packet fetch
1
Read the reception data and store it in the RAM_DATA
Completion of packet fetch
b0
b0
b0
b0
USB endpoint x OUT control and status register
EPxOCS (x = 1 - 4) [Address 02B6
CLR_OUT_BUF_RDY bit
USB endpoint x OUT control and status register
EPxOCS (x = 1 - 4) [Address 02B6
OUT_BUF_STS0 flag
OUT_BUF_STS1 flag
b1 b0
1 : Updates OUT_BUF_STS0, OUT_BUF_STS1 flags
0 0 : No data set in the OUT buffer
0 1 : Invalid
1 0 : Single buffer mode: Invalid
1 1 : Single buffer mode: one data set in the OUT buffer
USB endpoint x OUT FIFO data register
EPxO (x = 0 - 4) [Address 02E2
USB endpoint x OUT write count register
EPxWC (x = 1 - 4) [Address 02BA
Read the number of bytes of reception data and
store it in the RAM_CNT
Double buffer mode: one data set in the OUT buffer
Double buffer mode: two data set in the OUT buffer
Data set in the OUT FIFO
16
, 02E6
16
16
, 02BE
16
, 02BE
, 02C2
16
, 02EA
16
16
, 02C6
16
, 02C6
, 02CA
16
, 02EE
16
16
, 02CE
16
, 02CE
16
, 02D2
, 02F2
2. USB function
16
]
16
16
16
]
]
]

Related parts for m5m51016btp