Skip to main content
srikanth
Associate III
July 8, 2021
Question

Timer2 Initialization in stm32mp1 a7 processor?

  • July 8, 2021
  • 2 replies
  • 655 views

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 .

This topic has been closed for replies.

2 replies

Olivier GALLIEN
ST Technical Moderator
July 9, 2021

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

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
srikanthAuthor
Associate III
July 9, 2021

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.