IMX8 Initialization system counter

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

IMX8 Initialization system counter

1,688件の閲覧回数
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

ラベル(1)
タグ(2)
0 件の賞賛
返信
4 返答(返信)

1,661件の閲覧回数
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,608件の閲覧回数
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,602件の閲覧回数
AFR89
Contributor III

Hello,

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

Best regards

Alexandre

0 件の賞賛
返信

1,557件の閲覧回数
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 件の賞賛
返信