Hi @SCoder41
To make sure the FlexIO as SPI works properly, please try testing the SPI example with the settings you require.
Can I use Flexio_SPI to read and write SD cards on s32k344?
Hi @SCoder41,
It is possible if the FlexIO module supports the SD card's operating requirements. Unfortunately, we do not provide any examples for this application. The functionality is on your implementation.
I can not receive data from sd card,but The oscilloscope shows that the SD card has responded.My array has no data,that’s why?
Hi @SCoder41
To make sure the FlexIO as SPI works properly, please try testing the SPI example with the settings you require.
Thanks,my DMA configuration is incorrect.
Hi @SCoder41
I am afraid, that we do not provide any examples for SD Cards through SPI.
It is important to mention that certain commands are not available for the SPI mode of interfacing and also, the speed will be lower than the SD mode. But this kind of interfacing is simpler especially since most microcontrollers have built-in SPI hardware modules. For S32K3 devices the module that provides the interface between the host system and the SD card is the Ultra Secured Digital Host Controller (uSDHC), which is only present in S32K328, S32K338, S32K348, and S32K358 devices.
B.R.
VaneB
Can I use Flexio_SPI to read and write SD cards on s32k344?