mc9s08sg4 Freescale Semiconductor, Inc, mc9s08sg4 Datasheet - Page 175

no-image

mc9s08sg4

Manufacturer Part Number
mc9s08sg4
Description
8-bit Microcontroller Family
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08sg4MTJG
Manufacturer:
FREESCALE
Quantity:
20 000
NOTES:
1. If general call is enabled, a check must be done to determine whether the received address was a general call address (0x00). If the received address was a
2. When 10-bit addressing is used to address a slave, the slave sees an interrupt following the first byte of the extended address. User software must ensure that for
Freescale Semiconductor
general call address, then the general call must be handled by user software.
this interrupt, the contents of IICD are ignored and not treated as a valid data transfer
Dummy Read
Switch to
from IICD
Rx Mode
Y
Transmitted
(Master Rx)
Byte to IICD
Addr Cycle
Write Next
Last Byte
RXAK=0
End of
?
?
?
Y
N
N
Stop Signal
TX
Generate
(MST = 0)
Y
N
Tx/Rx
Set TXACK =1
?
Figure 11-12. Typical IIC Interrupt Routine
Y
MC9S08SG8 MCU Series Data Sheet, Rev. 3
Byte to Be Read
Byte to Be Read
Read Data
from IICD
and Store
2nd Last
RX
Last
?
?
N
N
Stop Signal
Generate
(MST = 0)
Y
Y
RTI
Master
Mode
Clear
IICIF
?
Write Data
(Read)
Set TX
to IICD
Mode
N
N
Y
Dummy Read
Clear ARBL
from IICD
IAAS=1
Set RX
Chapter 11 Inter-Integrated Circuit (S08IICV2)
SRW=1
Mode
Y
?
?
N
Address Transfer
(Write)
See Note 1
Tx Next
Byte
Y
Y
Y
Dummy Read
Arbitration
ACK from
from IICD
Receiver
Switch to
IAAS=1
Rx Mode
TX/RX
Lost
?
?
?
?
N
N
N
Data Transfer
TX
See Note 2
Read Data
from IICD
and Store
RX
175

Related parts for mc9s08sg4