fsl_dspi.h file missing

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

fsl_dspi.h file missing

3,029 次查看
lianboli
Contributor I

SDK: LPC54628 2.3.0

When I config a new project with this SDK, a head file (fat fs) miss when compiled: fsl_dspi.h. I search sdk directory, no such file.


../fatfs/fatfs_source/fsl_sdspi_disk.c:39:22: fatal error: fsl_dspi.h: No such file or directory
 #include "fsl_dspi.h"

anyone can help me? Thanks

0 项奖励
回复
5 回复数

2,782 次查看
bahn
Contributor I

Sorry

I use MCUXpresso IDE v11.2.0_4120 with SDK 2.8.0

but I did not find the fsl_sdspi_disk.h

In the diskio.c you supported it

Kind regards

Nino

0 项奖励
回复

2,782 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Steven,

I'm working with this issue. Meanwhile if what you need to do is read/write in an SD card you can check the SDK example "sdcard_fatfs" that works fine.

Best regards,

Victor Jimenez.

0 项奖励
回复

2,782 次查看
lianboli
Contributor I

Hi, Victor

I need fat fs support. So I am waiting for your updated SDK.

Regards

Steven

0 项奖励
回复

2,782 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hi Steven,

This bug was already reported with the developers so it will be fix in future releases of the SDK. 

Best regards,

Victor Jimenez.

0 项奖励
回复

2,780 次查看
hudo
Contributor I

I have a similar problem with using SD card(fat fs) on KL27Z - SDK 2.3.0. I'm also missing fsl_dspi.h. I found that in SDK v. 2.0 fsl_dspi  is a driver for SPI and in the 2.3 version this driver is replaced with fsl_spi.  I think that in fsl_sdspi_disk - the spi should be configured with the new driver. (rewrite functions spi_init: dspi_transfer_t = spi_transfer_t ,spi_exchange,spi_set_frequency, etc.). I didn't have time to implement this changes, so I don't know if it will work. 

0 项奖励
回复