Specifications

Application Report
SPNA106 September 2011
Initialization of Hercules ARM
®
Cortex-R4F
Microcontrollers
Sunil Oak........................................................................................................................................
ABSTRACT
This application report provides a brief overview and initialization procedure of the TMS570LS31x series
and the RM4x series of microcontrollers in the Hercules family. "Hercules MCU" will be used henceforth in
this document to refer to any part in these series of microcontrollers.
The document also shows code fragments from source files that are generated using the nowGen tool. All
code constructs used in this document are defined in header files also generated by the same utility.
Contents
1 Block Diagram ............................................................................................................... 3
2 Standard Initialization Sequence for Hercules Microcontrollers ...................................................... 4
3 References ................................................................................................................. 32
List of Figures
1 Device Block Diagram...................................................................................................... 3
2 Color Legend for Block Diagram.......................................................................................... 3
3 FMPLL Block Diagram ..................................................................................................... 5
4 PLL Control Register 1 (PLLCTL1) Address = 0xFFFFFF70 ......................................................... 6
5 PLL Control Register 2 (PLLCTL2) Address = 0xFFFFFF74 ......................................................... 7
6 Clock Source Disable Register (CSDIS) Address = 0xFFFFFF30 ................................................... 8
7 Clock Source Disable Set Register (CSDISSET) Address = 0xFFFFFF34 ......................................... 9
8 Clock Source Disable Clear Register (CSDISCLR) Address = 0xFFFFFF38....................................... 9
9 Flash Read Control Register (FRDCNTL) Address = 0xFFF87000 ................................................ 14
10 Flash State Machine Write Enable Control Register (FSM_WR_ENA) Address = 0xFFF87288 ............... 15
11 Flash EEPROM Configuration Register (EEPROM_CONFIG) Address = 0xFFF872B8 ........................ 15
12 Flash Bank Fall-Back Control Register (FBFALLBACK) Address = 0xFFF87040................................ 16
13 Flash Bank Access Control Register (FBAC) Address = 0xFFF8703C ............................................ 17
14 Flash Pump Access Control Register 1 (FPAC1) Address = 0xFFF87048........................................ 18
15 Flash Pump Access Control Register 2 (FPAC2) Address = 0xFFF8704C ....................................... 18
16 GCLK, HCLK , VCLKx Source Register (GHVSRC) Address = 0xFFFFFF48 .................................... 19
17 Asynchronous Clock Source Register (VCLKASRC) Address = 0xFFFFFF4C................................... 20
18 Asynchronous Clock Configuration Register 1 (VCLKACON1) Address = 0xFFFFE140........................ 20
19 RTI Clock Source Register (RCLKSRC) Address = 0xFFFFFF50.................................................. 21
20 Peripheral Clock Control Register (CLKCNTL) Address = 0xFFFFFFD0.......................................... 21
21 Clock Control Register 2 (CLK2CNTL) Address = 0xFFFFE13C ................................................... 22
22 Memory Hardware Initialization Global Control Register (MINITGCR) Address = 0xFFFFFF5C............... 24
23 Memory Self-Test / Initialization Control Register (MSIENA) Address = 0xFFFFFF60 .......................... 25
24 Memory Self-Test / Initialization Status Register (MSTCGSTAT) Address = 0xFFFFFF68 ..................... 25
Hercules is a trademark of Texas Instruments.
Cortex is a trademark of ARM Limited.
ARM is a registered trademark of ARM Limited.
All other trademarks are the property of their respective owners.
1
SPNA106 September 2011 Initialization of Hercules ARM
®
Cortex-R4F Microcontrollers
Submit Documentation Feedback
Copyright © 2011, Texas Instruments Incorporated

Summary of content (33 pages)