Hi all,
I'm using DM6446, I want to create periodic function (using CLK module and PRD module). Here is the configuration
bios.PRD.create("myPRD");
bios.PRD.instance("myPRD").order = 1;
bios.PRD.instance("myPRD").period = 1000;
bios.PRD.instance("myPRD").fxn = prog.extern("myPRDfxn", "asm");
bios.PRD.instance("myPRD").fxn = prog.extern("myPRDfxn");
...
bios.SWI.instance("PRD_swi").priority = 14;
"Use CLK manager to drive PRD" is checked
I create function, that was named "void myPRDfxn(void)". CLK module is created automatically with parameter (input_frequency=27MHz. Microseconds/Int = 1000). But the myPRDfxn function is never called. I try to change many parameters, but haven't yet been successful.
I will high appreciate if someone can help me to solve this problem
TungDH