Sysctl external clock out

This example demonstrates how to configure the External CLKOUT pin for observing internal clocks through an external pin.

In this example, we are using SYSOSC as the XCLKOUT clock source and configuring the divider as 8. Expected frequency of CLKOUT = (SYSOSC freq)/8 = 32/8 = 4MHz

External Connections

View the XCLKOUT on PA27 using an oscilloscope.