SPI ( FLEXIO SPI, LPSPI)COM between two S32K MICROCONTROLLERS

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

SPI ( FLEXIO SPI, LPSPI)COM between two S32K MICROCONTROLLERS

跳至解决方案
2,538 次查看
saidbenlahmadi
Contributor I

Hello everybody, 

I want to communicate between two MCUs(S32K) via SPI: 

Master use LPSPI and the slave use FLEXIO SPI. 

Is there any way to configure the FLEXIO SPI driver to trigger an interrupt once the master finish the communication to read data by slave? 

Do you have any other idea to exchange the data between the two MCUs other then interrupts ?  

标签 (2)
标记 (1)
0 项奖励
回复
1 解答
2,532 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, FlexIO SPI driver support DMA, so you can configure DMA to generate interrupt at the end of the major loop. This would assume messages with constant length.

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,533 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, FlexIO SPI driver support DMA, so you can configure DMA to generate interrupt at the end of the major loop. This would assume messages with constant length.

 

0 项奖励
回复