cancel
Showing results for 
Search instead for 
Did you mean: 

HPDMA with ADC with STM32 MCU(H7S3L8)

prometheans152
Associate II

Hi,

 

I tried to set up and use HPDMA with ADC on my Nucleo-H7S3L8,

but I have some questions about how to use it.

  1. I could not find documentation on using HPDMA with STM32 MCU, only for GPDMA.
  2. I found an HPDMA example for the Nucleo-H7S3L8 (ADC_SingleConversion_TriggerSW_HPDMA), but I don't get the logic. Why are both HAL_ADC_Start_DMA() and HAL_ADC_Start() used together? Normally, you'd just use HAL_ADC_Start_DMA(), right?
    prometheans152_0-1720659795732.png

     

  3. Continuing from my previous question, if I want to modify this example to support multiple channels, Continuous Conversion Mode, and DMA circular mode, how should I do it?
    I tried modifying the ADC parameters to Continuous Conversion Mode and DMA circular mode, but it still only runs once.
    Then I tried enabling Circular Mode in HPDMA, but it gets stuck at HAL_ADC_Start_DMA.

  4. If possible, could you teach me how to modify it for multiple channels? I'm not sure whether to use End of single conversion or End of sequence of conversion. I have 9 channels.
    I'm also not sure how to configure it with DMA.

Attached is the ADC_SingleConversion_TriggerSW_HPDMA example.

0 REPLIES 0