
4. Clock Sources
A31G22x Clock Setting Guide
14
4.3.2.
F/W Configuration
SXIN and SXOUT pins of the LSE clock must be set before enabling the LSE clock. After enabling the
LSE clock, stabilization time for the SXTAL is required.
Next, users must set the LSE clock source as the system clock and update the global variables
representing HCLK and PCLK to have the system operation frequency value.
Figure 6. LSE Clock F/W Configuration