M37221 Mitsubishi, M37221 Datasheet - Page 24

no-image

M37221

Manufacturer Part Number
M37221
Description
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
Manufacturer
Mitsubishi
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M37221-125
Manufacturer:
CN/如韵
Quantity:
20 000
Part Number:
M37221EASP
Manufacturer:
MIT
Quantity:
1 345
Part Number:
M37221EASP
Manufacturer:
MITSUBISH
Quantity:
20 000
Part Number:
M37221EFSP
Manufacturer:
MIT
Quantity:
6 220
Part Number:
M37221M6-065SP
Manufacturer:
MITSUBISH
Quantity:
20 000
Part Number:
M37221M6-262SP
Manufacturer:
MIT
Quantity:
100
Part Number:
M37221M6-270SP
Manufacturer:
MITSUBISHI
Quantity:
2 940
Part Number:
M37221M6-270SP
Manufacturer:
MITSUBISHI
Quantity:
20 000
Part Number:
M37221M6-277SP
Quantity:
70
Part Number:
M37221M6-286SP
Manufacturer:
MITSUBISHI
Quantity:
20 000
In the master transmission mode, when the SDA is made “L” by any
other device, arbitration is judged to have been lost, so that this bit is
set to “1.” At the same time, the TRX bit is set to “0,” so that immedi-
ately after transmission of the byte whose arbitration was lost is com-
pleted, the MST bit is set to “0.” In the case arbitration is lost during
slave address transmission, the TRX bit is set to “0” and the recep-
tion mode is set. Consequently, it becomes possible to receive and
recognize its own slave address transmitted by another master de-
vice.
This bit generates an interrupt request signal. Each time 1-byte data
is transmitted, the state of the PIN bit changes from “1” to “0.” At the
same time, an interrupt request signal occurs to the CPU. The PIN
bit is set to “0” in synchronization with a falling of the last clock (in-
cluding the ACK clock) of an internal clock and an interrupt request
signal occurs in synchronization with a falling of the PIN bit. When
the PIN bit is “0,” the SCL is kept in the “0” state and clock generation
is disabled. Figure 20 shows an interrupt request signal generating
timing chart.
The PIN bit is set to “1” in one of the following conditions.
The conditions in which the PIN bit is set to “0” are shown below:
This bit indicates the status of use of the bus system. When this bit is
set to “0,” this bus system is not busy and a START condition can be
generated. When this bit is set to “1,” this bus system is busy and the
occurrence of a START condition is disabled by the START condi-
tion duplication prevention function (Note).
This flag can be written by software only in the master transmission
mode. In the other modes, this bit is set to “1” by detecting a START
condition and set to “0” by detecting a STOP condition. When the
ES0 bit of the I
reset, the BB flag is kept in the “0” state.
This bit decides a direction of transfer for data communication. When
this bit is “0,” the reception mode is selected and the data of a trans-
mitting device is received. When the bit is “1,” the transmission mode
is selected and address data and control data are output onto the
SDA in synchronization with the clock generated on the SCL.
When the ALS bit of the I
in the slave reception mode is selected, the TRX bit is set to “1”
(transmit) if the least significant bit (R/W bit) of the address data trans-
24
Arbitration lost: The status in which communication as a master is
Executing a write instruction to the I
00D7
When the ES0 bit is “0”
At reset
Immediately after completion of 1-byte data transmission (includ-
ing when arbitration lost is detected)
Immediately after completion of 1-byte data reception
In the slave reception mode, with ALS = “0” and immediately after
completion of slave address or general call address reception
In the slave reception mode, with ALS = “1” and immediately after
completion of address data reception
Bit 3: Arbitration lost detecting flag (AL)
Bit 4: I
Bit 5: Bus busy flag (BB)
Bit 6: Communication mode specification bit (transfer direction
16
specification bit: TRX)
2
).
C-BUS interface interrupt request bit (PIN)
2
C control register (address 00DA
disabled.
2
C control register (address 00DA
2
C data shift register (address
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
16
) is “0” and at
16
) is “0”
M37221EF-XXXSP,M37221EFSP
mitted by the master is “1.” When the ALS bit is “0” and the R/W bit is
“0,” the TRX bit is cleared to “0” (receive).
The TRX bit is cleared to “0” in one of the following conditions.
This bit is used for master/slave specification for data communica-
tion. When this bit is “0,” the slave is specified, so that a START
condition and a STOP condition generated by the master are re-
ceived, and data communication is performed in synchronization with
the clock generated by the master. When this bit is “1,” the master is
specified and a START condition and a STOP condition are gener-
ated, and also the clocks required for data communication are gen-
erated on the SCL.
The MST bit is cleared to “0” in one of the following conditions.
Note: The START condition duplication prevention function disables
When arbitration lost is detected.
When a STOP condition is detected.
When occurence of a START condition is disabled by the START
condition duplication preventing function (Note).
With MST = “0” and when a START condition is detected.
With MST = “0” and when ACK non-return is detected.
At reset
Immediately after completion of 1-byte data transmission when ar-
bitration lost is detected
When a STOP condition is detected.
When occurence of a START condition is disabled by the START
condition duplication preventing function (Note).
At reset
Bit 7: Communication mode specification bit (master/slave speci-
the occurence of a START condition, reset of bit counter and
SCL output when the following condition is satisfied:
• a START condition is set by another master device.
fication bit: MST)
with ON-SCREEN DISPLAY CONTROLLER
MITSUBISHI MICROCOMPUTERS

Related parts for M37221