2019-07-31 08:09 AM
When I used the Freertos with STM32L433 which the code was generated by CubeMX. In the system, the ADC, I2C, SPI1 used the DMA function. I found that the code will be occasionally into configASSERT(pxQueue ) and being stalled there.
but sometimes it works well (most situation is powered up.)
Who know why it caused this issue? how to mitigate?
2019-08-01 07:21 AM
I found the root cause is: there has a interrupt enable before the FreeRTOS start. so it trigger the interrupt and call the ISR routine which will use the semaphore. so the interrupt should be enabled after the OS start.