Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: CPUTimer access from CLA and/or PWM for free running timer

Part Number: TMS320F28379D

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!