STM32G0B1X RTC_OUTPUT generated at ADC_IN pin number PA4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-09 4:46 AM
Hi team,
I am using STM32G0B1 for my project development were I use PA4 as a ADC_IN in analog mode and using RTC for date and time setting, though I am not using(/set) RTC_OUT but 1 Hz RTC calibration output getting activated at power on or at rebbot.
To fix this issue I explicitly calling the “HAL_RTCEx_DeactivateCalibrationOutPut(&hrtc)” in main.c this fix the issue.
What is the expected fix of this issue? why its occuring ? does the place/time of calling that API matters?
- Labels:
-
STM32G0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-15 11:33 PM - edited 2025-04-15 11:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-15 11:36 PM
VBAT is powered by a lithium 3v coin battery.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-15 11:40 PM
I forget to mention that RTC out calibration is activated at power on or at reboot on PA4 pin which I am using as a ADC_IN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-16 11:41 AM
What is the voltage on VBAT pin, as measured directly at the pin, when the board is powered down?
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-17 4:57 AM
We dont use any battery to this board , rtc will updated by master board after power on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-21 1:05 AM
And VBAT is connected to VDD as recommended, then?
At any case, you want to perform a backup-domain reset (see RCC_BDCR.BDRST) just after the system reset, before setting up RTC and its clock.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-21 4:12 AM
VBAT is connectec to VDD and Backup-domain reset (RCC_BDCR.BDRST) is not used in this scenario.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-04-22 2:50 AM
Well, then use it.
JW
