Hi,
I use DSP_BIOS in my project. And I have to use a period function
whose period is 4ms. My DSP EVM is TMS320C5515. The CPU frequency is 100MHz.
I have the below configuration in the tcf file:
bios.PRD.create("PRD0"); bios.PRD.instance("PRD0").order = 2; bios.PRD.instance("PRD0").mode = "one-shot"; bios.PWRM.ENABLE = 1; bios.PWRM.ENABLE = 0; bios.TSK.create("TSK0"); bios.TSK.instance("TSK0").order = 3; bios.TSK.instance("TSK0").fxn = prog.extern("task0"); bios.GIO.ENABLEGIO = 0; bios.PRD.create("PRD1"); bios.PRD.instance("PRD1").order = 1; bios.PRD.instance("PRD1").mode = "one-shot"; bios.PRD.instance("PRD1").comment = "W_CTS timer"; bios.PRD.instance("PRD1").fxn = prog.extern("timer_f_wcts");
bios.PRD.instance("PRD1").period = 4000;
I defined timer_f_wcts() procedure in my code
I use the TIMER0 as high resolution timer. And set the Microseconds/Int field to
1000.0.
I implemented timer_f_wcts()procedure and I called PRD_Start(&PRD1) from my main
I set one breakpoint in timer_f_wcts() Run the program but the program doesn't stop in timer_f_wcts()
I tried the same with 2 ticks period
Any help will be highly appreciated!