Skip to main content
AKhot.1
Associate III
June 5, 2023
Question

STM32L476RG dual regular simultaneous mode ADC1 and ADC2

  • June 5, 2023
  • 2 replies
  • 778 views

I have two input channels which I have to sample simultaneously so I wanted to know what should be the ioc setting for the same? and what HAL commands are used to run ADCs in this mode?

This topic has been closed for replies.

2 replies

AKhot.1
AKhot.1Author
Associate III
June 5, 2023

There is not much documentation or videos available on this. Can anyone please help with this?

Technical Moderator
June 6, 2023

Hello @AKhot.1​,

You can get started with this example STM32CubeL4/main.c at master · STMicroelectronics/STM32CubeL4 · GitHub

Also, if you set ADC prescaler asynchronous clock, you are using these options.


_legacyfs_online_stmicro_images_0693W00000bVj9rQAC.pngOtherwise, if you set synchronous ADC prescaler, it should be greyed out.

Hope this helps!

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL