Is there a way to reset the PRD tick count? (I hope I'm wording this correctly)
I am using the CLK Manager to drive PRD. The CLK Manager interrupts every 1000.00 us ( 1 ms ). My PRD object's period (ticks) is set to 10 i.e. interrupts every 10 ms. In my application, I have a totally unrelated event that can happen at any time. Once that event happens I need to post SWIs to occur based on both the CLK timer and the PRD timer. The SWIs tied to the CLK timer will occur within 1 ms. No problem. The SWIs based on the PRD timer will occur sometime within 1 to 10 ms. I understand why this is happening based on the documentation (see PRD_start() description in the BIOS API document, although I am not using the PRD_start() function in my code). If I were able to reset the PRD tick timer back to 0 prior to posting the PRD-based SWIs, then the CLK-based SWIs and the PRD-based SWIs would be much more in synch i,e they would be within 1ms of each other.
Is there a way to reset the PRD tick count?
BIOS 5.33.05; CCS 3.3.82.13; DSP F28335
Regards,
Scott