How to reinit SD card without SD_PowerOffCard

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

How to reinit SD card without SD_PowerOffCard

629 Views
lacouturepatric
Contributor I
Hello,
I have design a board that includes :
- a MIMXRT1064DVL6A processor,
- Memory IS42s16160j,
- SD card slot,
- JTAG,
- A led
I was inspired by IMXRT1064 EVKB Board to design it.
In my board, unfortunately, I have not routed the SD_PWREN that means I can not use SD_PowerOffCard fuction of SDK.
My SD card is powered when the board is powered.
I do the following test:
1) Import the fatfs_sdcard example,
2) Program the board with fatfs_sdcard exemple by JTAG (the program is in the falsh)
=> I have the "SD card Bus clock is 198000000 Hz"
3)  Program the board with fatfs_sdcard exemple by JTAG (I did not remove the sd card or power off the board)
=> I have  "SD card Bus clock is 49500000 Hz"
To have in the step 3) SD card Bus clock at 198000000 Mhz, I have to set SD_PowerOffCard but I cannot because SD_PWREN is not routed.
I think I have to clear internal registers of the SD card or clear something into the SD card.
Do you know if there are any possibilities to clear the registers to have "SD card Bus clock at 198000000 Mhz" during the step 3 or what do you recommend me to do ?

Thank you in advance,
Regards,
Patrice
0 Kudos
1 Reply

589 Views
FelipeGarcia
NXP Employee
NXP Employee

Hello Patrice,

 

I recommend you to check, chapter 26.6.2.2 of the Reference Manual. There you will find three different ways to perform a reset to the host.

 

Hope it helps!

 

Have a great day,
Felipe

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos