Dear TI team,
I'm looking for ideas on how to synchronize a timer that is able to generate an interrupt in the R5f cores with the linux system time, i.e. CLOCK_REALTIME or CLOCK_TAI.
I've seen a few threads where other customers asked similar questions, but the threads that I've found never came to a conclusion, e.g. https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1133559/am6442-time-sharing-between-am53-and-core-r5/4207778 or https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1158216/sk-am64-time-synchronization-between-a53-and-r-core.
In the most simple form Linux' CLOCK_REALTIME would be free-running with a rough estimate of "now", but we might also have a CLOCK_REALTIME that is synchronized to some outside time master, e.g. via NTP or PTP.
Are there any examples available or planned that show how to synchronize time between A53/Linux and an R5f, so that the R5f can a) read the current time with reasonable overhead and b) program timer interrupts relative to CLOCK_REALTIME?
Best Regards,
Dominic