cancel
Showing results for 
Search instead for 
Did you mean: 

Timer2 Initialization in stm32mp1 a7 processor?

srikanth
Associate III

hi,

we are using stm32MP157A ,in this we enabled timer2 APB1 and APB2 clock for timers . When we trying to write timer 2 the processor gets hanged . For this what may be the issue.

In the similar way i did it for the UART4 its working fine . Where as coming to the writing to timer registers its hanging .

2 REPLIES 2
Olivier GALLIEN
ST Employee

Hi @srikanth​ ,

Coud you please provide further detail on your environment ( board, software version) ?

Do you have any log to share ? (eg linux console log from boot to hang )

Do you want to use Timer2 from A7 or M4 ?

How did you generate your device tree ?

Could you share it ?

Thx,

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
srikanth
Associate III

Thank you for reply Oliver

Actually we are developing a software in bare metal, for this we are using segger embedded studio.

we want to use timer for cortex A7.

we are not using any device drivers.

we writing it from scratch.