If `GPIO_SD_B1_05` is configured, a hardware fault occurs.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

If `GPIO_SD_B1_05` is configured, a hardware fault occurs.

544 Views
kbsidi
Contributor II

Running the following code in `pin_mux.c` causes a hardware fault.

...

IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_05_USDHC2_DATA1, 0U);

...


Operating environment

MCU : MIMXRT1024DAG5B

IDE
Product: MCUXpresso IDE
Version: MCUXpresso IDE v11.10.0 [Build 3148] [2024-07-03]
Operating system: Windows 10
VM: OpenJDK 64-Bit Server VM (64 bit)

SDK

kbsidi_0-1728561517952.png

 

Labels (1)
Tags (1)
0 Kudos
Reply
5 Replies

519 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @kbsidi,

This is because GPIO_SD_B1_05 is routed as the FlexSPI_DQS pin which, as mentioned on the EVK's schematic, needs to be floated for proper functionality of the QSPI Flash.

EdwinHz_0-1728598859427.png

BR,
Edwin.

0 Kudos
Reply

513 Views
kbsidi
Contributor II
Then, should I use a different QSPI Flash RW speed instead of 133 MHz?
If so, how should I configure it?
0 Kudos
Reply

442 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @kbsidi,

I'm afraid this isn't possible. As mentioned on the Migration Guide from i.MX RT1020 to i.MX RT1024 (nxp.com): "RT1024 has only one FlexSPI port and is used for internal flash. RT1024 doesn’t support external FlexSPI flash, please use internal SIP flash instead." This means that the pins shown on "Table 3. i.MXRT1024 XIP boot option" are the only ones available for booting.

Sorry for the inconvenience this may cause.

BR,
Edwin.

0 Kudos
Reply

426 Views
kbsidi
Contributor II

 

Yes, I understand. I've also heard that reducing the Flash Clock speed to below 133 MHz might solve the issue.

 

kbsidi_0-1729044130915.png

 

0 Kudos
Reply

534 Views
kbsidi
Contributor II
I want to use both SD1 and SD2.
0 Kudos
Reply