Skip to main content
Sousa.Flavio
Visitor II
May 9, 2018
Question

STM32F103C8T6 ADC Analog Watchdog

  • May 9, 2018
  • 1 reply
  • 1401 views
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
This topic has been closed for replies.

1 reply

ST Technical Moderator
May 21, 2018
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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks