IMX7S generic timer register base address

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IMX7S generic timer register base address

跳至解决方案
1,496 次查看
alexjun
Contributor II

vsilesfalstaffigorpadykov

Hi,

Could you help point out where I can find register base address for generic timer? IMX7S reference manual mentioned below two timer, but no register address can be found. Only ARM Peripherals start address can be found in memory map chapter. ARM reference manual have register description, but no address neither.

One local generic timer integrated into each Cortex-A7 CPU
Global system counter with timer bus interface to Cortex-A7 MPCore generic timers

Thank you in advance!

Jun

标签 (2)
1 解答
1,266 次查看
falstaff
Senior Contributor I

The generic timer also has a memory mapped interface. It is documented as "System Counter_CTRL" in the i.MX 7 Reference Manual. E.g. upstream U-Boot uses the interface to initialize the timer, see arch/arm/mach-imx/syscounter.c and arch/arm/include/asm/arch-mx7/imx-regs.h (SCTR_BASE_ADDR).

在原帖中查看解决方案

3 回复数
1,267 次查看
falstaff
Senior Contributor I

The generic timer also has a memory mapped interface. It is documented as "System Counter_CTRL" in the i.MX 7 Reference Manual. E.g. upstream U-Boot uses the interface to initialize the timer, see arch/arm/mach-imx/syscounter.c and arch/arm/include/asm/arch-mx7/imx-regs.h (SCTR_BASE_ADDR).

1,266 次查看
alexjun
Contributor II

Thank you! So the generic timer is the system counter, just different name.

0 项奖励
1,265 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Alex

description and usage of generic timer can be found in arm (www.arm.com) documentation:

from Cortex-A7 MPCore Technical Reference Manual - ARM Infocenter, sect.9.3 Timer programmers model


Within each processor, a set of Timer registers are allocated to the CP15 coprocessor space.

http://infocenter.arm.com/help/topic/com.arm.doc.ddi0464d/DDI0464D_cortex_a7_mpcore_r0p3_trm.pdf 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------