2022-01-20 10:44 PM
Hi,
I am using STM32F107VCT6 MCU and i need to measure voltage at GPIO PB11.
But there is no any ADC channel connected to this GPIO but i see that this GPIO cab be used as ADC1_EXTI11/ADC2_EXTI11.
So with this Alternate function of GPIO can we measure voltage at this GPIO?
If any one know then please share the sample code for this.
Any help in this will be appreciated more.
Thanks,
Bhavin Maru
Solved! Go to Solution.
2022-01-21 01:55 AM
Welcome,@Bhavin, to the community!
ADCx_EXTI11 is a digital input for the mode Regular Trigger of a conversion.
PB11 cannot be used as an analog input for measuring the voltage at this pin.
Regards
/Peter
2022-01-21 01:55 AM
Welcome,@Bhavin, to the community!
ADCx_EXTI11 is a digital input for the mode Regular Trigger of a conversion.
PB11 cannot be used as an analog input for measuring the voltage at this pin.
Regards
/Peter
2022-01-27 05:09 AM
@Peter BENSCH Thanks for the reply.
Regards,
Bhavin