cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103C8T6 ADC Analog Watchdog

Sousa.Flavio
Associate
Posted on May 09, 2018 at 02:29

Hello

I am about to make my own library of ADC hardware. But first, I'll try to use ADC Analog Watchdog for my project. But there is a problem I think I cannot face it. I want to use only 2 channels with analog watchdog. The others, I want to use as single convertion or scan mode. Reading the datasheet, I found a description as follows: 

0690X0000060B5LQAU.png

Can I use only two channels with watchdog and the others normally (scan mode) ? Thanks for all answers.

#stm32 #adc #mcu #adc-watchdog
1 REPLY 1
Imen.D
ST Employee
Posted on May 21, 2018 at 16:18

Hello

Sousa.Flavio

,

If I understand well, there are several channels programmed in the ADC sequencer, and only 2 of them must be monitored by the analog watchdog.

In fact, for STM32F1, it is not possible to monito

r only 2 channels. I

t is either one channel or all channels.

This is detailed in the RM0008, in the

Table Analog watchdog channel selection.

O

n some others series like STM32F3, STM32L4, ... you can do that.

You can use STM32CubeMx which help you in your ADC configuration.

0690X0000060BJhQAM.png

WithRegards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen