RTC calibration oputput on STM32H7x with LL driver - Bug report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-05 4:10 AM
Hello,
I tried to enable in the CubeMX section PB2 as calibration output, but it was not working.
The fix is to add a couple of lines after the RTC init:
...
/** Enable Calibration
*/
LL_RTC_CAL_SetOutputFreq(RTC, LL_RTC_CALIB_OUTPUT_512HZ); //<-- will not work, registers are write protected!
/* USER CODE BEGIN RTC_Init 2 */
/* Disable the write protection for RTC registers */
LL_RTC_DisableWriteProtection(RTC);
LL_RTC_CAL_SetOutputFreq(RTC, LL_RTC_CALIB_OUTPUT_512HZ);
LL_RTC_EnableOutRemap(RTC); //<- to enable output on PB2
/* Enable the write protection for RTC registers */
LL_RTC_EnableWriteProtection(RTC);
/* USER CODE END RTC_Init 2 */
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-10 7:19 AM
Hello
Sorry for late answer, this issue is reproduced and it is reported internally .
Internal ticket number: 163446 (This is an internal tracking number and is not accessible or usable by customers).
Thank you
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
‎2023-10-05 6:48 AM
Hello @MD and welcome to the community.
Thank you for having reported this issue
Can you please provide more information about the MCU and CubeMX version you have used.
Thank you.
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
‎2023-10-06 2:35 AM - edited ‎2023-10-06 4:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-10 7:19 AM
Hello
Sorry for late answer, this issue is reproduced and it is reported internally .
Internal ticket number: 163446 (This is an internal tracking number and is not accessible or usable by customers).
Thank you
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.
