TIDUF33 june 2023
BT2PH_userParam_V_I_chx parameters are used to control the power stage in different Labs. BT2PH_userParam_V_I_ch1 and BT2PH_userParam_V_I_ch2 are used in Lab 1 and Lab 2 to control Phase 1 and Phase 2 of the DC/DC converter. Lab 3 and Lab 4 use BT2PH_userParam_V_I_chm variable. See Table 3-1 for the parameter definitions.
BT2PH_userParam | DATA TYPE | COMMENTS |
---|---|---|
iref_A |
float |
Set current for both charging and discharging mode [0, 100] |
vrefCharge_V |
float |
Set voltage in charge mode [0, 5] |
vrefDischarge_V |
float |
Set voltage in discharge mode [0, 5] |
dir_bool |
unsigned int |
Set this parameter to 1 for charging mode |
Set this parameter to 0 for discharging mode |
||
en_bool |
unsigned int |
Set this parameter to 1 to enable the channel |
dutyRef_pu |
float |
Reference duty cycle for open loop mode. Range = 0 to 1.0 |
ibatCal_pu |
float |
Use this parameter to set output current in calibration mode. Range = 0 to 1.0 |
vbatCal_pu |
float |
Use this parameter to set output voltage in calibration mode. Range = 0 to 1.0 |
IoutGain_pu |
float |
The variable stores current gain calibration data |
ioutOffset_pu |
float |
The variable stores current offset calibration data |
IoutGain_A |
float |
The variable stores current gain calibration data |
IoutOffset_A |
float |
The variable stores current offset calibration data |
vbatGain_pu |
float |
The variable stores voltage gain calibration data |
vbatOffset_pu |
float |
The variable stores voltage offset calibration data |
vbatGain_V |
float |
The variable stores voltage gain calibration data |
vbatOffset_V |
float |
The variable stores voltage offset calibration data |