cancel
Showing results for 
Search instead for 
Did you mean: 

ADC1_IN16 (no mode)

carlesls2
Associate II

carlesls2_0-1742466439720.png

I begin a new project I want to use the PA12 as a ADC input. But the pin is orange and I am unable to activate the mode or channel of the ADC.

carlesls2_1-1742466529049.png

What is the explanation behind it? How do you explain it?

Thanks a lot to all. 

1 ACCEPTED SOLUTION

Accepted Solutions
KnarfB
Principal III

There is a trick, see Solved: STM32G030K6T6 - can not configure ADC1_IN16 @ PA12 - STMicroelectronics Community

https://community.st.com/t5/stm32cubemx-mcus/stm32g030k6t6-can-not-configure-adc1-in16-pa12/td-p/64113

enable ADC IN0 temporarily.

change sequencer settings in ADC parameters tab, 

enable ADC1_IN16 on PA12

disable ADC IN0

hth

KnarfB

View solution in original post

2 REPLIES 2
KnarfB
Principal III

There is a trick, see Solved: STM32G030K6T6 - can not configure ADC1_IN16 @ PA12 - STMicroelectronics Community

https://community.st.com/t5/stm32cubemx-mcus/stm32g030k6t6-can-not-configure-adc1-in16-pa12/td-p/64113

enable ADC IN0 temporarily.

change sequencer settings in ADC parameters tab, 

enable ADC1_IN16 on PA12

disable ADC IN0

hth

KnarfB

It worked.