cancel
Showing results for 
Search instead for 
Did you mean: 

Is any sample code for ADC VBat channel for STM32WB nucleo board? I leverage sample code from 1.13.0, 1.14.0 and 1.15.0 and change IOC to set internal channel VBat, but not work. thank you.

LChan.5
Associate II
1 REPLY 1
FBL
ST Employee

Hello @LChan.5​ 

You can start with some examples in STM32WB FW package then you can switch the input channel to ADC_CHANNEL_VBAT

STM32CubeWB/Projects/P-NUCLEO-WB55.Nucleo/Examples/ADC at master · STMicroelectronics/STM32CubeWB (github.com)

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.