Hi all,
Does anyone here know what unit the ADC bias offsets used in instaspin are expressed in? (IE. the values returned by DRV_getBias(...)). After performing an offset calculation I'm getting voltage offset values of around 0.023 and current offset values of around 0.052 (as returned by the DRV_getBias(...) function). My scaling parameters in user.h are IQ_FS_V = 80, ADC_FS_V = 68, IQ_FS_C = 700, ADC_FS_C = 330.
The function description is not completely clear as to what the expressed value is reported as, but I had expected either a value close to 1.65V or a value < 30-50mV when scaled. None of the combinations of multiplication or division by V_SF and I_SF and/or other reasonable scale factors (such as the the ADC full-scale value (2^12-1) give what I values in the range I had expected or vary with changing IQ_FS values... Some help would be very appreciated!
Thanks,
//Jonathan