This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to read am243x-EVM CPU frequency

Hi,

I'm using the am243x-EVM.

Is there a register I can read (during program execution) to read the CPU frequency ?  

Thanks,

Eli

  • Hi Eli,

    in TRM (rev g) Figure 5-493. MAIN Domain PLLs Integration, MAIN_PLL14_HSDIV0_CLKOUT is the clock for R5FSS0_CORE0_FCLK. It is controlled by the PLL14_HSDIV_CTRL0 Register (Offset = 0x68E080). 

    After the load_dmsc_hsfs.js, here is the PLL14_HSDIV_CTRL0 Register:

    As you can see the HSDIV is 2, so the divider is 3 (DIV+1). The PLL14 is set to 2400Mhz (25Mhz*96), so the R5FSS0 is set to 2400/3 = 800Mhz.

    Best regards,

    Ming

  • Hi Ming,

    Thanks !

    Best Regards,

    Eli