AnsweredAssumed Answered

S32K148-Q176 LPSPI communication

Question asked by Caroline Liu on Feb 19, 2020
Latest reply on Feb 20, 2020 by Rares Vasile

Hello, guys!

 

Now i 'm trying to do lpspi communication on s32k148q176 EVB. I meet some problems.

I want to use one lpspi as Master,and two lpspi as Slave. so I find one example project "lpspi_dma_s32k148". This example project can do spi communcation successfully, lpspi0 acts as Master to send data, and lpspi1 acts as Slave to receive data. Then I change its configuration. I add one CHIP SELECT pin in lpspi0 “Component Inspector->Properties->Configurations”,also add another lpspi namely lpspi2 as Slave. I try to generate code, it shows many errors. I don't know how to solve it.TAT

 

Here is my lpspi0-Master Configuration.

 

Here is lpspi1 Configuration.

 

Here is lpspi2 Configuration.

 

Here is lpspi pin Configuration.

 

Here are errors.

 

Thanks.

 

Liu.

Outcomes