Spi Peripheral - NXP Semiconductors freescale KV4 Series Reference Manual

Table of Contents

Advertisement

Peripherals Supported
No
Reached
maximum
No
retries?
Yes
Report a timeout
error
Figure 14-16. Host reads ACK packet from target via I2C
Response
Read 1 byte
No
from target
Reached
No
maximum
retries?
Read 1 byte
from target
Yes
Report a timeout
received?
error (End)
No
Figure 14-17. Host reads response from target via I2C

14.3.2 SPI Peripheral

The Kinetis Flashloader supports loading data into flash via the SPI peripheral, where the
SPI peripheral serves as a SPI slave.
244
Fetch ACK
Read 1 byte
from target
0x5A
received?
Fetch
0x5A
received?
Yes
Read
payload length
0xA4
Yes
part from target
(2 bytes)
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
Process NAK
Read 1 byte
Yes
from target
End
Read
payload data
from target
Yes
Payload length
less than supported
length?
Read
CRC checksum
from target
(2 bytes)
Report an error
No
0xA2
Yes
received?
No
0xA1
received?
Yes
End
Set payload length
No
to maximum
supported length
Freescale Semiconductor, Inc.

Advertisement

Table of Contents
loading

Table of Contents