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:
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.