Hi,
In DSP/BIOS, I used the CLK_countspms function to get number of hardware timer register ticks per millisecond.
Now that I moved to Sys/Bios, this function is no longer supported.
How can I retrieve this value in Sys/Bios?
Thanks,
Gilad
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,
In DSP/BIOS, I used the CLK_countspms function to get number of hardware timer register ticks per millisecond.
Now that I moved to Sys/Bios, this function is no longer supported.
How can I retrieve this value in Sys/Bios?
Thanks,
Gilad
Hi Gilad,
What version of SYS/BIOS are you using? What device are you developing on?
Thanks,
-- Emmanuel
Hi Emmanuel,
Sys/Bios version is 6.33.05.46, I'm developing on DM8148's C674x dsp.
Same question for Dsp/Bios "CLK_gethtime" function, what function replace it in Sys/Bios?
Thank you,
Gilad
Hi Gilad,
The Clock module within SYS/BIOS has a family-dependent constant called Clock_tickPeriod which has period in microseconds. TI platforms have a default of 1000 microseconds. The Clock_getTicks() function provides the time (the system has been running) in clock ticks.
The Clock API can be found in:
<BIOS install dir>\docs\Bios_APIs.html -> ti.sysbios.knl.Clock
Thanks,
-- Emmanuel