I use the FRDMK22FN512VLH12,i would like to measure the CLK out but i dont found in documentation one pin that via it i can affiche frequen cy in scope
can help me
Yes, you also need to configure the pin muxing.
Se this great post from Derek Snell:
Verifying Internal Clocks in Kinetis
Search in the Reference Manual for CLKOUT. The pin is PTC2 and the register to configure that pin is the SIM_SOPT2.
i add this line:
#define SYSTEM_SIM_SOPT2_VALUE 0x00010020U (clkout flash frequency)
,but i see anything in the scope!! should i configure the pin in other register ?
Retrieving data ...