Associate
Jun 26, 2020 9:50 AM UTC
Question
STM32MP157C-DK2 usa ADC DMA
- 1 reply
- 948 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
