hi,
I'm using EKS-LM3S9D92 board
with sys/bios 6.34.4.22
LM3S9D92 has 4 GPTimer and when sys/bios preserve 2 of it
in my project i want to use 3 timer ??
can i stop using loggerbuf to get one timer ?? and if i can , how ??
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi,
I'm using EKS-LM3S9D92 board
with sys/bios 6.34.4.22
LM3S9D92 has 4 GPTimer and when sys/bios preserve 2 of it
in my project i want to use 3 timer ??
can i stop using loggerbuf to get one timer ?? and if i can , how ??
Hi Ahmed,
I believe you're seeing 2 timer instances. One being used by the system clock tick and another by a timestamp provider that gets pulled in with the LoggerBuf module.
If you're trying to combine the two instances, you can invoke the Timestamp provider explicitly in your .cfg file and tell it to use the same timer which is used by the Clock module.
var TimestampProvider = xdc.useModule('ti.sysbios.family.arm.lm3.TimestampProvider');
TimestampProvider.useClockTimer = true;
This should free up the 2nd instance. This can be verified in ROV.
If you just want to remove the logger, go to the .cfg file and remove its references (similar to below).
//var loggerBufParams = new LoggerBuf.Params();
//loggerBufParams.numEntries = 16;
//var logger0 = LoggerBuf.create(loggerBufParams);
//Defaults.common$.logger = logger0;
//Main.common$.diags_INFO = Diags.ALWAYS_ON;