SLAAEU0 April   2025 MSPM0C1105 , MSPM0C1105 , MSPM0C1106 , MSPM0C1106 , MSPM0H3216 , MSPM0H3216 , MSPM0L1306 , MSPM0L1306

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Hardware Connection
  6. 3Software Structure and Important Functions
  7. 4Evaluation Steps
  8. 5Summary
  9. 6References

Evaluation Steps

  1. Input the battery information and the BQ2562x configuration before doing the setup in the main.c file as shown in Figure 4-1.
     Software
                            Configuration Figure 4-1 Software Configuration

    Table 4-1 shows the basic description for the configurations. Battery information, like max voltage and max current, can be obtained from the battery manufacturer. The precharge current and terminate current are obtained from experience and are according to the application requirement. For the BQ2562x configuration, TI recommends to add some margin based on the battery information.

    Table 4-1 Configuration Description
    Category Parameters Description

    Battery information

    Constant_charge_current_max_ua

    Max constant charge current for battery.

    Constant_charge_voltage_max_uv

    Max constant charge voltage for battery; this works at the end of charge.

    Precharge_current_uA

    Precharge current for battery. Used to make sure the battery is healthy and in good connection.

    BQ2562x configuration

    iInputHighLim_uA

    Max input current in power line side. If this is above the max input current, then the discharge is stopped.

    vInputLowLim_uV

    Minimum input voltage in power line. If this is not satisfied, then the discharge current constantly decreases.

    Watchdog_timer_s

    BQ2562x internal watchdog timer. Reset in the bq2562x_get_state() function.

  2. Install CCS and load the code example from the link in Section 1.
  3. Perform the hardware setup by following the instructions in Section 2.
  4. Users can run a time check on the BQ2562x status by checking the variable bq_device->state in the debug mode of CCS, as shown in Figure 4-2.
     Result in Debug
                            Mode Figure 4-2 Result in Debug Mode

The result parameter description is shown in Table 4-2. For the parameter definitions, refer to the BQ25620/BQ25622 I2C Controlled 1-Cell, 3.5A, Maximum 18V Input, Buck Battery Charger with NVDC Power Path Management and OTG Output data sheet.

Table 4-2 Result Description
ParametersDescription

Chrg_status

The battery charging status

Chrg_type

USB input source detection through D+/D– lines

Vbat_adc_uV

Battery voltage

Vbus_adc_uV

USB power line voltage

Ibat_adc_uA

Battery current

Ibus_adc_uA

USB power line current