AnsweredAssumed Answered

imxRT1060 USDHC2 CMD pin configuration issue

Question asked by António Sousa on Dec 12, 2019
Latest reply on Dec 15, 2019 by jeremyzhou

Hi,

 

My team is developing a board with imxrt1060 and are using the USDHC2 to interface eMMC chip.

At this moment the problem is when we try to set pinx mux for SD_B1_05_USDHC2_CMD pin. The code gets stuck.

 

After a long time of research, i saw that even in Eval kit, if we call IOMUXC_SetPinMux() for pin IOMUXC_GPIO_SD_B1_05_USDHC2_CMD , the code get stuck.

 

You try it in using any sample code from SDK.

As an example, you can use hello_world example and in pin_mux.c file, add the following lines:

 

IOMUXC_SetPinMux(
IOMUXC_GPIO_SD_B1_05_USDHC2_CMD, 
0U); 

 

IOMUXC_SetPinConfig(
IOMUXC_GPIO_SD_B1_05_USDHC2_CMD, 
0x017089u); 

 

 

After executing the first line, code gets stuck.

In Eval kit, that GPIO (GPIO_SD_B1_05) is not connected (0 ohm resistor is not place in HyperFlash interface).

 

I also attached the hello_world example with this change for MCUXPresso IDE.

Outcomes