cancel
Showing results for 
Search instead for 
Did you mean: 

configASSERT(pxQueue )

Haifeng
Associate II

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?

1 REPLY 1
Haifeng
Associate II

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.