I am using the LS1028ARDB (Armv8) board. The RCW setting for System Clock is 0x258 which is 100 MHz. I am using the arm generic timer to calculate execution time. The cntfrq_el0 reads a zero. I am running the bare metal configuration. To check the the counter i read the cntpct_el0. But to calculate the time I need the actual frequency. Arm says that for Armv8 the system clock is usually 1 to 50 Mhz. I dont know what value of system clock should I be using?
Solved! Go to Solution.
It is 25MHz for LS1028A.