cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L476RG dual regular simultaneous mode ADC1 and ADC2

AKhot.1
Senior

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?

2 REPLIES 2
AKhot.1
Senior

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

FBL
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.