CUBEIDE Bug in RTC Generation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-11 2:10 AM
Hello,
In CubeIDE I try to generate RTC code which has decimal parameters. However in code generation I realized that it converted to hex value by itself.
You can check screen shots in the attachment.
- Labels:
-
RTC
-
STM32Cube MCU Packages
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-11 2:40 AM
Hello @farukisiker
Thank you for posting!
Could you mention the name of the MCU where you encountered the issue?
KR,
Souhaib
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-11 2:45 AM - edited ‎2025-03-11 2:46 AM
This behavior is correct. 12 decimal expressed in BCD format is 0x12. If you change it to binary format, it will be 12.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-11 3:26 AM
Stm32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-11 3:33 AM
You can check that video to ensure that there is a problem here.
BCD only shows that the number is between 0-9. It even does not accept hex value during configuration.
