User Activity

Hello, i want to start an ADC in DMA Mode, but everytime i run HAL_ADC_Start_DMA the MCU stops.Here is the section of my code where it happens: if(newpwmperiod == 1 && adc_dma_status == 0){ HAL_UART_Transmit(&huart2, test, 4, HAL_MAX_DELAY); ...