cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G0x ADC CFGR1 clears Resolution bits on EXTSEL bit modification

danielbathtub
Associate III

Hi, 

 

When I clear the EXTSEL bits in the ADC1 CFGR1 register, my resolution bits also get cleared ?. My ADC randomly changes resolution. Below is screenshots of the code. 

danielbathtub_0-1757929118143.png

 

Why does this happen ?, I can disable the ADC to write the RES bits to what they were. Don't really want to do that unless I have to. 

0 REPLIES 0