Hello @mariuslucianand @kerryzhou ,
Hi Mrudula,
S32K144 should have the related SD card driver SDK, you don't need to use my post code, that is based on the baremetal.
You can check the S32K144 SDK code at first.
Best Regards,
Kerry
Hi @kerryzhou ,
I downloaded the sdk. I found the lpspi drivers however I could not find any sd card driver for S32K144. Examples are also not available for sd card.
Can you suggest a way to move forward?
Regards,
Mrudula
Hi Mrudula,
Now, I mainly support the RT and kinetis product, not the S32K144, so I also don't have your chip related driver.
But if you want to refer to the Kinetis SPI SD card driver, I attach it for your reference.
Wish it helps you!
But you need to modify the related SPI driver to your own chip driver, you need to make sure the chip SPI operation is correct, then add the SD card init, write, read etc, then add the fatfs.
Best Regards,
Kerry