Skip to main content
LChan.5
Associate II
Mar 2, 2023 1:33 AM UTC
Question

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.

..

This topic has been closed for replies.

1 reply

ST Technical Moderator
Mar 28, 2023 2:13 PM UTC

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 "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL