Hi,
we need to read data from our micro-SD card.
Is there any example for the communication between s32k146 and a sd-card via SPI without SDK?
Best regards
Sandra
Hi LBowen,
I used the project "S32K144_Project_LPSPI" which is posted on the bottom of the following topic https://community.nxp.com/t5/S32-SDK/S32K144-Fatfs/m-p/1205126/highlight/true#M2016 as base. You have to use f_read instead of f_write to read data from the sd-card.
Best regards
Hi @12914A
As the S32K family does not directly support SD cards (not expected use-case), we do not have such example or drivers for this device. The driver must be written by the user.
We have an application note (S32K1xx Series Cookbook) that provides software examples and describes the necessary startup steps needed to get started with S32K1xx series MCUs. Also, we can help with the LPSPI module and problems with communication such as not transmitting words as programmed or not receiving expected words.
BR, VaneB