SD Card with KE02

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

SD Card with KE02

Jump to solution
662 Views
paolocolombo
Contributor III

Hi to all,

I've a small project with KE02 and SD Card on SPI peripheral, without SO.

I use Fat_FileSystem bean that uses SD card beans and others.

When I build the project I've some errors, in SD1.c file.
you can see

Description Resource Path Location Type

'SM1_DeviceData' undeclared (first use in this function) SD1.c /PDD/Generated_Code line 461 C/C++ Problem

pastedImage_0.png

Regards,

Paolo Colombo

Labels (1)
0 Kudos
1 Solution
458 Views
BlackNight
NXP Employee
NXP Employee

Hi Paolo,

thinking more about it, I think you missed to select 'auto initialization' in the SM1 component:

pastedImage_0.png

This will create the SM1_DeviceData in the SM1.h header file.

Erich

View solution in original post

0 Kudos
2 Replies
458 Views
BlackNight
NXP Employee
NXP Employee

Hi Paolo,

Have you configured two speed modes for the SPI?

See http://mcuoneclipse.com/2012/11/18/arduino-data-logger-shield-with-the-frdm-kl25z-board/

I hope this helps,

Erich

459 Views
BlackNight
NXP Employee
NXP Employee

Hi Paolo,

thinking more about it, I think you missed to select 'auto initialization' in the SM1 component:

pastedImage_0.png

This will create the SM1_DeviceData in the SM1.h header file.

Erich

0 Kudos