參數(shù)資料
型號(hào): M37640M8-126FP
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機(jī)
文件頁數(shù): 52/96頁
文件大?。?/td> 1477K
代理商: M37640M8-126FP
52
Ver 1.4
MITSUBISHI MICROCOMPUTERS
7640 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
1.21.3.1 IN (Transmit) FIFOs
The CPU/DMA writes data to the endpoint’s IN FIFO
location specified by the FIFO write pointer, which au-
tomatically increments by “1” after a write. The CPU/
DMA should only write data to the IN FIFO if the
IN_PKT_RDY bit of the IN CSR is a “0”.
Endpoint 0 IN FIFO Operation:
The CPU writes a “1” to the IN_PKT_RDY bit after it
finishes writing a packet of data to the IN FIFO. The
USB FCU clears the IN_PKT_RDY bit after the
packet has been successfully transmitted to the host
(ACK is received from the host) or the SETUP_END
bit of the IN CSR is set to a “1”.
Endpoint 1-4 IN FIFO Operation when AUTO_SET
(bit 7 of IN CSR) = “0”:
MAXP > 1/2 of the IN FIFO size:
The CPU writes a
“1” to the IN_PKT_RDY bit after the CPU/DMAC
finishes writing a packet of data to the IN FIFO. The
USB FCU clears the IN_PKT_RDY bit after the
packet has been successfully transmitted to the
host (ACK is received from the host).
MAXP <= 1/2 of the IN FIFO size:
The CPU writes
a “1” to the IN_PKT_RDY bit after the CPU/DMAC
finishes writing a packet of data to the IN FIFO. The
USB FCU clears the IN_PKT_RDY bit as soon as
the IN FIFO is ready to accept another data packet.
(The FIFO can hold up to two data packets at the
same time in this configuration for back-to-back
transmission). Since the set and the clear opera-
tions could be as fast as 83ns (one 12MHz clock
period) apart from each other, the set may be trans-
parent to the user.
Endpoint 1-4 IN FIFO Operation when AUTO_SET
(bit 7 of IN CSR) = “1”:
MAXP > 1/2 of the IN FIFO size:
When the number
of bytes of data equal to the MAXP (maximum
packet size) is written to the IN FIFO by the CPU/
DMAC, the USB FCU sets the IN_PKT_RDY bit to
a “1” automatically. The USB FCU clears the
IN_PKT_RDY bit after the packet has been suc-
cessfully transmitted to the host (ACK is received
from the host).
MAXP <= 1/2 of the IN FIFO size:
When the num-
ber of bytes of data equal to the MAXP (maximum
packet size) is written to the IN FIFO by the CPU/
DMAC, the USB FCU sets the IN_PKT_RDY bit to
a “1” automatically. The USB FCU clears the
IN_PKT_RDY bit as soon as the IN FIFO is ready
to accept another data packet. (The FIFO can hold
up to two data packets at the same time in this con-
figuration for back-to-back transmission). Since the
set and the clear operations could be as fast as
83ns (one 12MHz clock period) apart from each
other, the set may be transparent to the user.
A software or a hardware flush causes the USB FCU
to act as if a packet has been successfully transmit-
ted out to the host. If there is one packet in the IN
FIFO, a flush will cause the IN FIFO to be empty. If
there are two packets in the IN FIFO, a flush will
cause the older packet to be flushed out from the IN
FIFO. A Flush will also update the IN FIFO status bits
IN_PKT_RDY and TX_NOT_EMPTY.
The status of endpoint 1-4 IN FIFOs for both of the
above cases can be obtained from the IN CSR of the
corresponding IN FIFO as shown in Table 1.8.
Table 1.8. Endpoint 1_4 IN FIFO Status
Interrupt Endpoints:
Any endpoint can be used for interrupt transfers. For
normal interrupt transfers, the interrupt transactions
behave the same as bulk transactions, i.e.; no special
setting is required. The IN endpoints may also be
used to communicate rate feedback information for
certain types of isochronous functions. This is done
by setting the INTPT bit in the IN CSR register of the
corresponding endpoint. When the INTPT bit is set,
the data toggle bits will be changed after each packet
is sent to the host without regard to the presence or
type of handshake packet.
0
0
1
1
1
IN_PKT_RDY
TX_NOT_EMPTY
0
TX FIFO Status
1
0
Invalid
Two data packets in TX FIFO if MAXP <=
1/2 of the FIFO size
OR
One data packet in TX FIFO if MAXP >
1/2 of the FIFO size
No Data packet in TX FIFO
One data packet in TX FIFO if MAXP <=
1/2 of the FIFO size
Invalid if MAXP > 1/2 of the FIFO size/
相關(guān)PDF資料
PDF描述
M37640E8 SINGLE-CHIP 8-BIT CMOS MICROCONTROLLER
M37641F8-XXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37641F8-XXXHP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37641M8-XXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37641M8 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M37640M8-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE CHIP 8 BIT CMOS MICROCOMPUTER
M37641F8E8-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37641F8FP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37641F8FP#U0 功能描述:IC 740 MCU FLASH 32K 80QFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:740/7600 標(biāo)準(zhǔn)包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲(chǔ)器容量:40KB(20K x 16) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 6x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
M37641F8HP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER