Do you know why I have kStatus_SDMMC_SwitchBusTimingFailed error with USDHC2?
I have not with USDHC1 when I use GPIO_B1_14 pin as GPIO.
Thanks for your reply.
1) Do you know why I have kStatus_SDMMC_SwitchBusTimingFailed error with USDHC2?
-- I think it's related to the switch voltage sequence, whether you can tell the what response of the SD_SwitchVoltage(card) function.
Have a great day,
TIC
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
Thanks for your reply.
I think you should use the GPIO_EMC_38 pin as the USDHC2_VSELECT if you want to port the same voltage switch mechanism from the USDHC1 to USDHC2.
Have a great day,
TIC
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
Hi Patrice,
Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
After having a brief review of the code, I've not found any errors in them.
So I suspect that it may be related to the hardware circuit, I'd highly recommend you to modify the sdcard_polling or sdcard_interrupt to test the USDHC2, as software architecture of these demo projects is more simple and close to the hardware layer, please give a try.
Have a great day,
TIC
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------