I have created a PRD_Obj that I want to run every 10 ms. So I set the period to 10. But I only get called every ~69 ms. So I set the period to 1. Now I get called every ~69 ms. Then I set the period to 100... and I get called every ~69 ms. Seems to be a pattern here.
checked the Timer1 registers - they appear to be programmed correctly for 1 ms interrupt.
checked the PRD_Obj - period is set to 10, 1, 100 respectively
there is literally no other code running at this time. I set various breakpoints to verify that.
any ideas what may be configured wrong?