2.21. Syscfg

2.21.1. Overview

The system config block controls miscellaneous chip settings including:

2.21.2. List of Registers

The system config registers start at a base address of 0x40004000 (defined as SYSCFG_BASE in SDK).

Table 353. List of SYSCFG registers

OffsetNameInfo
0x00PROC0_NMI_MASKProcessor core 0 NMI source mask
0x04PROC1_NMI_MASKProcessor core 1 NMI source mask
0x08PROC_CONFIGConfiguration for processors
0x0cPROC_IN_SYNC_BYPASSFor each bit, if 1, bypass the input synchronizer between that GPIO and the GPIO input register in the SIO. The input synchronizers should generally be unbypassed, to avoid injecting metastabilities into processors.
If you're feeling brave, you can bypass to save two cycles of input latency. This register applies to GPIO 0...29.
0x10PROC_IN_SYNC_BYPASS_HIFor each bit, if 1, bypass the input synchronizer between that GPIO and the GPIO input register in the SIO. The input synchronizers should generally be unbypassed, to avoid injecting metastabilities into processors.
If you're feeling brave, you can bypass to save two cycles of input latency. This register applies to GPIO 30...35 (the QSPI IOs).
0x14DBGFORCEDirectly control the SWD debug port of either processor
0x18MEMPOWERDOWNControl power downs to memories. Set high to power down memories.
Use with extreme caution

SYSCFG: PROC0_NMI_MASK Register

Offset: 0x00

Description

Processor core 0 NMI source mask

Table 354.
PROC0_NMI_MASK
Register

BitsDescriptionTypeReset
31:0Set a bit high to enable NMI from that IRQRW0x00000000

SYSCFG: PROC1_NMI_MASK Register

Offset: 0x04

Description

Processor core 1 NMI source mask

Table 355.
PROC1_NMI_MASK
Register

BitsDescriptionTypeReset
31:0Set a bit high to enable NMI from that IRQRW0x00000000

SYSCFG: PROC_CONFIG Register

Offset: 0x08

Description

Configuration for processors

Table 356.
PROC_CONFIG
Register

BitsDescriptionTypeReset
31:28PROC1_DAP_INSTID : Configure proc1 DAP instance ID.
Recommend that this is NOT changed until you require debug access in multi-chip environment
WARNING: do not set to 15 as this is reserved for RescueDP
RW0x1
27:24PROC0_DAP_INSTID : Configure proc0 DAP instance ID.
Recommend that this is NOT changed until you require debug access in multi-chip environment
WARNING: do not set to 15 as this is reserved for RescueDP
RW0x0
23:2Reserved.--
1PROC1_HALTED : Indication that proc1 has haltedRO0x0
0PROC0_HALTED : Indication that proc0 has haltedRO0x0

SYSCFG: PROC_IN_SYNC_BYPASS Register

Offset: 0x0c

Table 357.
PROC_IN_SYNC_BYPASS
Register

BitsDescriptionTypeReset
31:30Reserved.--
29:0For each bit, if 1, bypass the input synchronizer between that GPIO and the GPIO input register in the SIO. The input synchronizers should generally be unbypassed, to avoid injecting metastabilities into processors. If you're feeling brave, you can bypass to save two cycles of input latency. This register applies to GPIO 0...29.RW0x00000000

SYSCFG: PROC_IN_SYNC_BYPASS_HI Register

Offset: 0x10

Table 358.
PROC_IN_SYNC_BYPASS_HI
Register

BitsDescriptionTypeReset
31:6Reserved.--
5:0For each bit, if 1, bypass the input synchronizer between that GPIO and the GPIO input register in the SIO. The input synchronizers should generally be unbypassed, to avoid injecting metastabilities into processors. If you're feeling brave, you can bypass to save two cycles of input latency. This register applies to GPIO 30...35 (the QSPI I/Os).RW0x00

SYSCFG: DBGFORCE Register

Offset: 0x14

Description

Directly control the SWD debug port of either processor

Table 359. DBGFORCE
Register

BitsDescriptionTypeReset
31:8Reserved.--
7PROC1_ATTACH : Attach processor 1 debug port to syscfg controls, and disconnect it from external SWD pads.RW0x0
6PROC1_SWCLK : Directly drive processor 1 SWCLK, if PROC1_ATTACH is setRW0x1
BitsDescriptionTypeReset
5PROC1_SWDI : Directly drive processor 1 SWDIO input, if PROC1_ATTACH is setRW0x1
4PROC1_SWDO : Observe the value of processor 1 SWDIO output.RO-
3PROC0_ATTACH : Attach processor 0 debug port to syscfg controls, and disconnect it from external SWD pads.RW0x0
2PROC0_SWCLK : Directly drive processor 0 SWCLK, if PROC0_ATTACH is setRW0x1
1PROC0_SWDI : Directly drive processor 0 SWDIO input, if PROC0_ATTACH is setRW0x1
0PROC0_SWDO : Observe the value of processor 0 SWDIO output.RO-

SYSCFG: MEMPOWERDOWN Register

Offset: 0x18

Description

Control power downs to memories. Set high to power down memories.
Use with extreme caution

Table 360.
MEMPOWERDOWN
Register

BitsDescriptionTypeReset
31:8Reserved.--
7ROMRW0x0
6USBRW0x0
5SRAM5RW0x0
4SRAM4RW0x0
3SRAM3RW0x0
2SRAM2RW0x0
1SRAM1RW0x0
0SRAM0RW0x0