How to measure the system clock?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to measure the system clock?

1,173 Views
578294688
Contributor II

Hello!

First explain that the chip I used is S32R274,the IDE is S32 Design Studio for Power 2017 R1.

I set the system clock at 120MHz,and try two ways,one is open the PLL1 fraction function,another is closed.At two situation,I use the I/O toggle to test,find the speed of toggling is equal.And then I set the system clock to be 60MHz,the speed of toggling is a half.

To get the real number of the system clock,I try to read the CMU register,because it has a function for metering the frequence,but just for the IRC.

So!!! How can I get the real system clock?Read the register or use the oscilloscope.

Thank you!

0 Kudos
Reply
2 Replies

1,024 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

the easiest way is enable clock out and use oscilloscope:

pastedImage_1.png

Jiri

0 Kudos
Reply

1,024 Views
578294688
Contributor II

Hello,Jiri.

This is a easiest way to solve the problem,it may be that I don't clear my meaning,I just have the daughter board of the EVB board,I can not measure the CLK_OUT pin.Do you have other methods?

Thank for your help!

0 Kudos
Reply