Write on SD-Card with SPI (LPCXpresso55S69 Development Board)

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

Write on SD-Card with SPI (LPCXpresso55S69 Development Board)

Jump to solution
695 Views
olligsk
Contributor I

Hello Community,

I'm currently trying to write to an SD-Card via SPI. To do this, I connected a MicroSD Board to my EVK and configured Flexcomm 3 as SPI. I tried following this tutorial (Porting FatFs file system to KL26 SPI SD card code - NXP Community) but I cannot get it to work. Any ideas or tutorials that could help me?

0 Kudos
1 Solution
655 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

There is a SPI_SDCARD demo based on LPC55s06-EVK from SE team, you can refer to it, I have attached it. 

 "The example code based on LPC55S06-EVK and FRDM-FXS-MULT2-B module board

The LPC55S06-EVK should re-work below items: 1. Shorted JP25/26 by PIN1-2,  2. Removed U24."

 

BR

Alice

View solution in original post

0 Kudos
2 Replies
656 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

There is a SPI_SDCARD demo based on LPC55s06-EVK from SE team, you can refer to it, I have attached it. 

 "The example code based on LPC55S06-EVK and FRDM-FXS-MULT2-B module board

The LPC55S06-EVK should re-work below items: 1. Shorted JP25/26 by PIN1-2,  2. Removed U24."

 

BR

Alice

0 Kudos
84 Views
Landgrebe
Contributor I

Hi Alice

How do you import "lpc550x_spi_sdcard_mdk.zip", when no project files attached? I have tried copying the folder material, but keep getting errors on "_MIN_SS", "fsl_sd.h" and "fsl_sdspi.h".

I'm using LPC55s06-EVK

/Thanks Landgrebe

@Alice_Yang 

0 Kudos