Synchronizing Time Between A7 and M4 Cores on STM32: Accessing STGEN Timer from A7
Hello,
I need to synchronize the time between the A7 and M4 cores. While I found some resources on the ST Community that accessing the STGEN timer from the A7 side.
the article is below
So, I tried this on A7 too.
for reading/writing peripheral registers from the A7 core is outlined in STWiki article.
https://wiki.st.com/stm32mpu/wiki/How_to_read_or_write_peripheral_registers
I think accessing /dev/mem offer a same capability. I tried and successfully employed this approach for UART4. However, I failed when it comes to reading the STGENR using this method.
Could someone provide guidance on how I might access the STGEN timer from the A7 core? If there's a more efficient or recommended way to synchronize the time between the A7 and M4 cores, that information would be invaluable as well.
Thank you for your assistance.
