First, TIME_USEC wasn't updating correctly, but then I moved the WriteAux() function in the 200Hz loop in mcp.c, and that seems fixed. However, we now notice a sort of glitch every once in a while when we plot TIME_USEC against INDEX. These glitches are also associated with the jumps in the thermometry readout, and probably with any signal we plot vs INDEX. Glithces shape is always the same: it looks like the TIME_USEC value is anticipated, meaning that the time associated with some of the INDEX values is the same as the next one.
First, TIME_USEC wasn't updating correctly, but then I moved the WriteAux() function in the 200Hz loop in mcp.c, and that seems fixed. However, we now notice a sort of glitch every once in a while when we plot TIME_USEC against INDEX. These glitches are also associated with the jumps in the thermometry readout, and probably with any signal we plot vs INDEX. Glithces shape is always the same: it looks like the TIME_USEC value is anticipated, meaning that the time associated with some of the INDEX values is the same as the next one.