Download KLQRUG, Kinetis L Peripheral Module Quick Reference
Transcript
Contents Section number Title Page Chapter 1 General System Setup (Software Considerations) 1.1 Software considerations..................................................................................................................................................11 1.1.1 Overview............................................................................................................................................................11 1.1.2 Code execution...................................................................................................................................................11 1.1.3 Reset and booting...............................................................................................................................................11 1.1.4 1.1.3.1 Device state during reset....................................................................................................................12 1.1.3.2 Device state after reset.......................................................................................................................12 Typical system initialization .............................................................................................................................12 1.1.4.1 Lowest level assembly routines.........................................................................................................12 1.1.4.1.1 Initialize general purpose registers...................................................................................12 1.1.4.1.1.1 Unmask interrupts at ARM core ..................................................................13 1.1.4.1.1.2 Branch to start of C initialization code.........................................................13 1.1.4.2 Startup routines..................................................................................................................................13 1.1.4.2.1 Disable watchdog..............................................................................................................13 1.1.4.2.2 Initialize RAM..................................................................................................................13 1.1.4.2.3 Enable port clocks.............................................................................................................13 1.1.4.2.4 Ramp system clock to selected frequency........................................................................13 1.1.4.2.5 Enable pin interrupt...........................................................................................................14 1.1.4.2.6 Enable UART for terminal communication......................................................................14 1.1.4.2.7 Jump to start of main function for application..................................................................14 Chapter 2 General System Setup (Hardware Considerations) 2.1 Hardware considerations.................................................................................................................................................15 2.1.1 Overview............................................................................................................................................................15 2.1.2 Floorplan............................................................................................................................................................15 2.1.2.1 Connectors.........................................................................................................................................16 Kinetis L Peripheral Module Quick Reference, Rev. 0, 09/2012 Freescale Semiconductor, Inc. 3