DSPRelated.com
Forums

How to use the Periodic Function Manager in DSP/BIOS?

Started by Muoi Nho March 24, 2006
Hi all
I've one problem with using the PRD of DSP/BIOS of C6713.
My task is very simple. I'd like to print one message periodically 10ms by using the PRD function.
My program is following:
-------------
#define CHIP_6713 1
#include
void testTimer();
void main()
{
while(1);
}
void testTimer()
{
printf("hello \n");
}

-----------

In DSP/BIOS config, I inserted one PRD0 in PRD item with the properties:
period (ticks) : 10
mode: continous
function: _testTimer
arg0: 0x00000000
arg1: 0x00000000

I've compiled my program with CCS 3.1 in using C6713 simulator. There isnot problem. But when I run it, there is nothing. I haven't any message "hello".

Please tell me, what is my mistake ?
Best Regards
Muoinho