fix(rtc): fixed bbpll not calibrated from bootloader issue

This commit is contained in:
Xiao Xufeng
2023-11-07 16:16:23 +08:00
committed by Michael (XIAO Xufeng)
parent 8775b99d93
commit c204f418ef
7 changed files with 96 additions and 0 deletions
@@ -67,6 +67,12 @@ void rtc_clk_mpll_disable(void);
void rtc_clk_mpll_configure(uint32_t xtal_freq, uint32_t mpll_freq);
#endif //#if SOC_CLK_MPLL_SUPPORTED
/**
* @brief Workaround for C2, S3, C6, H2. Trigger the calibration of PLL. Should be called when the bootloader doesn't provide a good enough PLL accuracy.
*/
void rtc_clk_recalib_bbpll(void);
#ifdef __cplusplus
}
#endif