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

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

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

ソリューションへジャンプ
2,530件の閲覧回数
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,524件の閲覧回数
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,525件の閲覧回数
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 件の賞賛
返信