14. System configuration controller (SYSCFG)

The system configuration controller is mainly used to manage the compensation cell and other IOs and system related settings. This section applies to the whole STM32MP157 family, unless otherwise specified.

14.1 I/O compensation cell

By default the I/O compensation cell is not used. However when the I/O output buffer speed is configured in 50 MHz mode and above, it is recommended to use the compensation cell for a slew rate control on I/O \(t_{f(IO)out}/t_{r(IO)out}\) commutation to reduce the I/O noise on the power supply.

Note: When enabled, the compensation cell has only impact on I/Os with \(GPIOx_OSPEEDRy = 0b10\) or 0b11.

When the compensation cell is enabled, a READY flag is set to indicate that the compensation cell is ready and can be used, the compensation value is then continuously updated.

Figure 125. I/O compensation control overview

Block diagram of I/O compensation control overview. It shows the interaction between BSEC (OTP fuses), SYSCFG_CMPCR registers, SYSCFG_CMPENSETR and SYSCFG_CMPENCLRR registers, and the IO Compensation cell. The IO Compensation cell includes Compensation measurement, a multiplexer for AxsRC and RAxsRC, and a Level Shifter. The output goes through padding to an IO pin. Control signals like EN, READY, and SW_CTRL are shown.

The diagram illustrates the I/O compensation control architecture. It includes the following components and connections:

Block diagram of I/O compensation control overview. It shows the interaction between BSEC (OTP fuses), SYSCFG_CMPCR registers, SYSCFG_CMPENSETR and SYSCFG_CMPENCLRR registers, and the IO Compensation cell. The IO Compensation cell includes Compensation measurement, a multiplexer for AxsRC and RAxsRC, and a Level Shifter. The output goes through padding to an IO pin. Control signals like EN, READY, and SW_CTRL are shown.

MS44737V2

Sequence to enable IO compensation:

  1. 1. Ensure the CSI oscillator is enabled and ready (in RCC)
  2. 2. Set SYSCFG_CMPENSETR.MCU_EN or MPU_EN = 1
  3. 3. Wait SYSCFG_CMPCR.READY = 1
  4. 4. Set SYSCFG_CMPCR.SW_CTRL = 0

Sequence to disable the IO compensation, holding the current compensation value (e.g. before going to STOP):

  1. 1. Copy actual value of SYSCFG_CMPCR.APSRC[3:0]/ANSRC[3:0] in SYSCFG_CMPCR.RAPSRC[3:0]/RANSRC[3:0]
  2. 2. Set SYSCFG_CMPCR.SW_CTRL = 1
  3. 3. Set SYSCFG_CMPENCLRR.MCU_EN and MPU_EN = 1

Note: the CSI oscillator is disabled automatically in Stop mode if not requested for other usages, and the CSI is always OFF in Standby mode.

14.2 Ethernet clock source

Depending on the external ethernet PHY, the ETH_CLK clock can have various usage:

Figure 126. Ethernet clock source

Block diagram of Ethernet clock source showing connections between ETH, RCC, AFMUX, and pins PG5 and PA1.

The diagram illustrates the Ethernet clock source configuration. It features three main blocks: ETH, RCC, and AFMUX. The RCC block provides the ETH_CLK signal. The AFMUX block contains multiplexers for PG5-AF11 and PA1-AF11/PA1-AF0. The ETH block receives CLK125 and REF_CLK signals. Two multiplexers are shown: one for ETH_CLK_SEL (selecting between PG5-AF11 and ETH_CLK) and one for ETH_REF_CLK_SEL (selecting between PA1-AF11 and ETH_CLK). The output of the first multiplexer is CLK125, which is fed into the ETH block. The output of the second multiplexer is REF_CLK, which is also fed into the ETH block. The AFMUX block also has an output for 'other AFMUX outputs'. The diagram is labeled MS44738V2 in the bottom right corner.

Block diagram of Ethernet clock source showing connections between ETH, RCC, AFMUX, and pins PG5 and PA1.

The ethernet clock source is controlled through the SYSCFG_PMCSETR/CLRR registers.

14.3 SYSCFG registers

14.3.1 SYSCFG boot pins control register (SYSCFG_BOOTR)

Address offset: 0x000

Reset value: 0x0000 000X

This register is used to know the state of BOOT pins and to control pull-up to reduce the static power consumption on the pin set to high level.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.BOOT2
_PD
BOOT1
_PD
BOOT0
_PD
Res.BOOT2BOOT1BOOT0
rwrwrwrrr

Bits 31:7 Reserved, must be kept at reset value.

Bit 6 BOOT2_PD: BOOT2 pin pull-down disable. This is used to save power in case the BOOT2 pin is connected to VDD.

0: (enabled) pull-down enabled. The BOOT2 pin can be left open and will take a value of 0 if open.

1: (disabled) pull-down disabled. The BOOT2 pin must not be left open.

Bit 5 BOOT1_PD: BOOT1 pin pull-down disable. This is used to save power in case the BOOT1 pin is connected to VDD

0: (enabled) pull-down enabled. The BOOT1 pin can be left open and will take a value of 0 if open.

1: (disabled) pull-down disabled. The BOOT1 pin must not be left open.

Bit 4 BOOT0_PD: BOOT0 pin pull-down disable. This is used to save power in case the BOOT0 pin is connected to VDD

0: (enabled) pull-down enabled. The BOOT0 pin can be left open and will take a value of 0 if open.

1: (disabled) pull-down disabled. The BOOT0 pin must not be left open.

Bit 3 Reserved, must be kept at reset value.

Bit 2 BOOT2: BOOT2 pin value

0: (low) BOOT2 pin connected to VSS (or left open if BOOT2_PD=0)

1: (high) BOOT2 pin connected to VDD

Bit 1 BOOT1: BOOT1 pin value

0: (low) BOOT1 pin connected to VSS (or left open if BOOT1_PD=0)

1: (high) BOOT1 pin connected to VDD

Bit 0 BOOT0: BOOT0 pin value

0: (low) BOOT0 pin connected to VSS (or left open if BOOT0_PD=0)

1: (high) BOOT0 pin connected to VDD

14.3.2 SYSCFG peripheral mode configuration set register (SYSCFG_PMCSETR)

Address offset: 0x004

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.ANA1_SELANA0_SELETH_SEL[2:0]ETH_SELMIRes.Res.ETH_REF_CLK_SELETH_CLK_SEL
rsrsrsrsrsrsrsrs
1514131211109876543210
Res.Res.Res.Res.Res.Res.ANASW_VDDEN_BOOSTERRes.Res.I2C6_FMPI2C5_FMPI2C4_FMPI2C3_FMPI2C2_FMPI2C1_FMP
rsrsrsrsrsrsrsrs

Bits 31:26 Reserved, must be kept at reset value.

Bit 25 ANA1_SEL: controls analog connection between the ANA1 and PA1 pin.

Set by software.

0: Writing '0' has no effect, reading '0' means no connection. For best ADC performance the ANA1 input must be used for package having ANA1 pin present.

1: Writing '1' set this bit, reading '1' means ANA1 internally connected to PA1. Must only be used on package not having ANA1 pin.

Bit 24 ANA0_SEL: controls analog connection between ANA0 and PA0 pin.

Set by software.

0: Writing '0' has no effect, reading '0' means no connection. For best ADC performance ANA0 input must be used for package having ANA0 pin present.

1: Writing '1' set this bit, reading '1' means ANA0 internally connected to PA0. Must only be used on package not having ANA0 pin.

Bits 23:21 ETH_SEL[2:0]: Ethernet PHY interface selection.

Set by software. Writing bit as '0' has no effect, set individual bits by writing '1', reading means

000: GMII or MII

001: RGMII

010: Reserved

011: Reserved

100: RMII

101: Reserved

110: Reserved

111: Reserved

Note: Configuration must be done while the ETH is under reset and before enabling the ETH clocks

Bit 20 ETH_SELMI: controls MII or GMII when ETH_SEL[2:0] = 0b000.

Set by software.

0: (GMII) Writing '0' has no effect, reading '0' means MII/GMII clock mux controlled by ETH GMAC (GMII PHY use case)

1: (MII) Writing '1' set this bit, reading '1' means MII/GMII clock mux forced in MII mode (MII PHY use case)

Bits 19:18 Reserved, must be kept at reset value.

Bit 3 I2C4_FMP: Fast Mode Plus (FM+) Enable

Set by software.

Bit 2 I2C3_FMP: Fast Mode Plus (FM+) Enable

Set by software.

Bit 1 I2C2_FMP: Fast Mode Plus (FM+) Enable

Set by software.

Bit 0 I2C1_FMP: Fast Mode Plus (FM+) Enable

Set by software.

14.3.3 SYSCFG peripheral mode configuration clear register (SYSCFG_PMCCLRR)

Address offset: 0x044

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.ANA1_SELANA0_SELETH_SEL[2:0]ETH_SELMIRes.Res.ETH_REF_CLK_SELETH_CLK_SEL
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
Res.Res.Res.Res.Res.Res.ANASW_VDDEN_BOOSTERRes.Res.I2C6_FMPI2C5_FMPI2C4_FMPI2C3_FMPI2C2_FMPI2C1_FMP
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

Bits 31:26 Reserved, must be kept at reset value.

Bit 25 ANA1_SEL: controls analog connection between the ANA1 and PA1 pin.

Cleared by software.

0: Writing '0' has no effect, reading '0' means no connection. For best ADC performance the ANA1 input must be used for package having ANA1 pin present.

1: Writing '1' clear this bit, reading '1' means ANA1 internally connected to PA1. Must only be used on package not having ANA1 pin.

Bit 24 ANA0_SEL: controls analog connection between ANA0 and PA0 pin.

Cleared by software.

0: Writing '0' has no effect, reading '0' means no connection. For best ADC performance ANA0 input must be used for package having ANA0 pin present.

1: Writing '1' clear this bit, reading '1' means ANA0 internally connected to PA0. Must only be used on package not having ANA0 pin.

Bits 23:21 ETH_SEL[2:0]: Ethernet PHY interface selection.

Cleared by software. Writing bit as '0' has no effect, clear individual bits by writing '1', reading means

000: GMII or MII

001: RGMII

010: Reserved

011: Reserved

100: RMII

101: Reserved

110: Reserved

111: Reserved

Note: Configuration must be done while the ETH is under reset and before enabling the ETH clocks

Bit 20 ETH_SELMI: controls MII or GMII when ETH_SEL[2:0] = 0b000.

Cleared by software.

0: (GMII) Writing '0' has no effect, reading '0' means MII/GMII clock mux controlled by ETH GMAC (GMII PHY use case)

1: (MII) Writing '1' clear this bit, reading '1' means MII/GMII clock mux forced in MII mode (MII PHY use case)

Bits 19:18 Reserved, must be kept at reset value.

Bit 17 ETH_REF_CLK_SEL: Ethernet 50MHz RMII clock selection.

Cleared by software.

0: Writing '0' has no effect, reading '0' means External clock is used. Need selection of AFMux. Could be used with all PHY

1: Writing '1' clear this bit, reading '1' means Internal clock ETH_CLK1 from RCC is used regardless AFMux. Could be used only with RMII PHY.

Bit 16 ETH_CLK_SEL: Gigabit Ethernet 125 MHz clock selection. Only useful for GMII or RGMII PHY

Cleared by software.

0: Writing '0' has no effect, reading '0' means External clock is used. Need selection of AFMux

1: Writing '1' clear this bit, reading '1' means Internal clock ETH_CLK1 from RCC is used regardless AFMux

Bits 15:10 Reserved, must be kept at reset value.

Bit 9 ANASWVDD: GPIO analog switches control voltage selection

Cleared by software.

0: Writing '0' has no effect, reading '0' means IOs analog switches supplied by VDDA (EN_BOOSTER=0) or Booster output (EN_BOOSTER=1)

1: Writing '1' clear this bit, reading '1' means IOs analog switches supplied by VDD (regardless EN_BOOSTER bit, which should be cleared to avoid unwanted power consumption). Useful to avoid using Booster (add current consumption) when VDDA < 2.7V, but VDD > 2.7V.

Bit 8 EN_BOOSTER: Pad Booster enable.

Cleared by software.

used to reduce the Total Harmonic Distortion of the IOs analog switches when VDDA and VDD supplies are below 2.7V. Activating the booster allows to guaranty the AC performance on IOs analog switches. When activated the performance of the analog switch is the same on the full voltage range. This bit is only useful when ANASWVDD=0

0: Writing '0' has no effect, reading '0' means Booster is disabled

1: Writing '1' clear this bit, reading '1' means Booster is enabled. Note that this will add a current consumption on VDD.

Bits 7:6 Reserved, must be kept at reset value.

Bit 5 I2C6_FMP: Fast Mode Plus (FM+) enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means I2C6 usage is possible up to 400 kHz

1: Writing '1' clear this bit, reading '1' means the I2C6 SCL & SDA pads in Fast Mode Plus (FM+), as soon as the correspondent alternate function is selected. The pad low drive is enhanced to allow usage up to 1 MHz.

Bit 4 I2C5_FMP: Fast Mode Plus (FM+) Enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means I2C5 usage is possible up to 400 kHz

1: Writing '1' clear this bit, reading '1' means the I2C5 SCL & SDA pads in Fast Mode Plus (FM+), as soon as the correspondent alternate function is selected. The pad low drive is enhanced to allow usage up to 1 MHz.

Bit 3 I2C4_FMP: Fast Mode Plus (FM+) Enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means I2C4 usage is possible up to 400 kHz

1: Writing '1' clear this bit, reading '1' means the I2C4 SCL & SDA pads in Fast Mode Plus (FM+), as soon as the correspondent alternate function is selected. The pad low drive is enhanced to allow usage up to 1MHz.

Bit 2 I2C3_FMP: Fast Mode Plus (FM+) Enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means I2C3 usage is possible up to 400kHz

1: Writing '1' clear this bit, reading '1' means the I2C3 SCL &amp; SDA pads in Fast Mode Plus (FM+), as soon as the correspondent alternate function is selected. The pad low drive is enhanced to allow usage up to 1 MHz.

Bit 1 I2C2_FMP: Fast Mode Plus (FM+) Enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means I2C2 usage is possible up to 400 kHz

1: Writing '1' clear this bit, reading '1' means the I2C2 SCL &amp; SDA pads in Fast Mode Plus (FM+), as soon as the correspondent alternate function is selected. The pad low drive is enhanced to allow usage up to 1 MHz.

Bit 0 I2C1_FMP: Fast Mode Plus (FM+) Enable

Cleared by software.

0: Writing '0' has no effect, reading '0' means I2C1 usage is possible up to 400 kHz

1: Writing '1' clear this bit, reading '1' means the I2C1 SCL &amp; SDA pads in Fast Mode Plus (FM+), as soon as the correspondent alternate function is selected. The pad low drive is enhanced to allow usage up to 1 MHz.

14.3.4 SYSCFG IO control set register (SYSCFG_IOCTRLSETR)

Address offset: 0x018

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HSLVEN_SPIHSLVEN_SDMMCHSLVEN_ETHHSLVEN_QUADSPIHSLVEN_TRACE
rsrsrsrsrs

Bits 31:5 Reserved, must be kept at reset value.

Bit 4 HSLVEN_SPI: High Speed Low Voltage Pad mode Enable.

Set by software.

Controls the speed of _h and _e pads when a SPly_x signal is selected in AFMUX.

0: Writing '0' has no effect, reading '0' means High Speed mode disabled

1: Writing '1' enables High Speed mode, reading '1' means High Speed mode enabled (1)(2)

Bit 3 HSLVEN_SDMMC: High Speed Low Voltage Pad mode Enable.

Set by software.

Controls the speed of _h and _e pads when a SDMMCy_x signal is selected in AFMUX.

0: Writing '0' has no effect, reading '0' means High Speed mode disabled

1: Writing '1' enables High Speed mode, reading '1' means High Speed mode enabled (1)(2)

Bit 2 HSLVEN_ETH: High Speed Low Voltage Pad mode Enable.
Set by software.
Controls the speed of _h and _e pads when a ETH_x signal is selected in AFMUX.
0: Writing '0' has no effect, reading '0' means High Speed mode disabled
1: Writing '1' enables High Speed mode, reading '1' means High Speed mode enabled(1)(2)

Bit 1 HSLVEN_QUADSPI: High Speed Low Voltage Pad mode Enable.
Set by software.
Controls the speed of _h and _e pads when a QUADSPI_x signal is selected in AFMUX.
0: Writing '0' has no effect, reading '0' means High Speed mode disabled
1: Writing '1' enables High Speed mode, reading '1' means High Speed mode enabled(1)(2)

Bit 0 HSLVEN_TRACE: High Speed Low Voltage Pad mode Enable.
Set by software.
Controls the speed of _h and _e pads when a TRACEx signal is selected in AFMUX.
0: Writing '0' has no effect, reading '0' means High Speed mode disabled
1: Writing '1' enables High Speed mode, reading '1' means High Speed mode enabled(1)(2)

  1. 1. This bit is not taken into account if the OTP bit (product_below_2V5) is 0 (default)
  2. 2. Enabling High Speed mode while VDD > 2.7V can damage the IC. See pad characteristics for details.

Danger: Enabling High Speed mode while VDD > 2.7V can damage the IC.
See pad characteristics for details


14.3.5 SYSCFG IO control clear register (SYSCFG_IOCTRLCLRR)

Address offset: 0x058

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HSLVEN_SPIHSLVEN_SDMMCHSLVEN_ETHHSLVEN_QUADSPIHSLVEN_TRACE
rc_w1rc_w1rc_w1rc_w1rc_w1
ST logo
ST logo

Bits 31:5 Reserved, must be kept at reset value.

Bit 4 HSLVEN_SPI: High Speed Low Voltage Pad mode Enable.

Cleared by software.

Controls the speed of _h and _e pads when a SPly_x signal is selected in AFMUX.

0: Writing '0' has no effect, reading '0' means High Speed mode disabled

1: Writing '1' disables High Speed mode, reading '1' means High Speed mode enabled(1)(2)

Bit 3 HSLVEN_SDMMC: High Speed Low Voltage Pad mode Enable.

Cleared by software.

Controls the speed of _h and _e pads when a SDMMCy_x signal is selected in AFMUX.

0: Writing '0' has no effect, reading '0' means High Speed mode disabled

1: Writing '1' disables High Speed mode, reading '1' means High Speed mode enabled(1)(2)

Bit 2 HSLVEN_ETH: High Speed Low Voltage Pad mode Enable.

Cleared by software.

Controls the speed of _h and _e pads when a ETH_x signal is selected in AFMUX.

0: Writing '0' has no effect, reading '0' means High Speed mode disabled

1: Writing '1' disables High Speed mode, reading '1' means High Speed mode enabled(1)(2)

Bit 1 HSLVEN_QUADSPI: High Speed Low Voltage Pad mode Enable.

Cleared by software.

Controls the speed of _h and _e pads when a QUADSPI_x signal is selected in AFMUX.

0: Writing '0' has no effect, reading '0' means High Speed mode disabled

1: Writing '1' disables High Speed mode, reading '1' means High Speed mode enabled(1)(2)

Bit 0 HSLVEN_TRACE: High Speed Low Voltage Pad mode Enable.

Cleared by software.

Controls the speed of _h and _e pads when a TRACEx signal is selected in AFMUX.

0: Writing '0' has no effect, reading '0' means High Speed mode disabled

1: Writing '1' disables High Speed mode, reading '1' means High Speed mode enabled(1)(2)

  1. 1. This bit is not taken into account if the OTP bit (product_below_2V5) is 0 (default)
  2. 2. Enabling High Speed mode while VDD > 2.7V can damage the IC. See pad characteristics for details.

Danger: Enabling High Speed mode while VDD > 2.7V can damage the IC.
See pad characteristics for details


14.3.6 SYSCFG interconnect control register (SYSCFG_ICNR)

Address offset: 0x01C

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.AXI_M10AXI_M9AXI_M8AXI_M7AXI_M6AXI_M5Res.AXI_M3AXI_M2AXI_M1AXI_M0
rwrwrwrwrwrwrwrwrwrw

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 AXI_M10: controls which slave port is used by the master to access the DDR. Allows the performance/latency tuning

0: (S0) Master access DDR through Slave S0

1: (S1) Master access DDR through Slave S1

Bit 9 AXI_M9: controls which slave port is used by the master to access the DDR. Allows the performance/latency tuning

0: (S0) Master access DDR through Slave S0

1: (S1) Master access DDR through Slave S1

Bit 8 AXI_M8: controls which slave port is used by the master to access the DDR. Allows the performance/latency tuning

0: (S0) Master access DDR through Slave S0

1: (S1) Master access DDR through Slave S1

Bit 7 AXI_M7: controls which slave port is used by the master to access the DDR. Allows the performance/latency tuning

0: (S0) Master access DDR through Slave S0

1: (S1) Master access DDR through Slave S1

Bit 6 AXI_M6: controls which slave port is used by the master to access the DDR. Allows the performance/latency tuning

0: (S0) Master access DDR through Slave S0

1: (S1) Master access DDR through Slave S1

Bit 5 AXI_M5: controls which slave port is used by the master to access the DDR. Allows the performance/latency tuning

0: (S0) Master access DDR through Slave S0

1: (S1) Master access DDR through Slave S1

Bit 4 Reserved, must be kept at reset value.

Bit 3 AXI_M3: controls which slave port is used by the master to access the DDR. Allows the performance/latency tuning

0: (S0) Master access DDR through Slave S0

1: (S1) Master access DDR through Slave S1

14.3.7 SYSCFG compensation cell control register (SYSCFG_CMPCR)

Address offset: 0x020

Reset value: 0xXX87 0000

31302928272625242322212019181716
APSRC[3:0]ANSRC[3:0]RAPSRC[3:0]RANSRC[3:0]
rrrrrrrrrwrwrwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.READYRes.Res.Res.Res.Res.Res.SW_CTRLRes.
rrw

Bits 31:28 APSRC[3:0]: PMOS I/O Compensation value provided by compensation cell.
Value sent to IOs compensation when SW_CTRL = 0 and READY = 1

Bits 27:24 ANSRC[3:0]: NMOS I/O Compensation value provided by compensation cell.
Value sent to IOs when SW_CTRL = 0 and READY = 1

Bits 23:20 RAPSRC[3:0]: PMOS I/O Compensation value sent to IOs when SW_CTRL = 1
0000: reserved
0001: maximum compensation of fast conditions
....
1000: compensation for typical conditions
....
1110: maximum compensation of slow conditions
1111: reserved

Note: If compensation is needed, it is recommended to use automatic compensation

Bits 19:16 RANSRC[3:0]: NMOS I/O Compensation value sent to IOs when SW_CTRL = 1
0000: reserved
0001: maximum compensation of slow conditions
....
0111: compensation for typical conditions
....
1110: maximum compensation of fast conditions
1111: reserved

Note: If compensation is needed, it is recommended to use automatic compensation

Bits 15:9 Reserved, must be kept at reset value.

Bit 8 READY: Compensation cell ready flag
0: I/O compensation cell not ready.
1: I/O compensation cell ready, the values of APSRC[3:0] and ANSRC[3:0] are valid

Bits 7:2 Reserved, must be kept at reset value.

Bit 1 SW_CTRL: Compensation Software Control
0: IO compensation values come from compensation values in ANSRC[3:0] and APSRC[3:0]
1: IO compensation values come from RANSRC[3:0] and RAPSRC[3:0] register values

Note: SW_CTRL = 0 is not taken into account until READY = 1.
This means that whenever SW_CTRL, the RANSRC[3:0] and RAPSRC[3:0] are used for IO compensation when the compensation cell is in power down (MCU_EN = 0 and MPU_EN = 0, which is the case after a reset).

Bit 0 Reserved, must be kept at reset value.

14.3.8 SYSCFG compensation cell enable set register (SYSCFG_CMPENSETR)

Address offset: 0x024

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MCU_ENMPU_EN
rsrs

Bits 31:2 Reserved, must be kept at reset value.

Bit 1 MCU_EN: Compensation cell enable

Set by software.

0: (power_down) Writing '0' has no effect, reading '0' mean I/O compensation cell in power-down mode if MPU_EN=0

1: (enabled) Writing '1' enable I/O compensation cell, reading '1' mean I/O compensation cell is enabled

Note: The CSI oscillator must be enabled and ready (controlled in RCC) before MPU_EN could be set to 1. Similarly, the CSI oscillator could be disabled only if MPU_EN and MCU_EN are set to 0.

Bit 0 MPU_EN: Compensation cell enable

Set by software.

0: (power_down) Writing '0' has no effect, reading '0' mean I/O compensation cell in power-down mode if MCU_EN=0

1: (enabled) Writing '1' enable I/O compensation cell, reading '1' mean I/O compensation cell is enabled

Note: The CSI oscillator must be enabled and ready (controlled in RCC) before MPU_EN could be set to 1. Similarly, the CSI oscillator could be disabled only if MPU_EN and MCU_EN are set to 0.

14.3.9 SYSCFG compensation cell enable clear register (SYSCFG_CMPENCLRR)

Address offset: 0x028

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.MCU_E
N
MPU_E
N
rc_w1rc_w1

Bits 31:2 Reserved, must be kept at reset value.

Bit 1 MCU_EN: Compensation cell enable

Cleared by software.

0: (power_down) Writing '0' has no effect, reading '0' mean I/O compensation cell in power-down mode if MPU_EN=0

1: (enabled) Writing '1' clear MCU_EN bit, reading '1' mean I/O compensation cell is enabled

Note: The CSI oscillator must be enabled and ready (controlled in RCC) before MPU_EN could be set to 1. Similarly, the CSI oscillator could be disabled only if MPU_EN and MCU_EN are set to 0.

Bit 0 MPU_EN: Compensation cell enable

Cleared by software.

0: (power_down) Writing '0' has no effect, reading '0' mean I/O compensation cell in powerdown mode if MCU_EN=0

1: (enabled) Writing '1' clear MPU_EN bit, reading '1' mean I/O compensation cell is enabled

Note: The CSI oscillator must be enabled and ready (controlled in RCC) before MPU_EN could be set to 1. Similarly, the CSI oscillator could be disabled only if MPU_EN and MCU_EN are set to 0.

14.3.10 SYSCFG control timer break register (SYSCFG_CBR)

Address offset: 0x02C

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PVDLRes.CLL
rsrs

Bits 31:3 Reserved, must be kept at reset value.

Bit 2 PVDL: PVD lock enable bit

This bit is set by software and cleared only by a system reset. It can be used to enable and lock the PVD connection to TIM1/8/15/16/17 Break input, as well as the PVDE and PLS[2:0] in the PWR_CR1 register.

0: PVD interrupt disconnected from TIM1/8/15/16/17 Break input. PVDE and PLS[2:0] bits can be programmed by the application.

1: PVD interrupt connected to TIM1/8/15/16/17 Break input. PVDE and PLS[2:0] bits are read only.

Bit 1 Reserved, must be kept at reset value.

Bit 0 CLL: Cortex-M4 LOCKUP (Hardfault) output enable bit

This bit is set by software and cleared only by a system reset. It can be used to enable and lock the connection of Cortex-M4 LOCKUP (Hardfault) output to TIM1/8/15/16/17 Break input

0: Cortex-M4 LOCKUP output disconnected from TIM1/8/15/16/17 Break inputs

1: Cortex-M4 LOCKUP output connected to TIM1/8/15/16/17 Break inputs

14.3.11 SYSCFG version register (SYSCFG_VERR)

Address offset: 0x03F4

Reset value: 0x0000 0020

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.MAJREV[3:0]MINREV[3:0]
rrrrrrrr

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:4 MAJREV[3:0]: Major revision

These bits return the SYSCFG major revision.

Major revision is 2.

Bits 3:0 MINREV[3:0]: Minor revision

These bits return the SYSCFG minor revision.

Minor revision is 0.

14.3.12 SYSCFG identification register (SYSCFG_IPIDR)

Address offset: 0x03F8

Reset value: 0x0003 0001

31302928272625242322212019181716
ID[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
ID[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 ID[31:0]: SYSCFG identifier

These bits return the SYSCFG identifier value.

14.3.13 SYSCFG size identification register (SYSCFG_SIDR)

Address offset: 0x03FC

Reset value: 0xA3C5 DD01

31302928272625242322212019181716
SID[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
SID[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 SID[31:0]: Size identification

These bits return the size of the memory region allocated to SYSCFG registers.

14.3.14 SYSCFG interface register map

Table 85 gives the SYSCFG interface register map and reset values.

Table 85. SYSCFG interface register map and reset values

Packet typeHardwareIP header checksum checking
Offset Register 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 18 171615 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
O O B T 2 P D _
O O B T1 P D _
O O B T 0 P D _
O O B T 2
O O B T 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
O O B T1
Reset value000 - - -
O O S B T E R E N _
CL S R E F_ K_ E L E T H _
I2C6 FM P _
I2C5 FM P _
I2C 4 FM P _
I2C3 FM P _
I2C2 FM P _
I2C1 FM P _
CL S K_ E L E T H_
S E L[2:0] E T H _
S E LMI I E T H _
R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.
S E L A N A1 _
S E L A N A0 _
SWV A N A D D
Reset value 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S S C H LV E N D M M _
S C H LV E N T R A E _
S H LV E N E T H _
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Q S S U A D PI H LV E N _
S S H LV E N PI _
Reset value00000
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
A XI M5 _
M10 A XI _
M9 A XI _
M8 A XI _
A XI M7 _
M6 A XI _
M3 A XI _
M2 A XI _
M0 A XI _
M1 A XI _
Reset value000000 0000
0x020 SYSCFG_CMPCR APSRC[3:0
R E A D Y
SW C T R _
C M P P D _
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
] ] ] RANSRC[3:0]
Reset value - - - - - - - - 1 0 0 0 0 1 1 10 0 0
C M U E N _
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
M P U E N _
Reset value00
M P U E N _
C M U E N _
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value00
P V D L
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s. CL L
Reset value0 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
ST logo
ST logo

Table 85. SYSCFG interface register map and reset values (continued)

Packet typeHardwareIP header checksum checking
Offset Register 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 1817 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
O O S B T E R E N _
CL S R E F_ K_ E L E T H _
I2C6 FM P _
I2C5 FM P _
I2C 4 FM P _
I2C3 FM P _
I2C2 FM P _
I2C1 FM P _
CL S K_ E L E T H _
S E L[2:0] E T H _
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S E LMI I E T H _
S E L A N A1 _
S E L A N A0 _
SWD A N A D
Reset value 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S S C H LV E N D M M _
S C H LV E N T R A E _
S H LV E N E T H _
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Q S S U A D PI H LV E N _
S S H LV E N PI _
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x3F4 SYSCFG_VERRREV[3:0] REV[3:0]
0x3F8 SYSCFG_IPIDRID[31:0]
0x3FC SYSCFG_SIDRSID[31:0]
Refer to Section 2.5 on page 159for the register boundary addresses.
Refer to Section 2.5 on page 159 for the register boundary addresses.