Uart Peripheral - NXP Semiconductors freescale KV4 Series Reference Manual

Table of Contents

Advertisement

Peripherals Supported
No
Reached
maximum
retries?
Yes
Report a
timeout error
Figure 14-19. Host reads ACK from target via SPI
Fetch Response
Send 0x00 to
No
shift out 1 byte
from target
Reached
maximum
No
retries?
Send 0x00 to
shift out 1 byte
from target
Yes
Report a timeout
received?
error (End)
No
Figure 14-20. Host reads response from target via SPI

14.3.3 UART Peripheral

The Kinetis Flashloader integrates an autobaud detection algorithm for the UART
peripheral, thereby providing flexible baud rate choices.
246
Fetch ACK
Send 0x00 to
shift out 1 byte
from target
No
0x5A
received?
Next action
0x5A
received?
Yes
Write 0x00s to shift
out payload length
0xA4
Yes
part from target
(2 bytes)
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
Process NAK
Send 0x00 to
Yes
shift out 1 byte
from target
Yes
End
Write 0x00s to shift
out payload data
from target
Yes
Payload length
less than supported
length?
Write 0x00s to shift
out CRC checksum
from target
(2 bytes)
Report an error
No
0xA2
Yes
received?
No
No
0xA1
received?
Set payload length
No
to maximum
supported length
Freescale Semiconductor, Inc.

Advertisement

Table of Contents
loading

Table of Contents