Enter flashloader
Init hardware
Init Flash,
Property and
Memory interfaces
Ping packet
received on
UARTn?
Shutdown unused
Peripherals
Enter flashloader
state machine
No
No
Yes
Yes
Yes
Was a
No
activity
detected on
USB FS?
No
Was
Yes
UARTn
Init USB FS
I2Cn
SPIn
Start byte (0x5A)
received on I2Cn?
Was
Start byte (0x5A)
received on SPIn?
Was
Figure 13-1. Kinetis Flashloader Start-up Flowchart
13.3.3
Clock Configuration
The core runs on the default reset clock (20.9 MHz). After exiting the flashloader, the
core sets the clock configuration back to the reset state (and enables the internal 48 MHz
reference clock for the USB module).
Functional Description
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
296 NXP Semiconductors