Hi,
the device is CC1352R.
There is implemented periodic clock instance shown below:
/* Construct a periodic Clock Instance */
ClockP_construct(&clk0Struct, (ClockP_Fxn)SWTick, period, &clkParams);
clk2Handle = ClockP_handle(&clk0Struct);
ClockP_start(clk2Handle);
This instance make a tick periods at, which some volatile counters changed his values.
For changing counters values in runtime the application use - ClockP_start(clk2Handle); and ClockP_stop(clk2Handle); to implement critical section.
HwiP_disable(); do not stop this tick.
When this critical section is used I see that there is error in the time base ~1.6second. Is it possible when do ClockP_stop/ClockP_start, the RTC to add error i n the time base?
Best regards,
Ilian