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 DMA,the same code can work without FREERTOS,my code is attached.
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.
that's ok ,thanks!
Retrieving data ...