I would like to setup a free running timer that can be accessed by both CPU and CLA.
Basic operation that I am looking for:
CLA reads the timer and sets a "time stamp" in a global/shared variable
CPU later reads the timer for "current time" and compares against the time stamp from the CLA task
I initially have been focused on using a CPUTimer. My first experiments are not working, and my guess is that the CLA cannot access the CPUTimer. Is this correct?
I will switch to looking at using an ePWM channel instead. Are there any issues here? The CPU would configure at startup, and then both CPU and CLA would only need to read TBCNT.
Thanks!