SPRUJD3A July 2025 – October 2025 F28E120SB , F28E120SC
FILE: sysctl_ex2_xclkout_config.c
This example demonstrates how to configure the XCLKOUT pin for observing internal clocks through an external pin, for debugging and testing purposes.
In this example, we are using SYSOSCDIV4 as the XCLKOUT clock source and configuring the divider as 8. Expected frequency of XCLKOUT = (SYSOSCDIV4 freq)/8 = 8/8 = 1MHz
View the XCLKOUT on GPIO16 using an oscilloscope.