While working on the Energest implementation I noticed that we were using a 16 bits rtimer. However the openlab platform supports a way around the 16 bits timer. It has a wraparound counter that can fix the overflows.
A 16 bits timer in this platform would wraparound every 2 seconds, this was causing wrong measurements in the energest.
While working on the Energest implementation I noticed that we were using a 16 bits rtimer. However the openlab platform supports a way around the 16 bits timer. It has a wraparound counter that can fix the overflows. A 16 bits timer in this platform would wraparound every 2 seconds, this was causing wrong measurements in the energest.