2021-07-08 12:32 AM
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 .
2021-07-09 02:28 AM
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
2021-07-09 04:42 AM
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.