Skip to main content
Graduate II
October 18, 2024
Solved

STM32F042C6U6 ADC DMA Read Multi Channel

  • October 18, 2024
  • 1 reply
  • 1090 views

Hello,

I made a Motor Driver Circuit and I want to read the ADC via DMA, but it has different settings compared to other microcontrollers such as F4, G4, F0. How can I do it or is there a code or video that can be an example?

STM32F042C6U6 Settings

f042 settings.png

f042 settings 2.png

Other MCU`s Settings

other mcu settings 2.png

other mcu settings.png

    This topic has been closed for replies.
    Best answer by Karl Yamashita

    It's not too much difference. Instead of Rank where you can select the order of the channels, you now just go in numeric order, forward or backwards. The F042 sample time is the same for all the channels where the other STM32 you can have different sampling time for each channel

    1 reply

    Graduate II
    October 18, 2024

    It's not too much difference. Instead of Rank where you can select the order of the channels, you now just go in numeric order, forward or backwards. The F042 sample time is the same for all the channels where the other STM32 you can have different sampling time for each channel