50.12.41 SDMMC Preset Value Register

One of the Preset Value registers is effective based on the selected bus speed mode. The table below defines the conditions to select one of the SDMMC_PVRs.

Table 50-5. Preset Value Register Select Condition
Selected Bus Speed ModeVS18EN

(SDMMC_HC2R)

HSEN

(SDMMC_HC1R)

UHSMS

(SDMMC_HC2R)

Default Speed00don’t care
High Speed01don’t care
SDR121don’t care0
SDR251don’t care1
SDR501don’t care2
SDR104/HS2001don’t care3
DDR501don’t care4
Reserved1don’t careOther values

The table below shows the effective Preset Value Register according to the Selected Bus Speed mode.

Table 50-6. Preset Value Registers
SDMMC_PVRxSelected Bus Speed Mode Signal Voltage
SDMMC_PVR0Initialization3.3V or 1.8V
SDMMC_PVR1Default Speed3.3V
SDMMC_PVR2High Speed3.3V
SDMMC_PVR3SDR121.8V
SDMMC_PVR4SDR251.8V
SDMMC_PVR5SDR501.8V
SDMMC_PVR6SDR104/HS2001.8V
SDMMC_PVR7DDR501.8V

When Preset Value Enable (PVALEN) in SDMMC_HC2R is set to 1, Driver Strength Select (DRVSEL) in SDMMC_HC2R and SDCLK Frequency Select (SDLCKFSEL) and Clock Generator Select (CLKGSEL) in SDMMC_CCR are automatically set based on the Selected Bus Speed mode. This means that the user does not need to set these fields when preset is enabled. A Preset Value Register for Initialization (SDMMC_PVR0) is not selected by Bus Speed mode. Before starting the initialization sequence, the user needs to set a clock preset value to SDCLKFSEL in SDMMC_CCR.PVALEN can be set to 1 after the initialization is completed.

Name: SDMMC_PVRx
Offset: 0x60 + x*0x02 [x=0..7]
Reset: 0x00000000
Property: Read/Write

Bit 15141312111098 
 DRVSEL[1:0]   CLKGSELSDCLKFSEL[9:8] 
Access R/WR/WR/WR/WR/W 
Reset 00000 
Bit 76543210 
 SDCLKFSEL[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bit 10 – CLKGSEL Clock Generator Select

See CLKGSEL in SDMMC_CCR.

Bits 9:0 – SDCLKFSEL[9:0] SDCLK Frequency Select

See SDCLKFSEL in SDMMC_CCR.