SPI sample code for LS1046A

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

SPI sample code for LS1046A

502 次查看
DaT63
Contributor II

Hi all,

does anyone know if there is some sample C code that uses the SPI I/F not under Linux? Just bare C code?

Thanks in advance

标记 (2)
0 项奖励
回复
3 回复数

444 次查看
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

There are program examples in CW4NET for ARM. These examples contain .h files for eSDHC and qSPI. Use the following path:

C:\Freescale\CW4NET_v2020.06\CW_ARMv8\ARMv8\CodeWarrior_Examples

0 项奖励
回复

432 次查看
DaT63
Contributor II
Hi,
thank you for the answer. I checked the folder you indicate but, apart of the usual hello word examples, I was not able to find anything that uses the SPI I/F
0 项奖励
回复

396 次查看
Oswalag
NXP TechSupport
NXP TechSupport

Unfortunately there isn't available a simple SPI c code, the available information can be found in the u-boot spi drivers or the linux driver according to the LSDKUG. 

0 项奖励
回复