GCR Global Control Registers. 0x40000000 0 0x400 registers SYSCTRL System Control. 0x00 0xFFFFFFFE BSTAPEN Boundary Scan TAP enable. When enabled, the JTAG port is connected to the Boundary Scan TAP. Otherwise, the port is connected to the ARM ICE function. This bit is reset by the POR. Reset value and access depend on the part number. 0 1 dis Boundary Scan TAP port disabled. 0 en Boundary Scan TAP port enabled. 1 SBUSARB System bus abritration scheme. These bits are used to select between Fixed-burst abritration and Round-Robin scheme. The Round-Robin scheme is selected by default. These bits are reset by the system reset. 1 2 fix Fixed Burst abritration. 0 round Round-robin scheme. 1 FLASH0_PAGE_FLIP Flips the Flash bottom and top halves. (Depending on the total flash size, each half is either 256K or 512K). Initiating a flash page flip will cause a flush of both the data buffer on the DCODE bus and the internal instruction buffer. 4 1 normal Physical layout matches logical layout. 0 swapped Bottom half mapped to logical top half and vice versa. 1 FPU_DIS Cortex M4 Floating Point Disable This bit is used to disable the floating-point unit of the Cortex-M4. 5 1 ICC0_FLUSH Code Cache Flush. This bit is used to flush the code caches and the instruction buffer of the Cortex-M4. 6 1 normal Normal Code Cache Operation 0 flush Code Caches and CPU instruction buffer are flushed 1 SRCC_FLUSH Data Cache Flush. The system cache (s) will be flushed when this bit is set. 7 1 normal Normal System Cache Operation 0 flush System Cache is flushed 1 SRCC_DIS Data Cache Disable. The system cache (s) will be completely disabled when this bit is set. 9 1 en Is enabled. 0 dis Is Disabled. 1 CCHK Compute ROM Checksum. This bit is self-cleared when calculation is completed. Once set, software clearing this bit is ignored and the bit will remain set until the operation is completed. 13 1 complete No operation/complete. 0 start Start operation. 1 CHKRES ROM Checksum Result. This bit is only valid when CHKRD=1. 15 1 pass ROM Checksum Correct. 0 fail ROM Checksum Fail. 1 RST0 Reset. 0x04 DMA DMA Reset. 0 1 WDT0 Watchdog Timer Reset. 1 1 GPIO0 GPIO0 Reset. Setting this bit to 1 resets GPIO0 pins to their default states. 2 1 GPIO1 GPIO1 Reset. Setting this bit to 1 resets GPIO1 pins to their default states. 3 1 GPIO2 GPIO2 Reset. Setting this bit to 1 resets GPIO2 pins to their default states. 4 1 TMR0 Timer0 Reset. Setting this bit to 1 resets Timer 0 blocks. 5 1 TMR1 Timer1 Reset. Setting this bit to 1 resets Timer 1 blocks. 6 1 TMR2 Timer2 Reset. Setting this bit to 1 resets Timer 2 blocks. 7 1 TMR3 Timer3 Reset. Setting this bit to 1 resets Timer 3 blocks. 8 1 TMR4 Timer4 Reset. Setting this bit to 1 resets Timer 4 blocks. 9 1 TMR5 Timer5 Reset. Setting this bit to 1 resets Timer 5 blocks. 10 1 UART0 UART0 Reset. Setting this bit to 1 resets all UART 0 blocks. 11 1 UART1 UART1 Reset. Setting this bit to 1 resets all UART 1 blocks. 12 1 SPI0 SPI0 Reset. Setting this bit to 1 resets all SPI 0 blocks. 13 1 SPI1 SPI1 Reset. Setting this bit to 1 resets all SPI 1 blocks. 14 1 SPI2 SPI2 Reset. Setting this bit to 1 resets all SPI 2 blocks. 15 1 I2C0 I2C0 Reset. 16 1 RTC Real Time Clock Reset. 17 1 CRYPTO Cryptographic Reset. Setting this bit to 1 resets the AES block, the SHA block and the DES block. 18 1 TMR6 Timer6 Reset. Setting this bit to 1 resets Timer 6 blocks. 20 1 TMR7 Timer7 Reset. Setting this bit to 1 resets Timer 7 blocks. 21 1 CLCD CLCD Reset. Setting this bit to 1 resets the CLCD block. 22 1 USB USB Reset. Setting this bit resets both USB blocks. 23 1 ADC Analog to Digital Reset. 26 1 UART2 UART2 Reset. Setting this bit to 1 resets all UART 2 blocks. 28 1 SOFT Soft Reset. Setting this bit to 1 resets everything except the CPU and the watchdog timer. 29 1 PERIPH Peripheral Reset. Setting this bit to 1 resets all peripherals. The CPU core, the watchdog timer, and all GPIO pins are unaffected by this reset. 30 1 SYS System Reset. Setting this bit to 1 resets the CPU core and all peripherals, including the watchdog timer. 31 1 CLKCTRL Clock Control. 0x08 0x00000008 SYSCLK_DIV Prescaler Select. This 3 bit field sets the system operating frequency by controlling the prescaler that divides the output of the PLL0. 6 3 div1 Divide by 1. 0 div2 Divide by 2. 1 div4 Divide by 4. 2 div8 Divide by 8. 3 div16 Divide by 16. 4 div32 Divide by 32. 5 div64 Divide by 64. 6 div128 Divide by 128. 7 SYSCLK_SEL Clock Source Select. This 3 bit field selects the source for the system clock. 9 3 ISO Internal Secondary Oscilatior Clock 0 ERFO 27MHz Crystal is used for the system clock. 2 INRO 8kHz Internal Nano Ring Oscillator is used for the system clock. 3 IPO The internal Primary oscillator is used for the system clock. 4 IBRO The internal Baud Rate oscillator is used for the system clock. 5 ERTCO 32kHz is used for the system clock. 6 SYSCLK_RDY Clock Ready. This read only bit reflects whether the currently selected system clock source is running. 13 1 read-only busy Switchover to the new clock source (as selected by CLKSEL) has not yet occurred. 0 ready System clock running from CLKSEL clock source. 1 CCD Cryptographic clock divider 15 1 read-only non_div The cryptographic accelerator clock is running in non-divided mode. 0 div The cryptographic accelerator clock is running in divided mode. 1 ERFO_EN 27MHz Crystal Oscillator Enable. 16 1 dis Is Disabled. 0 en Is Enabled. 1 ERTCO_EN 32kHz Crystal Oscillator Enable. 17 1 ISO_EN 60MHz High Frequency Internal Reference Clock Enable. 18 1 IPO_EN 96MHz High Frequency Internal Reference Clock Enable. 19 1 IBRO_EN 8MHz High Frequency Internal Reference Clock Enable. 20 1 IBRO_VS 7.3728MHz Internal Oscillator Voltage Source Select 21 1 ERFO_RDY 27MHz Crystal Oscillator Ready 24 1 read-only not Is not Ready. 0 ready Is Ready. 1 ERTCO_RDY 32kHz Crystal Oscillator Ready 25 1 read-only not Is not Ready. 0 ready Is Ready. 1 ISO_RDY 60MHz ISO Ready. 26 1 IPO_RDY Internal Primary Oscillator Ready. 27 1 IBRO_RDY Internal Baud Rate Oscillator Ready. 28 1 INRO_RDY Internal Nano Ring Oscillator Low Frequency Reference Clock Ready. 29 1 PM Power Management. 0x0C MODE Operating Mode. This two bit field selects the current operating mode for the device. Note that code execution only occurs during ACTIVE mode. 0 3 active Active Mode. 0 deepsleep DeepSleep Mode. 2 shutdown Shutdown Mode. 3 backup Backup Mode. 4 GPIO_WE GPIO Wake Up Enable. This bit enables all GPIO pins as potential wakeup sources. Any GPIO configured for wakeup is capable of causing an exit from IDLE or STANDBY modes when this bit is set. 4 1 RTC_WE RTC Alarm Wake Up Enable. This bit enables RTC alarm as wakeup source. If enabled, the desired RTC alarm must be configured via the RTC control registers. 5 1 USB_WE USB Wake Up Enable. This bit enables USB activity as wakeup source. 6 1 HA0_WE Hardware Accelerator 0 Wake Up Enable. This bit enables USB activity as wakeup source. 7 1 HA1_WE Hardware Accelerator 1 Wake Up Enable. This bit enables USB activity as wakeup source. 9 1 ERFO_PD Radio Frequency oscilator Crystal Power Down. This bit selects the power state in DEEPSLEEP mode. 12 1 active Mode is Active. 0 deepsleep Powered down in DEEPSLEEP. 1 ISO_PD Internal Secondary Oscilator Power Down. This bit selects the power state in DEEPSLEEP mode. 15 1 active Mode is Active. 0 deepsleep Powered down in DEEPSLEEP. 1 IPO_PD Internal Primary Oscilatory power down. This bit selects the power state in DEEPSLEEP mode. 16 1 active Mode is Active. 0 deepsleep Powered down in DEEPSLEEP. 1 IBRO_PD Internal Baud Rate Oscillator power down. This bit selects the power state in DEEPSLEEP mode. 17 1 active Mode is Active. 0 deepsleep Powered down in DEEPSLEEP. 1 NFC_PD When set, the NFC radio becomes inactive when the upon entering DEEPSLEEP mode 18 1 active Mode is Active. 0 deepsleep Powered down in DEEPSLEEP. 1 XTALBP XTAL Bypass 20 1 normal Normal 0 bypass Bypass 1 PCLKDIV Peripheral Clock Divider. 0x18 0x00000001 PCF These bits determine the clock frequency for the UART, I2C and Key Pad peripherals. These peripherals have an adaptive clock generator that dynamically adjusts the peripheral frequency based on the main system bus frequency. These bits are dynamically updated when the PLL0 is selected as the system clock source and are set by hardware. These bits determine the clock frequency for the UART, I2C and Key Pad peripherals. These peripherals have an adaptive clock generator that dynamically adjusts the peripheral frequency based on the main system bus frequency. These bits are dynamically updated when the PLL0 is selected as the system clock source and are set by hardware. 0 3 96MHz 2 48MHz 3 24MHz 4 12MHz 5 6MHz 6 3MHz 7 PCFWEN PCF Write Enable. This bit allows the PCF Register bits to be updated by Software. 3 1 blocked Writes to PCF are blocked. 0 allowed Writes to PCF are allowed 1 SDHCFRQ SDHC Clock Frequency. This bits defines the clock frequency of SDHC. 7 1 48MHz 0 24MHz 1 ADCFRQ ADC clock Frequency. These bits define the ADC clock frequency. FADC = FPCLK/ (ADCFRQ). 10 4 AON_CLKDIV Always-ON (AON) domain CLock Divider. These bits define the AON domain clock divider. 14 2 div_4 PCLK divide by 4. 0 div_8 PCLK divide by 8. 1 div_16 PCLK divide by 16. 2 div_32 PCLK divide by 32. 3 PCLKDIS0 Peripheral Clock Disable. 0x24 GPIO0 GPIO0 Clock Disable. 0 1 en enable it. 0 dis disable it. 1 GPIO1 GPIO1 Disable. 1 1 GPIO2 GPIO2 Disable. 2 1 USB USB Disable. 3 1 CLCD CLCD Disable. 4 1 DMA DMA Disable. 5 1 SPI0 SPI 0 Disable. 6 1 SPI1 SPI 1 Disable. 7 1 SPI2 SPI 2 Disable. 8 1 UART0 UART 0 Disable. 9 1 UART1 UART 1 Disable. 10 1 I2C0 I2C 0 Disable. 13 1 CRYPTO Crypto Disable. 14 1 TMR0 Timer 0 Disable. 15 1 TMR1 Timer 1 Disable. 16 1 TMR2 Timer 2 Disable. 17 1 TMR3 Timer 3 Disable. 18 1 TMR4 Timer 4 Disable. 19 1 TMR5 Timer 5 Disable. 20 1 KBD Secure Keyboard Disable. 22 1 ADC ADC Disable. 23 1 TMR6 Timer 6 Disable. 24 1 TMR7 Timer 7 Disable. 25 1 HTMR0 HTimer 0 Disable. 26 1 HTMR1 HTimer 1 Disable. 27 1 I2C1 I2C 1 Disable. 28 1 PT PT Clock Disable. 29 1 SPIXIP SPI XiP Disable. 30 1 SPIM SPI XiP Master Controller Disable. 31 1 MEMCTRL Memory Clock Control Register. 0x28 FWS Flash Wait State. These bits define the number of wait-state cycles per Flash data read access. Minimum wait state is 2. 0 3 RAMWS_EN SRAM Wait State Enable 4 1 RAM0LS_EN System RAM 0 Light Sleep Mode. 16 1 active RAM is active. 0 light_sleep RAM is in Light Sleep mode. 1 RAM1LS_EN System RAM 1 Light Sleep Mode. 17 1 RAM2LS_EN System RAM 2 Light Sleep Mode. 18 1 RAM3LS_EN System RAM 3 Light Sleep Mode. 19 1 RAM4LS_EN System RAM 4 Light Sleep Mode. 20 1 RAM5LS_EN System RAM 5 Light Sleep Mode. 21 1 ICC0LS_EN ICache RAM Light Sleep Mode. 24 1 ICCXIPLS_EN ICACHE-XIP RAM Light Sleep Mode. 25 1 SRCCLS_EN SysCache RAM Light Sleep Mode. 26 1 CRYPTOLS_EN CRYPTO RAM Light Sleep Mode. 27 1 USBLS_EN USB FIFO Light Sleep Mode. 28 1 ROMLS_EN ROM Light Sleep Mode. 29 1 MEMZ Memory Zeroize Control. 0x2C RAM0 System RAM Block 0. 0 1 nop No operation/complete. 0 start Start operation. 1 RAM1 System RAM Block 1. 1 1 RAM2 System RAM Block 2. 2 1 RAM3 System RAM Block 3. 3 1 RAM4 System RAM Block 4. 4 1 RAM5 System RAM Block 5. 5 1 RAM6 System RAM Block 6. 6 1 ICC0 Instruction Cache. 8 1 ICCXIP Instruction Cache XIP Data and Tag Ram zeroizatoin. 9 1 SCACHEDATA System Cache Data Ram Zeroization. 10 1 SCACHETAG System Cache Tag Zeroization. 11 1 CRYPTO Crypto (MAA) Memory. 12 1 USBFIFO USB FIFO Zeroization. 13 1 SCCK Smart Card Clock Control. 0x34 0x00000000 SC0CD Smart Card0 Clock Divider 0 6 SC1CD Smart Card1 Clock Divider 8 6 SYSST System Status Register. 0x40 ICELOCK ARM ICE Lock Status. 0 1 unlocked ICE is unlocked. 0 locked ICE is locked. 1 CODEINTERR Code Integrity Error Flag. This bit indicates a code integrity error has occured in XiP interface. 1 1 norm Normal Operating Condition. 0 code Code Integrity Error. 1 SCMEMF System Cache Memory Fault Flag. This bit indicates a memory fault has occured in the System Cache while receiving data from the Hyperbus Interface. 5 1 norm Normal Operating Condition. 0 memory Memory Fault. 1 RST1 Reset 1. 0x44 I2C1 I2C1 Reset. 0 1 PT PT Reset. 1 1 SPIXIP SPI XiP Master Reset. 3 1 XSPIM GSPI XiP Master Controller Reset. 4 1 GPIO3 GPIO3 Reset. 5 1 SDHC SDHC/SDIO Reset. 6 1 OWIRE OWIRE Reset. 7 1 WDT1 WDT1 Reset. 8 1 SPI3 SPI3 Reset. 9 1 AC AC Reset. 14 1 SPIXMEM SPIXMEM Reset. 15 1 I2C2 I2C2 Reset. 17 1 UART3 UART3 Reset. 18 1 UART4 UART4 Reset. 19 1 UART5 UART5 Reset. 20 1 KBD KBD Reset. 21 1 ADC9 ADC9 Reset. 22 1 SC0 SC0 Reset. 23 1 SC1 SC1 Reset. 24 1 NFC NFC Reset. 25 1 EMAC EMAC Reset. 26 1 PCIF PCIF Reset. 27 1 HTMR0 HTIMER0 Reset. 28 1 HTMR1 HTIMER1 Reset. 29 1 PCLKDIS1 Peripheral Clock Disable. 0x48 UART2 UART2 Disable. 1 1 en Enable. 0 dis Disable. 1 TRNG TRNG Disable. 2 1 WDT0 WDT0 Clock Disable 4 1 WDT1 WDT1 Clock Disable 5 1 GPIO3 GPIO3 Disable 6 1 SCACHE System Cache Clock Disable. 7 1 HA0 Hardware Accelerator 0 Clock Disable. 8 1 SDHC SDHC/SDIO Clock Disable. 10 1 ICC0 ICache Clock Disable. 11 1 ICCXIP ICache XIP Clock Disable. 12 1 OWIRE One-Wire Clock Disable. 13 1 SPI3 SPI3 Clock Disable. 14 1 SPIXIP SPI-XIP Data Clock Disable 20 1 I2C2 I2C2 Clock Disable 21 1 UART3 UART3 Clock Disable 22 1 UART4 UART4 Clock Disable 23 1 UART5 UART5 Clock Disable 24 1 ADC9 ADC9 Clock Disable 25 1 SC0 SC0 Clock Disable 26 1 SC1 SC1 Clock Disable 27 1 NFC NFC Clock Disable 28 1 EMAC EMAC Clock Disable 29 1 HA1 Hardware Accelerator 1 Clock Disable 30 1 PCIF PCIF Clock Disable 31 1 EVENTEN Event Enable Register. 0x4C DMA Enable DMA event. When this bit is set, a DMA event will cause an RXEV event to wake the CPU from WFE sleep mode. 0 1 RX Enable RXEV pin event. When this bit is set, a logic high of GPIO0[24] will cause an RXEV event to wake the CPU from WFE sleep mode. 1 1 TX Enable TXEV pin event. When this bit is set, TXEV event from the CPU is output to GPIO[25]. 2 1 REVISION Revision Register. 0x50 read-only REVISION Manufacturer Chip Revision. 0 16 SYSIE System Status Interrupt Enable Register. 0x54 ICEUNLOCK ARM ICE Unlock Interrupt Enable. 0 1 dis disabled. 0 en enabled. 1 CIE Code Integrity Error Interrupt Enable. 1 1 SCMF System Cache Memory Fault Interrupt Enable. 5 1 IPOCNT IPO Warmup Count Register. 0x58 WMUPCNT TBD 0 10 ECCERR ECC Error Register 0x64 RAM0 ECC System RAM0 Error Flag. Write 1 to clear. 0 1 RAM1 ECC System RAM1 Error Flag. Write 1 to clear. 1 1 RAM2 ECC System RAM2 Error Flag. Write 1 to clear. 2 1 RAM3 ECC System RAM3 Error Flag. Write 1 to clear. 3 1 RAM4 ECC System RAM4 Error Flag. Write 1 to clear. 4 1 RAM5 ECC System RAM5 Error Flag. Write 1 to clear. 5 1 ICC0 ECC Icache0 Error Flag. Write 1 to clear. 8 1 ICSPIXF ECC SFCC Instruction Cache Error Flag. Write 1 to clear. 10 1 FLASH0 ECC Flash0 Error Flag. Write 1 to clear. 11 1 FLASH1 ECC Flash1 Error Flag. Write 1 to clear. 12 1 ECCCED ECC Not Double Error Detect Register 0x68 RAM0 ECC System RAM0 Error Flag. Write 1 to clear. 0 1 RAM1 ECC System RAM1 Not Double Error Detect. Write 1 to clear. 1 1 RAM2 ECC System RAM2 Not Double Error Detect. Write 1 to clear. 2 1 RAM3 ECC System RAM3 Not Double Error Detect. Write 1 to clear. 3 1 RAM4 ECC System RAM4 Not Double Error Detect. Write 1 to clear. 4 1 RAM5 ECC System RAM5 Not Double Error Detect. Write 1 to clear. 5 1 ICC0 ECC Icache0 Not Double Error Detect. Write 1 to clear. 8 1 ICSPIXF ECC IcacheXIP Not Double Error Detect. Write 1 to clear. 10 1 FLASH0 ECC Flash0 Not Double Error Detect. Write 1 to clear. 11 1 FLASH1 ECC Flash1 Not Double Error Detect. Write 1 to clear. 12 1 ECCIE ECC IRQ Enable Register 0x6C RAM0 ECC System RAM0 Interrupt Enable. 0 1 RAM1 ECC System RAM1 Interrupt Enable. 1 1 RAM2 ECC System RAM2 Interrupt Enable. 2 1 RAM3 ECC System RAM3 Interrupt Enable. 3 1 RAM4 ECC System RAM4 Interrupt Enable. 4 1 RAM5 ECC System RAM5 Interrupt Enable. 5 1 ICC0 ECC Icache0 Interrupt Enable. 8 1 ICSPIXF ECC IcacheXIP Interrupt Enable. 10 1 FLASH0 ECC Flash0 Interrupt Enable. 11 1 FLASH1 ECC Flash1 Interrupt Enable. 12 1 ECCADDR ECC Error Address Register 0x70 DATARAMADDR ECC Error Address/DATA RAM Error Address 0 14 DATARAMBANK ECC Error Address/DATA RAM Error Bank 14 1 DATARAMERR DATA RAM ERROR 15 1 TAGRAMADDR ECC Error Address/TAG RAM Error Address 16 14 TAGRAMBANK ECC Error Address/TAG RAM Error Bank 30 1 TAGRAMERR TAG RAM ERROR 31 1 NFC_LDOCR NFC LDO Control Register 0x74 EN Enabled the dedicated NFC LDO 4 1 PULLD Enabled the dedicated NFC LDO pin pulldown 5 1 VSEL Voltage Selection for NFC LDO 6 2 BYPEN Bypass enable 8 1 DISCH TBD 9 1 EN_DLY TBD 15 1 BYP_EN_DLY TBD 14 1 NFCLDO_DLY NFC LDO Delay Register 0x78 BYPCNT TBD 0 8 ENCNT TBD 8 8