Section number Title Page
12.2.13 System Clock Divider Register 1 (SIM_CLKDIV1)...................................................................................285
12.2.14 System Clock Divider Register 2 (SIM_CLKDIV2)...................................................................................287
12.2.15 Flash Configuration Register 1 (SIM_FCFG1)........................................................................................... 288
12.2.16 Flash Configuration Register 2 (SIM_FCFG2)........................................................................................... 289
12.2.17 Unique Identification Register High (SIM_UIDH)..................................................................................... 290
12.2.18 Unique Identification Register Mid-High (SIM_UIDMH)..........................................................................290
12.2.19 Unique Identification Register Mid Low (SIM_UIDML)........................................................................... 291
12.2.20 Unique Identification Register Low (SIM_UIDL)...................................................................................... 291
12.3 Functional description...................................................................................................................................................291
Chapter 13
Kinetis Flashloader
13.1 Chip-Specific Information............................................................................................................................................ 293
13.2 Introduction...................................................................................................................................................................293
13.3 Functional Description..................................................................................................................................................295
13.3.1 Memory Maps..............................................................................................................................................295
13.3.2 Start-up Process............................................................................................................................................295
13.3.3 Clock Configuration.....................................................................................................................................296
13.3.4 Flashloader Protocol.................................................................................................................................... 296
13.3.5 Flashloader Packet Types.............................................................................................................................301
13.3.6 Flashloader Command API..........................................................................................................................308
13.4 Peripherals Supported................................................................................................................................................... 327
13.4.1 I2C Peripheral.............................................................................................................................................. 327
13.4.2 SPI Peripheral.............................................................................................................................................. 329
13.4.3 UART Peripheral......................................................................................................................................... 331
13.4.4 USB peripheral.............................................................................................................................................334
13.5 Get/SetProperty Command Properties..........................................................................................................................336
13.5.1 Property Definitions.....................................................................................................................................338
13.6 Kinetis Flashloader Status Error Codes........................................................................................................................ 339
Chapter 14
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
NXP Semiconductors 11