SD Card with KE02

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SD Card with KE02

跳至解决方案
1,381 次查看
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

标签 (1)
0 项奖励
回复
1 解答
1,177 次查看
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 项奖励
回复
2 回复数
1,177 次查看
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

1,178 次查看
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 项奖励
回复