STM32MP151 emmc OTP configure
Hello. We already have a custom board based on STM32MP151CAD3 with an eMMC. The following pins are different with default eMMC pins.
SDMMC2_CMD: PA0
SDMMC2_D1: PB7
As not default pins are used, we need to update OTP value. Here are my result.
OTP3 = 0x00000004
emmc_if_id=2: SDMMC2(uses non default AFmux defined in OTP).
OTP5 = 0x27A41094
SDMMC2_CMD = PA0 (bits[15:0]: port0=1=GPIOA, pin0=0, afmux0=9, mode0=4=AF;pull-up;medium-speed)
SDMMC2_D1 = PB7 (bits[31:16]: port1=2=GPIOB, pin1=7, afmux1=10, mode1=4=AF;pull-up;medium-speed)
However, it does not work. I also trace its ROM log. Attached is log.
