We need to check the clock frequency of the microcontroller. I’m unsure whether to measure it using hardware tools or by checking through code. There is no specific pin available for clock output in the data sheet to measure it directly. Can you help me decide which method to use?
Hi @Prabhuraj ,
Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.
1: I suggest that you can use an oscilloscope to measure the pin waveform.
2. Import one SDK demo evkmimxrt1064_ccm_clockout in the sdk driver_examples folder.
you can set pin in Perpheral Signals tools. The pins in the diagram below are used by the SDK demo
3: I use an oscilloscope to measure the pin CLKO1, then get clock.
Best Regards
mayliu
Hi @Prabhuraj ,
Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.
1. specific pin available for clock output is described in IMXRT1064RM rm. :
https://www.nxp.com/webapp/Download?colCode=IMXRT1064RM
2. In 14.7.19 CCM Clock Output Source Register (CCM_CCOSR),described how to output clock
The figure below represents the CCM Clock Output Source Register (CCOSR). The
CCOSR register contains bits to control the clock that will be generated on the output
ipp_do_clko1
3. For example.
Best Regards,
mayliu