S32K148-Q176 LPSPI communication

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K148-Q176 LPSPI communication

481 Views
carolineliu_wiw
Contributor II

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.

pastedImage_1.png

Here is lpspi1 Configuration.

pastedImage_2.png

Here is lpspi2 Configuration.

pastedImage_3.png

Here is lpspi pin Configuration.

pastedImage_4.png

Here are errors.

pastedImage_5.png

Thanks.

Liu.

0 Kudos
1 Reply

414 Views
raresvasile
NXP Employee
NXP Employee

Hi,

Please restart S32DS, it will work afterwards.

Thanks,

Rares

0 Kudos