Hi all,
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
Thank you
解決済! 解決策の投稿を見る。
Yes, you also need to configure the pin muxing.
Se this great post from Derek Snell:
Verifying Internal Clocks in Kinetis
Regards,
Santiago
Hello,
Search in the Reference Manual for CLKOUT. The pin is PTC2 and the register to configure that pin is the SIM_SOPT2.
Regards,
Santiago
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 ?
Yes, you also need to configure the pin muxing.
Se this great post from Derek Snell:
Verifying Internal Clocks in Kinetis
Regards,
Santiago