参数资料
型号: M30245FCGP
元件分类: 微控制器/微处理器
英文描述: 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP100
封装: PLASTIC, LQFP-100
文件页数: 216/244页
文件大小: 3535K
代理商: M30245FCGP
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页当前第216页第217页第218页第219页第220页第221页第222页第223页第224页第225页第226页第227页第228页第229页第230页第231页第232页第233页第234页第235页第236页第237页第238页第239页第240页第241页第242页第243页第244页
Universal Serial Bus
73
Specifications in this manual are tentative and subject to change
Rev. E
MITSUBISHI MICROCOMPUTERS
M30245 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
EP0 OUT FIFO with control write continuous transfer mode enabled
The USB FCU updates the OUT_BUF_RDY flag to “1” after:
It has successfully received a data set equal to 128 bytes or a short packet from the host
OR
A control write status phase has started but there are pending OUT data packets in the buffer.
The CPU writes “1” to CLR_OUT_BUF_RDY after the data set has been unloaded from the FIFO by the
CPU (updates the OUT_BUF_RDY flag to “0”).
Special note when using continuous transfer mode in control read request
In continuous transfer mode, the CPU can write multiple data packets to the data buffer before setting
the SET_IN_BUF_RDY to “1”. The CPU must write the last data packet separately to the data buffer and
sets the SET_DATA_END bit. For example, if the buffer size=128 bytes, MAXP= 8 bytes, and the CPU
sends 64 bytes of data to the host, the CPU does the following:
Writes 7x8=56 bytes to the buffer;
Sets SET_IN_BUF_RDY=1;
After the 7 packets are successfully sent to host, the IN_BUF_RDY flag changes from “1” to “0”;
Writes the last 8 bytes of data to the buffer;
Sets SET_IN_BUF_RDY=”1” and SET_DATA_END to “1”;
The CPU should not write all 64 bytes of data, and set the SET_IN_BUF_RDY and SET_DATA_END bits
to “1” at the same time.
Special note when using continuous transfer mode in control write request
Because the buffer can hold multiple data packets before generating an interrupt, two special cases
should be taken into consideration:
1. The SETUP_END flag usually indicates a premature completion of a control transfer. However, if the
data field of a control write is a multiple of MAXP but not a multiple of the buffer size, the SETUP_END
flag may be set without causing a premature completion of transfer. For example, if MAXP =8, buffer size
= 128, wLength = 192 (a multiple of MAXP but not the buffer size), the following occurs in continuous
mode:
After receiving 16 8-byte packets, (128 bytes) from the host, an EP0 interrupt is generated to indicate to
the CPU that data unloading can start.
When the host completes sending the remainder of the data field (eight 8-byte packets) an EP0 interrupt
is not generated because the buffer is not full and there is no short packet.
When the status phase starts (the host sends an IN token), OUT_BUF_RDY and SETUP_END are set.
The SETUP_END is set because the CPU is unaware of the end of the data phase, thus DATA_END is
not set. Whenever DATA_END is not set and the status stage starts, the protocol state machine will treat
it as a premature completion (data field is less than wLength) and sets the SETUP_END bit.
It is the users responsibility to determine the difference between a premature completion and a normal
completion (data field equals the wLength) when the CPU acknowledges a SETUP_END flag in continu-
ous mode.
2. The device usually returns a stall handshake when the host sends more data than specified in the
wLength field. However, if a host sends more data than specified in wLength in the middle of a continu-
ous transfer burst, the USB FCU returns ACK to every packet it receives if there are no errors. In this
case, when the firmware detects this kind of protocol error, it must set CLR_OUT_PKT_RDY to “1” and
set SEND_STALL to “1” so that the USB FCU returns STALL in the subsequent data or status phase. For
example, if MAXP = 8, buffer size = 128, wLength = 26, the following may occur:
相关PDF资料
PDF描述
M30621FCAGP 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP80
M30625MGM-XXXGP 16-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP80
M30621MCM-XXXGP 16-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP80
M30621FCMGP 16-BIT, FLASH, 10 MHz, MICROCONTROLLER, PQFP80
M3062GF8NGP 16-BIT, FLASH, 10 MHz, MICROCONTROLLER, PQFP100
相关代理商/技术参数
参数描述
M30245FCGP#U1 功能描述:IC M16C/24 MCU FLSH 128K 100LQFP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:M16C™ M16C/20 标准包装:1 系列:87C 核心处理器:MCS 51 芯体尺寸:8-位 速度:16MHz 连通性:SIO 外围设备:- 输入/输出数:32 程序存储器容量:8KB(8K x 8) 程序存储器类型:OTP EEPROM 大小:- RAM 容量:256 x 8 电压 - 电源 (Vcc/Vdd):4 V ~ 6 V 数据转换器:- 振荡器型:外部 工作温度:0°C ~ 70°C 封装/外壳:44-DIP 包装:管件 其它名称:864285
M30245FC-XXXFP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30245FC-XXXGF 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30245FC-XXXGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30245FG 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER