Quectel LTE Module Series Charging User Manual
Quectel LTE Module Series Charging User Manual

Quectel LTE Module Series Charging User Manual

Hide thumbs Also See for LTE Module Series:

Advertisement

Quick Links

SC20
Charging User Guide
LTE Module Series
Rev. SC20_Charging_User_Guide_V1.0
Date: 2016-09-26
www.quectel.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LTE Module Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Quectel LTE Module Series

  • Page 1 SC20 Charging User Guide LTE Module Series Rev. SC20_Charging_User_Guide_V1.0 Date: 2016-09-26 www.quectel.com...
  • Page 2 QUECTEL OFFERS THE INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION PROVIDED IS BASED UPON CUSTOMERS’ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR RELIANCE UPON THE INFORMATION.
  • Page 3: About The Document

    LTE Module Series SC20 Charging User Guide About the Document History Revision Date Author Description 2016-09-26 Luffy ZHANG Initial SC20_Charging_User_Guide Confidential / Released 2 / 14...
  • Page 4: Table Of Contents

    LTE Module Series SC20 Charging User Guide Contents About the Document ..........................2 Contents ..............................3 Table Index ............................... 4 Introduction ............................5 Debug ..............................6 2.1. Related Code Files and Location ..................6 2.2. Debug ........................... 6 Compile and Download........................11 Charge ..............................
  • Page 5: Table Index

    LTE Module Series SC20 Charging User Guide Table Index TABLE 1: RELATED CODE FILES AND LOCATIONS ..................6 TABLE 2: BATTERY-TEMPERATURE MONITORING CALCULATIONS ............10 SC20_Charging_User_Guide Confidential / Released 4 / 14...
  • Page 6: Introduction

    LTE Module Series SC20 Charging User Guide Introduction This document mainly describes debug codes for charging on Quectel SC20 module, which will help customer to better understand the charging process. SC20_Charging_User_Guide Confidential / Released 5 / 14...
  • Page 7: Debug

    LTE Module Series SC20 Charging User Guide Debug 2.1. Related Code Files and Location Table 1: Related Code Files and Locations Code Files and Locations Description android/kernel/drivers/power/qpnp-linear-charger.c Driver file for charging android/kernel/arch/arm/boot/dts/qcom/batterydata- Battery parameters palladium.dtsi android/kernel/arch/arm/boot/dts/qcom/msm-pm890 Charging parameters 9.dtsi android/kernel/arch/arm/boot/dts/qcom/msm8909-p Charging switch m8909-mtp.dtsi...
  • Page 8 LTE Module Series SC20 Charging User Guide static int qpnp_lbc_probe(struct spmi_device *spmi) if (is_parallel_charger(spmi)) return qpnp_lbc_parallel_probe(spmi); else return qpnp_lbc_main_probe(spmi); static int __init qpnp_lbc_init(void) return spmi_driver_register(&qpnp_lbc_driver); module_init(qpnp_lbc_init); static void __exit qpnp_lbc_exit(void) spmi_driver_unregister(&qpnp_lbc_driver); module_exit(qpnp_lbc_exit); MODULE_DESCRIPTION("QPNP Linear charger driver"); MODULE_LICENSE("GPL v2");  DTS Parse DTS (Device Tree Source) is parsed by probe function.
  • Page 9 LTE Module Series SC20 Charging User Guide chip->thermal_mitigation[chip->therm_lvl_sel]); pr_debug("setting charger current %d mA\n", chg_current); qpnp_lbc_ibatmax_set(chip, chg_current);  Battery Parameters Battery parameters can be configured to calculate battery capacity, such as OCV (Open Circuit Voltage) under different temperature and battery percentage.
  • Page 10 LTE Module Series SC20 Charging User Guide static const struct qpnp_vadc_map_pt adcmap_btm_threshold[] = { {XXX, YYY}, //The former is the temperature value, and the latter is the voltage The table is customized, it needs hardware engineers to get values from battery vendors and fill in.
  • Page 11: Table 2: Battery-Temperature Monitoring Calculations

    LTE Module Series SC20 Charging User Guide  High and Low Temperature Thresholds High and low temperature thresholds are determined by both software and hardware, and hardware plays a major role. On hardware side, the thresholds are closely related to thermistor and voltage divider resistor of battery.
  • Page 12: Compile And Download

    LTE Module Series SC20 Charging User Guide Compile and Download After debugging, customer needs to compile kernel and download kernel images. Compile Kernel make –jn bootimage(“n” means the thread numbers of CPU) Download Kernel Images by Fastboot adb reboot bootloader fastboot flash boot android\out\target\product\msm8909\boot.img...
  • Page 13: Charge

    LTE Module Series SC20 Charging User Guide Charge 4.1. Charging Process Charging processes consists of four stages: trickle charging, constant current charging, constant voltage charging and charging termination. 1. Trickle Charging When battery voltage is lower than 3.2V, it is called trickle charging stage. This stage can be divided into two phases: when battery voltage is lower than 2.8V, it is in first phase, and the current is 90mA.
  • Page 14 LTE Module Series SC20 Charging User Guide In chg_app_ds array, 3500 indicates the power-on voltage is 3.5V. Customer can edit the value to change the voltage. Set power-off voltage setting in android\kernel\arch\arm\boot\dts\qcom\batterydata-palladium.dtsi. In the palladium-battery data node, 3300000 indicates the voltage is 3.3V. Customer can edit the value to change the voltage.
  • Page 15: The Maximum Charging Time

    LTE Module Series SC20 Charging User Guide 4.3. The Maximum Charging Time A timer can be enabled in the driver files according to the configuration in DTS (qcom, tchg-mins). When charging timer reaches the set time, the module will stop charging.

This manual is also suitable for:

Sc20

Table of Contents