IMX8 Initialization system counter

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

IMX8 Initialization system counter

1,691 次查看
AFR89
Contributor III

Hello,

I try to understand how the CNTPCT_EL0 is reset to 0 at power up.
The datasheet of the A35 core say it modified by using CNTVALUEB.
CNTVALUEB seem to be connected to system counter but i don't find any information in the datasheet about the reset. 
Can you give me in which document the reset of this counter is explain?

Best regards

标记 (2)
0 项奖励
回复
4 回复数

1,664 次查看
brian14
NXP TechSupport
NXP TechSupport

Hi @AFR89,

Thank you for contacting NXP Support. 

I will check this information with our internal team. 

Have a great day! 

0 项奖励
回复

1,611 次查看
brian14
NXP TechSupport
NXP TechSupport

Hi @AFR89,

Based on the reply from our expert team, the CNTPCT_EL0 is provided to the ARM cores via the SCU SYSCNTR (system counter). This SYSCNTR is reset to POR (Power-on-Reset). So, during the power-up and if the PMIC resets the system.  Note, the SYSCNTR of the SCU is distributed both to Cortex-A (via CNTPCT_EL0), and to Cortex-M (via its TSTMR counter). It is the same timer that will be read by the SCU, Cortex-A and Cortex-M. Useful for synchronizing them.

 

 

0 项奖励
回复

1,605 次查看
AFR89
Contributor III

Hello,

Do you have any documentation that explain this behavior? We will need it

Best regards

Alexandre

0 项奖励
回复

1,560 次查看
brian14
NXP TechSupport
NXP TechSupport

Hi @AFR89,

This documentation is shared under NDA.

Please submit a support ticket, to review your case. 

Have a great day! 

0 项奖励
回复