Hello,
I am trying to activate PRD module for periodic function to pop up every 400ms.
I am trying to configure this from tcf GUI. This is the steps I made:
1. Added new PRD0 object through PRD Manager.
2. defined my_func() in properties of PRD0. mode - continuous petiod/ticks is 400.
3. In CLK Manager Properties I used TIMER1, 32-bit chaned, Reset timer and TIMMODE is checked, Microseconds/count is 1000.
4. In PRD Properties I set "Use CLK Manager to drive PRD" option.
5. Enabled Timer Interrupt (HW15). <-- do I have to?
6. in main file I post: SWI_post(&PRD_swi) <-- do I have to?
But the software does not stops in my_func().
What do I miss?
Thank You
Arye