Interfacing of SD card with NXP s32k1 in MBD

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

Interfacing of SD card with NXP s32k1 in MBD

390 Views
saurabhkulkarni123
Contributor II

Hello,

I want to interface SD card with s32k148 through SPI in mbd, how can I design it? And How to write and read data to/from SD card module?

0 Kudos
1 Reply

371 Views
mariuslucianand
NXP Employee
NXP Employee

Hello @saurabhkulkarni123,

Unfortunately, we do not have such blocks for reading/writing data on SD Cards.

However, I think you could start by adding/porting the FATFS library for the S32K148 and integrating such library using custom code, as described in the link [1]. Also, I see there is also a thread regarding the FATFS on S32K144 (this part is similar to the one for the S32K148 but the number and package of the peripheral differs) that might also help you/guide you through this process.

[1] https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-use-your-own-C-code-in-our-Toolbox-...

[2] https://community.nxp.com/t5/S32-SDK/S32K144-Fatfs/m-p/1199415 

Hope this helps,

Marius

 

0 Kudos