
Contents
Preface .............................................................................................................................. 11
1 Flash and OTP Memory Blocks .................................................................................. 151.1 Flash and OTP Memory ................................................................................................... 161.1.1 Flash Memory ...................................................................................................... 161.1.2 OTP Memory ....................................................................................................... 161.2 Flash and OTP Power Modes ............................................................................................ 161.2.1 Flash and OTP Performance ................................................................................... 181.2.2 Flash Pipeline Mode .............................................................................................. 181.2.3 Reserved Locations Within Flash and OTP ................................................................... 191.2.4 Procedure to Change the Flash Configuration Registers .................................................... 201.3 Flash and OTP Registers ................................................................................................. 21
2 Code Security Module (CSM) ..................................................................................... 272.1 Functional Description ..................................................................................................... 282.2 CSM Impact on Other On-Chip Resources ............................................................................. 302.3 Incorporating Code Security in User Applications ..................................................................... 312.3.1 Environments That Require Security Unlocking .............................................................. 322.3.2 Password Match Flow ........................................................................................... 332.3.3 Unsecuring Considerations for Devices With/Without Code Security ...................................... 342.4 Do's and Don'ts to Protect Security Logic ............................................................................... 362.4.1 Do's ................................................................................................................. 362.4.2 Don'ts .............................................................................................................. 362.5 CSM Features - Summary ................................................................................................ 36
3 Clocking .................................................................................................................. 373.1 Clocking and System Control ............................................................................................. 383.2 OSC and PLL Block ........................................................................................................ 453.2.1 PLL-Based Clock Module ........................................................................................ 453.2.2 Main Oscillator Fail Detection.................................................................................... 463.2.3 XCLKOUT Generation ............................................................................................ 483.2.4 PLL Control (PLLCR) Register .................................................................................. 493.2.5 PLL Control, Status and XCLKOUT Register Descriptions .................................................. 513.2.6 External Reference Oscillator Clock Option ................................................................... 523.3 Low-Power Modes Block .................................................................................................. 533.4 Watchdog Block ............................................................................................................ 553.4.1 Servicing The Watchdog Timer .................................................................................. 563.4.2 Watchdog Reset or Watchdog Interrupt Mode ................................................................ 563.4.3 Watchdog Operation in Low Power Modes .................................................................... 573.4.4 Emulation Considerations ........................................................................................ 573.4.5 Watchdog Registers .............................................................................................. 583.5 32-Bit CPU Timers 0/1/2 .................................................................................................. 60
4 General-Purpose Input/Output (GPIO) ......................................................................... 65
SPRUFB0C – September 2007 – Revised May 2009 Contents 3Submit Documentation Feedback