2019-12-27 06:58 AM
Hi, I want to trigger ADC with PWM, transfer it to array by DMA.
But first I have problem with setting dma.
......
Question 1.
Do I have to start HAL_ADC_Start before I use HAL_ADC_Start_DMA
Or will this second function start adc & dma?
2019-12-27 10:31 AM
Question 2.
Want to set buffer that will collect 10 samples on single channel adc.
Buffer[10];
HAL_ADC_Start_DMA((&hadc), (uint32_t*)Buffer, 1);
will this work?