IMX7S generic timer register base address

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX7S generic timer register base address

ソリューションへジャンプ
1,428件の閲覧回数
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,198件の閲覧回数
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,199件の閲覧回数
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,198件の閲覧回数
alexjun
Contributor II

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

0 件の賞賛
1,197件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------