1983750_en-US

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

1983750_en-US

1983750_en-US

Is there a driver for S32K312's SPI and SD card reading and writing?

I have been working on a project about S32K312mcu to read and write SD card using SPI, but what has always confused me is that after configuring SPI for STM32's cubemx, it will automatically generate the initialization and enable of the SPI pins, while S32DS needs to configure it again. I wanted to try to transplant it using the STM32 driver code, but it always failed. So I would like to ask if anyone has SPI and SD card drivers for the S32K312 or S32K3 series.

Re: 是否有S32K312的SPI与SD卡的读写驱动程序

As mentioned in case #00660962:

We have no drivers for SD card in SPI mode for S32K3 devices.
I guess that the libraries mentioned on the community are for Kinetis devices. So, you can take a look at the Kinetis SDK:
https://www.nxp.com/design/design-center/development-boards-and-designs/software-development-kit-for...
It's mentioned in the Features:
"SDMMC, a software component supporting SD Cards and eMMC"

Or you can take a look at following resources:
https://www.nxp.com/docs/en/application-note/AN10406.pdf
https://community.nxp.com/docs/DOC-330958

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 10:35 PM
Updated by: