2018-05-08 05:29 PM
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:
Can I use only two channels with watchdog and the others normally (scan mode) ? Thanks for all answers.
#stm32 #adc #mcu #adc-watchdog2018-05-21 07:18 AM
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.
WithRegards,
Imen