Associate
June 26, 2020
Question
STM32MP157C-DK2 usa ADC DMA
- June 26, 2020
- 1 reply
- 928 views
Hi,
i try to use a ADM DMA with the board in object.
I generate the code with CUBE MX and i add only the function HAL_ADC_Start_DMA(&hadc1, (uint32_t*)&buff, 1); before the while loop in the main.
After i start the ADC, the hadc1.State remains in HAL_ADC_STATE_REG_BUSY and the DMA2_Stream0_IRQHandler never happens.
I attach the .ioc file of the project.
Someone can help me?
Thanks a lot
