Other Parts Discussed in Thread: BP-AM2BLDCSERVO, , AMC1035
Tool/software:
Hello,
I am working with the LP-AM243 in combination with the BP-AM2BLDCSERVO booster pack to control two BLDC motors. I have successfully setup the 'single_chip_servo' example from the Motor Control SDK V9.2.0.9 and have been working towards fully understanding the configuration and usage of the sigma delta current measurement. One aspect I can't seem to figure out is how to correctly convert the output data from the SDFM firmware to Amps. In the single chip servo example a ratio is created based on the output range and then that value is multiplied by 30, but I cant figure out where that value of 30 comes from. Here is the information I have found:
- The output range of the SDFM firmware is -131072-131072 with an OSR of 64
- AMC1035 full scale voltage range is -1.25V-1.25V
- INA241 gain is 10x
- Shunt resist for Booster Pack is 0.01ohm
So the calculation I would expect to covert to Amps would be: ((Output-131072) / 131072) * 1.25V / 10 / 0.01ohm -or- ((Output-131072) / 131072) * 12.5
What am I missing? Does the SDFM firmware do some conversion internally first?
Also, could someone please explain why the SDFM firmware output value range changes based on OSR? This would be greatly appreciated.