![NXP Semiconductors MKL27Z128VFM4 Reference Manual Download Page 210](http://html1.mh-extra.com/html/nxp-semiconductors/mkl27z128vfm4/mkl27z128vfm4_reference-manual_1721847210.webp)
• An outgoing packet is read by the host with a selected I2C slave address and the
direction bit is set as read.
• 0x00 will be sent as the response to host if the target is busy with processing or
preparing data.
The following flow charts demonstrate the communication flow of how the host reads
ping packet, ACK and response from the target.
Fetch
Ping response
Yes
Yes
End
Report Error
No
No
Read 1 byte
from target
0x5A
received?
packet
Read leftover bytes
of ping response
0x7A
received?
Read 1 byte
from target
Figure 13-16. Host reads ping response from target via I2C
Fetch ACK
No
Yes
End
No
Process NAK
Yes
Report an error
No
Yes
No
Reached
maximum
retries?
Report a timeout
error
Yes
0x5A
received?
0xA2
received?
0xA1
received?
Read 1 byte
from target
Read 1 byte
from target
Figure 13-17. Host reads ACK packet from target via I2C
Peripherals Supported
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
210
Freescale Semiconductor, Inc.