Hi,
I'm running the Build Level 3 of the InstaSPIN_BLDC code. After initializing the IDC offset to IQ(0.5) and BemfX_offsets to IQ(0.0), I got the following values from the watch window:
IDC_offset = 8428008
BemfA_offset = 88445
BemfB_offset =102883
BemfC_offset = 77814
These translate to:
IDC_offset = _IQ(0.5023)
BemfA_offset = _IQ(0.0052)
BemfB_offset =_IQ(0.0052)
BemfC_offset = _IQ(0.0052)
Putting the above values back to the initialization of these variables and running Build Level 3, the variables now hold the following values:
Shouldn't the IDC_offset show IQ(0.5) = 8388608 after the calibration?