S32K116 LSPI

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

S32K116 LSPI

Jump to solution
494 Views
Embedded_novice
Contributor II

请问一下:

S32K116这款芯片在使用S32DS配置LSPI组件的情况下目前采用默认的配置方式为同步传输,导致CPU运行效率低,通信等待时间很长。请问如何实现LSPI组件的异步通信,是需要自己模拟异步通信还是可以通过配置实现?

当前LSPI是通过LSPI_Config组件,采用中断形式配置

感谢!

0 Kudos
Reply
1 Solution
451 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Embedded_novice,

You can take a look at the LPSPI examples from the RTD package:

Julin_AragnM_0-1721326633455.png

Both the Half Duplex and Flexio examples implement a slave transfer through the Lpspi_Ip_AsyncTransmit() function.

Best regards,
Julián

View solution in original post

0 Kudos
Reply
3 Replies
452 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Embedded_novice,

You can take a look at the LPSPI examples from the RTD package:

Julin_AragnM_0-1721326633455.png

Both the Half Duplex and Flexio examples implement a slave transfer through the Lpspi_Ip_AsyncTransmit() function.

Best regards,
Julián

0 Kudos
Reply
417 Views
Embedded_novice
Contributor II
我找到这个实例工程了,非常感谢
0 Kudos
Reply
437 Views
Embedded_novice
Contributor II

image.pngimage.png

Embedded_novice_2-1721352804156.pngEmbedded_novice_3-1721352829033.png

 

请问我该如何获取这个安装包,我在我的S32DS软件中查找可用的拓展更新时并没有发现这个RTD。我找到的类似的安装包是给EB Tresos软件安装的。感谢您的帮助

0 Kudos
Reply