I wrote a bare metal app running on Arria V evaluation board HPS (ARM Cortex-A9 CPUs) and I wish to verify the CPU frequency.
I thought I could read the CNTFRQ register value, but as Martin Weidmann explained me here:
the Cortex-A9 doesn't have this register.
Maybe you can help me with how I can get this value on this CPU?
Check your setup code. And read out the PLL registers. It is not "just" reading one single register, though. You have to "Do the Math"
Thank you for your answer. Can you please detail your answer? I'm new with this subject. what do you mean by check my setup code and where to read about these PLL registers
The set up of PLLs and other such components will be device specific.
As you are using Intel FPGA SoC, you will likely find a more appropriate audience at the below:https://community.intel.com/t5/Programmable-Devices/bd-p/programmable-devices