Hello
following the examples from spruex3g, I tried to create a timer:
/*
* See documentation in spruex3g, 6.3 Timer Module and
* file:///opt/ti/CCSv5/bios_6_31_04_27/docs/cdoc/ti/sysbios/hal/Timer.html
*/
var HalTimer = xdc.useModule( 'ti.sysbios.hal.Timer' );
var SignalTransferTimerParams = new Timer.Params();
SignalTransferTimerParams.periodType = Timer.PeriodType_MICROSECS;
SignalTransferTimerParams.period = 1953;
/* Continue the timer and start it automatically with BIOS_start() */
SignalTransferTimerParams.runMode = Timer.RunMode_CONTINUOUS;
SignalTransferTimerParams.startMode = Timer.StartMode_AUTO;
/* Finally, create the timer */
HalTimer.create( Timer.ANY, "&tmrTriggerSignalTransfer", SignalTransferTimerParams );
Compilation fails:
making package.mak (because of package.bld) ...
generating interfaces for package DSP.pt.msgq (because package/package.xdc.inc is older than package.xdc) ...
configuring platforms_ti816x_dsp/debug/App.xe674 from package/cfg/platforms_ti816x_dsp/debug/App_xe674.cfg ...
js: "./App_ti81xx_dsp.cfg", line 129: XDC runtime error: ti.sysbios.hal.Timer.Params#1: no property named 'MAX_PERIOD'
"./package/cfg/platforms_ti816x_dsp/debug/App_xe674.cfg", line 764
"./package/cfg/platforms_ti816x_dsp/debug/App_xe674.cfg", line 819
"./package/cfg/platforms_ti816x_dsp/debug/App_xe674.cfg", line 751
None of the lines relates to something called "MAX_PERIOD".
I get this error only if I use XDCscript configuration. In C runtime code, I don't get any compile errors (haven't tested if it really works properly, yet).
Any ideas?
cu
Markus