Skip to main content
Visitor II
July 8, 2021
Question

Timer2 Initialization in stm32mp1 a7 processor?

  • July 8, 2021
  • 2 replies
  • 640 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

    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

    srikanthAuthor
    Visitor II
    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.