DEMO9S08LIN Freescale, DEMO9S08LIN Datasheet - Page 258

no-image

DEMO9S08LIN

Manufacturer Part Number
DEMO9S08LIN
Description
Manufacturer
Freescale
Datasheet

Specifications of DEMO9S08LIN

Lead Free Status / RoHS Status
Compliant
Chapter 14 Inter-Integrated Circuit (S08IICV1)
14.3.5
In slave mode, the same functions are available after an address match has occurred.
Note that the TX bit in IICC must correctly reflect the desired direction of transfer in master and slave
modes for the transmission to begin. For instance, if the IIC is configured for master transmit but a master
receive is desired, then reading the IICD will not initiate the receive.
Reading the IICD will return the last byte received while the IIC is configured in either master receive or
slave receive modes. The IICD does not reflect every byte that is transmitted on the IIC bus, nor can
software verify that a byte has been written to the IICD correctly by reading it back.
In master transmit mode, the first byte of data written to IICD following assertion of MST is used for the
address transfer and should comprise of the calling address (in bit 7–bit 1) concatenated with the required
R/W bit (in position bit 0).
258
Reset
Field
DATA
7:0
W
R
IIC Data I/O Register (IICD)
Data — In master transmit mode, when data is written to the IICD, a data transfer is initiated. The most significant
bit is sent first. In master receive mode, reading this register initiates receiving of the next byte of data.
0
7
When transmitting out of master receive mode, the IIC mode should be
switched before reading the IICD register to prevent an inadvertent
initiation of a master receive data transfer.
0
6
MC9S08LC60 Series Data Sheet: Technical Data, Rev. 4
Table 14-6. IICD Register Field Descriptions
Figure 14-7. IIC Data I/O Register (IICD)
0
5
NOTE
0
4
Description
DATA
3
0
0
2
Freescale Semiconductor
0
1
0
0