参数资料
型号: M30245FCGP
元件分类: 微控制器/微处理器
英文描述: 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP100
封装: PLASTIC, LQFP-100
文件页数: 52/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页
Serial Communication
145
Specifications in this manual are tentative and subject to change
Rev. E
MITSUBISHI MICROCOMPUTERS
M30245 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
UARTi Special Mode Register
UARTi (i=0 to 3) operate the I2C interface (simple I2C bus) using the UARTi special mode register (address
03A716, 036716, 033716, 032716) and UARTi special mode register 2 (addresses 03A616, 036616, 033616,
and 032616). UARTi address special functions using UARTi special mode register 3 (address 03A516,
036516, 033516, and 032516).
I2C Bus interface mode
The I2C bus interface mode is provided with UARTi. When the I2C mode select bit (bit 0 in addresses
03A716, 036716, 033716, and 032716) is set to “1”, the I2C bus interface circuit is enabled.
To use the I2C bus, set the SCLi and the SDAi of the master and slave to output. Also for UART0, 1 and 3,
set the data output select bit (bit 5 in address 03AC16, 036C16, and 032C16) to N-channel open drain
output. Note: UART2 TxD and RxD (P70 and P71) are always N-channel open drain outputs and require
external pull-up resistors.
Table 1.49 shows the relationship of the I2C mode select bit to control. To use the chip in the clock synchro-
nized serial I/O mode or UART mode, always set this bit to “0”. Figure 1.106 shows a block diagram of I2C
mode.
Table 1.49. I2C features
Note 1: When using I2C mode, set 0 1 0 in bits 2, 1, 0 of the UARTi transmit/receive mode register. Disable the CTS/
RTS function. Select MSB first function.
Note 2: To switch from one factor to another:
1. Disable the interrupt of the corresponding number.
2. Switch to another factor.
3. Reset the interrupt request flag of the corresponding number.
4. Set the interrupt level of the corresponding number.
Note 3: Set an initial value of SDA transmission output when I
2C mode (I2C mode select bit = "1") is valid and serial
I/O is invalid.
Function
Normal mode (IICM=0)
I2C mode (IICM=1) (Note 1)
1
Cause of interrupt number 3 and 9
(Note 2)
Bus collision detection
Start condition detection or stop
condition detection
2
Cause of interrupt number 13 and
15 (Note 2)
UARTi transmit
No acknowledgement detection
(NACK)
3
Cause of interrupt number 2 and
21 (Note 2)
UARTi receive
Acknowledgment detection (ACK)
4
UARTi transmit output delay
Not delayed
Delayed
5
P63, P67, P70, P74 at the same
time UARTi is in use
TxDi (output)
SDAi (input/output) (Note 3)
6
P62, P66, P71, P75 at the same
time UARTi is in use
RxDi (input)
SCLi (input/output)
7
P61, P65, P72, P76 at the same
time UARTi is in use
CLKi
P61, P65, P72, P76
8
DMA1 factor at the same time
UARTi receive
Acknowledgement detection (ACK)
9
Noise filter width
15 ns
50 ns
10
Reading P71, P75
Reading the terminal when 0 is
assigned to the direction register
Reading the terminal regardless of
the value of the direction register
11
Initial value of UARTi output
"H" level (when 0 is assigned to
CLKi polarity select bit)
The value set in latch P70, P74 when
the port is selected (Note 3)
相关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