I am using just MotorWare v1.01.00.14 code. I am using both the DRV8301_69M_KIT and alternatively the LAUNCHXL_28069M kit (with a BOOSTXL_8301 board)
I am trying to understand the (value) used in each of the "user.h" and "user_j1.h" or "user_j5.h" for #define USER_ADC_FULL_SCALE_CURRENT_A (value)
C:\ti\motorware\motorware_1_01_00_14\sw\solutions\instaspin_foc\boards\drv8301kit_revD\f28x\f2806xF\src\user.h has this statement
#define USER_ADC_FULL_SCALE_CURRENT_A (82.5)
while
C:\ti\motorware\motorware_1_01_00_14\sw\solutions\instaspin_foc\boards\boostxldrv8301_revB\f28x\f2806xF\src\user_j1.h has this statement
#define USER_ADC_FULL_SCALE_CURRENT_A (33.0)
The "drv8301kit_RevD" board uses a 0.002 Ohm shunt resistor. I only see a gain of x10 applied to that "shunt voltage" signal by the DRV8301 internal amplifier with it's default 10x gain.
The LaunchPad_69M with the "boostxldrv8301" board uses a 0.010 Ohm shunt resistor. Again, I only see a gain of x10 applied to that "shunt voltage" signal by the DRV8301 internal amplifier with it's default 10x gain.
I think the "shunt voltage" signal using the "boostxldrv8301" board appears like it would be 5x the value of "shunt voltage" signal using the "drv8301kit_RevD" board.
So, here is the question ...
Why isn't the statement in the
C:\ti\motorware\motorware_1_01_00_14\sw\solutions\instaspin_foc\boards\drv8301kit_revD\f28x\f2806xF\src\user.h file:
#define USER_ADC_FULL_SCALE_CURRENT_A (165.0)
while
C:\ti\motorware\motorware_1_01_00_14\sw\solutions\instaspin_foc\boards\boostxldrv8301_revB\f28x\f2806xF\src\user_j1.h has this statement
#define USER_ADC_FULL_SCALE_CURRENT_A (33.0)
?
Or, why isn't the statement in the
C:\ti\motorware\motorware_1_01_00_14\sw\solutions\instaspin_foc\boards\boostxldrv8301_revB\f28x\f2806xF\src\user_j1.h file:
#define USER_ADC_FULL_SCALE_CURRENT_A (16.5)
while
C:\ti\motorware\motorware_1_01_00_14\sw\solutions\instaspin_foc\boards\drv8301kit_revD\f28x\f2806xF\src\user.h has this statement
#define USER_ADC_FULL_SCALE_CURRENT_A (82.5)
?