fsl_dspi.h file missing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

fsl_dspi.h file missing

3,043件の閲覧回数
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,796件の閲覧回数
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,796件の閲覧回数
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,796件の閲覧回数
lianboli
Contributor I

Hi, Victor

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

Regards

Steven

0 件の賞賛
返信

2,796件の閲覧回数
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,794件の閲覧回数
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 件の賞賛
返信