SPI sample code for LS1046A

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

SPI sample code for LS1046A

510 Views
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

Tags (2)
0 Kudos
Reply
3 Replies

452 Views
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 Kudos
Reply

440 Views
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 Kudos
Reply

404 Views
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 Kudos
Reply