2023-05-09 06:12 PM - edited 2023-11-20 05:53 AM
Using an STM32H757-EVAL (don't use CM4) with CubeMX. Configured my ADC1 as follows:
DMA is:
Start the process as follows (both calls return HAL_OK):
I allow the code to run for 10 seconds and break. The m_hv_status_values buffer still has the initial values:
My expectation is that after the call to the HAL_ADC_Start_DMA, the ADC should scan all 6 channels continuously and put resulting conversions into the m_hv_status_values circular buffer sequentially. Any suggestions would be appreciated.
Gil
2023-05-09 06:19 PM
I am not sure what you try but I see that you have multichanel form 1-6 See above End of Conversion Selection you setup end of single conversion instead of end of sequence conversion.
there are a few videos on you tube about multi-channel ADC look for it