I would like to clarify EEPROM values order. I tested it with Red Pitaya oscilloscope web app and it looks to me that this app interprets is s with 1V range at address 8 (jumper in LV position), followed by 20V range at address 12 (jumper in 20V position)
Another source of confusion is the sign of the offset. If I look at RedPitaya/api/src/common.c at Red Pitaya github:
Code: Select all
int32_t cmn_CalibCnts(uint32_t field_len, uint32_t cnts, int calib_dc_off)
{
/* adopt ADC count with calibrated DC offset */
m -= calib_dc_off;
}
I would really appreciate some clarification from Red Pitaya team!