Hi Chen Xiao,
Can you let me know where your code is getting stuck? Usually, one of the reasons for this problem is the stack size gives it for the tasks, it can be modified in the following section:
And also, increasing the heap size usually helps too.
Let me know if this helps you.
Best Regards,
Alexis Andalon
I used freertos in the project and creat a task , in the task i used LPSPI_DRV_MasterTransferBlocking() and LPSPI_DRV_SlaveTransfer(), the SPI is transfed by Interrupt,the same code can work without FREERTOS,my code is attached. my code while dies in --------configASSERT( ucCurrentPriority >= ucMaxSysCallPriority ) it is in port.c
that's ok ,thanks!