AnsweredAssumed Answered

S32K148-Q176 FreeRTOS Lpspi Communication

Question asked by Caroline Liu on Feb 24, 2020
Latest reply on Feb 25, 2020 by Rares Vasile



I'm working with s32k148-q176 EVB and trying to test lpspi communication based on FreeRTOS. I find the example project "freertos_s32k148". then I change its code. Altough i can build this project with no problems, the lpspi communication does not work.


Here is rots_start function in rtos.c file.


Here is my Task function.


Here is related function.



Here is the Debug window.


The varibles status_slave and status_master are equal to 2. 

2 means, lpspi transfer is status busy.


I have no idea how to solve it.


Can anyone help?