欢迎访问ic37.com |
会员登录 免费注册
发布采购

M37221EASP 参数 Datasheet PDF下载

M37221EASP图片预览
型号: M37221EASP
PDF下载: 下载PDF文件 查看货源
内容描述: 单片8位微机的CMOS电压合成器与屏幕上的显示控制器 [SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER]
分类和应用: 显示控制器计算机
文件页数/大小: 112 页 / 1165 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号M37221EASP的Datasheet PDF文件第38页浏览型号M37221EASP的Datasheet PDF文件第39页浏览型号M37221EASP的Datasheet PDF文件第40页浏览型号M37221EASP的Datasheet PDF文件第41页浏览型号M37221EASP的Datasheet PDF文件第43页浏览型号M37221EASP的Datasheet PDF文件第44页浏览型号M37221EASP的Datasheet PDF文件第45页浏览型号M37221EASP的Datasheet PDF文件第46页  
M37221M4H/M6H/M8H/MAH–XXXSP/FP M37221EASP/FP  
S
Slave address R/W  
7 bits “0”  
A
Data  
A
Data  
A/A  
P
P
A
1 to 8 bits  
1 to 8 bits  
(1) A master-transmitter transmits data to a slave-receiver  
R/W  
“1”  
S
Slave address  
7 bits  
A
Data  
A
Data  
A
1 to 8 bits  
1 to 8 bits  
(2) A master-receiver receives data from a slave-transmitter  
Slave address  
1st 7 bits  
Slave address  
2nd byte  
S
R/W  
“0”  
A
A
Data  
1 to 8 bits  
Data  
A/A  
P
7 bits  
8 bits  
1 to 8 bits  
(3) A master-transmitter transmits data to a slave-receiver with a 10-bit address  
Slave address  
1st 7 bits  
Slave address  
2nd byte  
Slave address  
1st 7 bits  
S
R/W  
“0”  
A
A
Sr  
R/W Data  
A
Data  
A
P
7 bits  
8 bits  
7 bits  
“1” 1 to 8 bits  
1 to 8 bits  
(4) A master-receiver receives data from a slave-transmitter with a 10-bit address  
S : START condition  
A : ACK bit  
Sr : Restart condition  
P : STOP condition  
R/W : Read/Write bit  
From master to slave  
From slave to master  
Fig. 8.6.12 Address Data Communication Format  
8.6.12 Precautions when using multi-master  
(2) START condition generation procedure us-  
ing multi-master  
2
I C-BUS interface  
Procedure example (The necessary conditions for the procedure  
(1) Read-modify-write instruction  
Precautions for executing the read-modify-write instructions such as  
are described in to below).  
2
SEB, and CLB, is for each register of the multi-master I C-BUS inter-  
face are described below.  
2
•I C data shift register (S0)  
LDA  
SEI  
(Take out slave address value)  
(Interrupt disabled)  
When executing the read-modify-write instruction for this register  
during transfer, data may become an arbitrary value.  
BBS 5,S1,BUSBUSY (BB flag confirmation and branch process)  
BUSFREE:  
STA S0  
2
•I C address register (S0D)  
When the read-modify-write instruction is executed for this register  
(Write slave address value)  
(Trigger START condition generation)  
(Interrupt enabled)  
at detection of the STOP condition, data may become an arbitrary  
LDM #$F0, S1  
______  
value. It is because hardware changes the read/write bit (RBW) at  
the timing.  
CLI  
2
•I C status register (S1)  
Do not execute the read-modify-write instruction for this register  
because all bits of this register are changed by hardware.  
BUSBUSY:  
CLI  
(Interrupt enabled)  
2
•I C control register (S1D)  
When the read-modify-write instruction is executed for this register  
at detection of the START condition or at completion the byte trans-  
fer, data may become an arbitrary value. Because hardware changes  
the bit counter (BC0–BC2) at the timing.  
Use “STA,” “STX” or “STY” of the zero page addressing instruc-  
2
tion for writing the slave address value to the I C data shift register.  
2
•I C clock control register (S2)  
Use “LDM” instruction for setting trigger of START condition gen-  
eration.  
The read-modify-write instruction can be executed for this register.  
Write the slave address value of and set trigger of START con-  
dition generation as in continuously as shown in the procedure  
example.  
Disable interrupts during the following three process steps:  
• BB flag confirmation  
• Write of slave address value  
• Trigger of START condition generation  
When the condition of the BB flag is bus busy, enable interrupts  
immediately.  
Rev.1.00 Oct 01, 2002 page 42 of 110  
REJ03B0134-0100Z  
 复制成功!