[cpu]TI cortex-A9 查看cpu的频率

Posted aaronGao

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[cpu]TI cortex-A9 查看cpu的频率相关的知识,希望对你有一定的参考价值。

 

Hi Aaron,

For checking and changing Cortex-A9 CPU frequency in u-boot, refer to the below files:

u-boot/arch/arm/cpu/armv7/am33xx/clock_am43xx.c
u-boot/arch/arm/cpu/armv7/omap-common/clocks-common.c
u-boot/board/ti/am43xx/board.c

You can check registers PRCM_CM_CLKSEL_DPLL_MPU (0x44DF2800 + 0x560) and PRCM_CM_DIV_M2_DPLL_MPU (0x44DF2800 + 0x570) from the u-boot prompt with "md" command and thus get M,N and M2 values. Then you can calculate the CPU frequency according to the formula provided in AM437x TRM (section 6.6.3 ADPLLS). 

You need also define what is the DPLL_MPU input frequency. It is based on main OSC frequency, which is 24MHz on the TI EVM.

Regards,
Pavel

 

 

以上是关于[cpu]TI cortex-A9 查看cpu的频率的主要内容,如果未能解决你的问题,请参考以下文章

Cortex-A9 UART

Cortex-A9 UART

ARM Cortex-A72 CPU All In One

你能帮我理解 ARM Cortex-A9 上的缓存行为吗?

Cortex-A

在 ARM Cortex-A8 上启用 MMU 时出现问题。 CPU是S5PV210