ADC DMA continuous mode stops FreeRTOS task.
Hi,
I am using STM32F746 discovery board. I enabled FreeRTOS task and it is running fine. After I start ADC DMA function by enabling DMA continuous request mode and calling HAL_ADC_Start_DMA(), the RTOS task stops running. The ADC conversion stops the RTOS task. I try to make FreeRTOS task priority lower than the DMA, so I set:
osThreadDef(ModbusTask, ModbusTask_init, osPriorityRealtime, 0, 512);
HAL_NVIC_SetPriority(DMA2_Stream0_IRQn, 15, 0);
But RTOS task still not running. What is the NVIC priority level of the RTOS task? The osPriorityRealtime is 3, not between 5 to 15 priority level.
