M37212 Mitsubishi, M37212 Datasheet - Page 43

no-image

M37212

Manufacturer Part Number
M37212
Description
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
Manufacturer
Mitsubishi
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M37212EFFP
Manufacturer:
OK
Quantity:
269
Part Number:
M37212M4-052SP
Manufacturer:
RENASAS
Quantity:
20 000
Part Number:
M37212M6-105SP
Manufacturer:
ST
Quantity:
100
Part Number:
M37212M6-117SP
Manufacturer:
OKI
Quantity:
172
Part Number:
M37212M6-117SP
Manufacturer:
MIC
Quantity:
1 000
Part Number:
M37212M6-117SP
Manufacturer:
MIT
Quantity:
1 000
Part Number:
M37212M6-117SP
Manufacturer:
MIT
Quantity:
20 000
Part Number:
M37212M6-204FP
Manufacturer:
MIT
Quantity:
292
Part Number:
M37212M8-051SP
Manufacturer:
RENESAS
Quantity:
765
Part Number:
M37212M8-051SP
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
M37212M8-055SP
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
M37212MA-052SP
Manufacturer:
RENASAS
Quantity:
20 000
(3) RESTART condition generating procedure
LDM
LDA
SEI
STA
LDM
CLI
Rev. 1.0
Use “LDM” instruction for setting trigger of RESTART condition gen-
Procedure example (The necessary conditions of the generating
Select the slave receive mode when the PIN bit is “0.” Do not write
The SCL pin is released by writing the slave address value to the
Write the slave address value of above
Disable interrupts during the following two process steps:
procedure are described as the following
“1” to the PIN bit. Neither “0” nor “1” is specified for the writing to
the BB bit.
The TRX bit becomes “0” and the SDA pin is released.
I
addressing instruction for writing.
erating.
START condition generating of above
above procedure example.
• Writing of slave address value
• Trigger of RESTART condition generating
2
C data shift register. Use “STA,” “STX” or “STY” of the zero page
Execute the following procedure when the PIN bit is “0.”
#$00, S1
S0
#$F0, S1
(Select slave receive mode)
(Taking out of slave address value)
(Interrupt disabled)
(Writing of slave address value)
(Trigger of RESTART condition generating)
(Interrupt enabled)
continuously shown the
M37212M4/M8–XXXSP, M37212M6–XXXSP/FP
and set trigger of RE-
to .)
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
(4) STOP condition generating procedure
SEI
LDM #$C0, S1
NOP
LDM #$D0, S1
CLI
(5) Writing to I
Do not execute an instruction to set the PIN bit to “1” from “0” and an
instruction to set the MST and TRX bits to “0” from “1” simultaneously.
It is because it may enter the state that the SCL pin is released and
the SDA pin is released after about one machine cycle. Do not ex-
ecute an instruction to set the MST and TRX bits to “0” from “1” si-
multaneously when the PIN bit is “1.” It is because it may become the
same as above.
(6) Process of after STOP condition generating
Do not write data in the I
register S1 until the bus busy flag BB becomes “0” after generating
the STOP condition in the master mode. It is because the STOP
condition waveform might not be normally generated. Reading to the
above registers do not have the problem.
Procedure example (The necessary conditions of the generating
Write “0” to the PIN bit when master transmit mode is select.
Execute “NOP” instruction after setting of master transmit mode.
Disable interrupts during the following two process steps:
procedure are described as the following
Also, set trigger of STOP condition generating within 10 cycles af-
ter selecting of master trasmit mode.
• Select of master transmit mode
• Trigger of STOP condition generating
with ON-SCREEN DISPLAY CONTROLLER
2
C status register
(Interrupt disabled)
(Select master transmit mode)
(Set NOP)
(Trigger of STOP condition generating)
(Interrupt enabled)
MITSUBISHI MICROCOMPUTERS
2
C data shift register S0 and the I
M37212EFSP/FP
to
.)
2
C status
43

Related parts for M37212