MAX1720x/MAX1721x Software Implementation Guide

Similar documents
MAX1720x/MAX1721x Battery Pack Implementation Guide

MAX1726x Software Implementation Guide

MAX17055 Software Implementation Guide

MAX17055 MODELGAUGE M5 EZ USER GUIDE

DS2756EVKIT+ High Accuracy Battery Fuel Gauge With Programmable Suspend Mode Evaluation Kit

+Denotes lead(pb)-free and RoHS compliant.

Evaluates: MAX17201/MAX17205/ MAX17211/MAX MAX17201/MAX17205/MAX17211/ MAX17215 Evaluation Kits. Quick Start. General Description

CW2013. Low-Cost 1s Fuel Gauge IC with Low-SOC Alert. General Description. Features. Applications. Order Information

DS2760K Li + Battery Monitor Evaluation Kit

The DS2703 EV kit evaluation software gives the user complete control of all SHA-1 functions of the DS2703 as well as the various other commands.

MF1ICS General description. Functional specification. 1.1 Key applications. 1.2 Anticollision. Energy. MIFARE card contacts La, Lb.

Battery gauge system design overviewprocess flow, tools and configuration

Switch mode single cell Li+ battery charger with OTG boost, voltage mode fuel gauge and LDO

Evaluates: MAX MAX17262X Evaluation Kit. General Description. Quick Start. Features and Benefits. MAX17262 EV Kit Files. Required Equipment

STBC ma standalone linear Li-Ion battery charger with thermal regulation. Description. Features. Applications

Test Procedure for the LC709203F-01 Evaluation Board. Contents

How to Power On and Power Off the M29F Flash Memory Device

Operation Manual of Smart Battery Systems (SBS) with SmBus V1.1 support for 12.8V LiFePO4 battery pack (6.6Ah-100Ah)

ArduCAM-M-2MP Camera Shield

Modbus Map: Conext XW/XW+ Device

CANBus Data Interface Rev R Lithionics LLC

HMC1022 Digital Compass

UM2091 User manual. EVAL-L9301 Demo board Hardware documentation. Introduction

MAX17048X/ MAX17049X Evaluation Kits (WLP)

DS2781EVKIT+ Standalone Fuel Gauge IC Evaluation Kit

Evaluating the MAX14827 with mbed User Guide UG6248; Rev 0; 3/16

DS2782EVKIT+ Standalone Fuel Gauge IC Evaluation Kit

DS2788K Evaluation Kit Standalone Fuel Gauge IC with LED Display Drivers

ON Semiconductor SSG Division. Battery Fuel Gauge IC (LC709203F) Battery Fuel Gauge IC for 1-Cell Lithium-ion (Li+) Application Note. Ver2.

EV Software Rev Evaluation System User Guide. Introduction. Contents. Hardware and Software Setup. Software Installation

EVALUATION KIT AVAILABLE 28V Linear Li+ Battery Charger with Smart Autoboot Assistant OFF

MTR-4. C8 Command to MODBUS Bridge User Manual F-1, No. 631, Chung Der Road, Sec 1, Taichung Taiwan.

imetos LoRa Data payload structure

1-Cell/2-Cell Fuel Gauge with ModelGauge

TPMC816. Two Independent Channels Extended CAN Bus PMC Module. Version 2.2. User Manual. Issue August 2014

Intel RAID Smart Battery AXXRSBBU6

A0061. Overview. Features. Ordering Information. HSS Touch Signature IC 15 Input - I 2 C. Part Number Format: A X Y Z

Embedded Navigation Solutions VN 100, VN 200 & VN 300 Development Board User Manual

One-Cell Li Battery Protectors

PART TOP VIEW. TO LOAD SINGLE Li+ CELL TO IN LOGIC OUT. Maxim Integrated Products 1

4-Wire Interfaced, 2.7V to 5.5V, 4-Digit 5 7 Matrix LED Display Driver

ModelGauge and Low-Battery Alert

SPARC INTERNATIONAL. Version1 SPARC Keyboard Specification

MF1 MOA4 S50. Contactless Chip Card Module Specification. This document gives specifications for the product MF1 MOA4 S50.

What is SmartUPS. Connections. Button and LED Indicator. SmartUPS User Guide

MAXREFDES155# DeepCover Embedded Security in IoT: Public-key Secured Data Paths Quick Start Guide

Bt865/865A Macrovision Process S865A_A

MAXIM MR16 EVALUATION PLATFORM User Manual. UG6078; Rev 0; 3/15

NeoLoch. Inquisitor 4116 DRAM Blade Manual. Overview. Preliminary Release

Modbus Map: Conext MPPT Device

AUR9801D. Pin Assignments. Description. Applications. Features LI-ION/LI POLYMER BATTERY CHARGER AUR9801D

For more information Contact with details of the application.

EMIF06-HMC02F2. 6-line IPAD, EMI filter including ESD protection. Description. Features. Applications. Complies with the following standards

Interfacing Z8 Encore! XP MCUs with an I 2 C-Based Character LCD

USB-Based 14-Channel Data-Acquisition Module

Modbus Map: MPPT60 Device

I 2 C Application Note in Protocol B

USB-BASED 8-CHANNEL DATA ACQUISITION MODULE

DK-PGM-01. User's Guide. IQRF Universal Development kit MICRORISC s.r.o. MNDKPGM01_ Page 1

Compact, Low-Cost 1S/2S Fuel Gauges with Low-Battery Alert

MPR121 Proximity Detection

STMLS05 Applications Description Features Table 1: Device summary I2C base Package Order code address marking

Atmel System Peripheral and Memory Products. Temperature Sensor, Crypto and Serial Memory Solutions

MCW Application Notes 24 th February 2017

Chip Card & Security ICs SLE Intelligent 1024 Byte EEPROM with Write Protection and Programmable Security Code

TPMC /8 Digital Inputs (24V) 16/8 Digital Outputs (24V, 0.5A) Version 3.0. User Manual. Issue June 2014

APPLICATION NOTE. CryptoAuthentication Personalization Guide. ATSHA204A and ATECC508A. Introduction. Features

DS2751 Multichemistry Battery Fuel Gauge

Modbus Map: Automatic Generator Start (AGS) Device

AN4491 Application note

Baseboard Management Controller Messages

Table 1: Device summary Part numbers Device info (stored in register 0xF0 and 0xF1) Comment SPIRIT1QTR 0x0130 Cut 3.0

GRAPHICS CONTROLLERS DEVICE SETUP AND FUJITSU DEVELOPER SUITE

LV51132T. Overview. Features. CMOS IC 2-Cell Lithium-Ion Secondary Battery Protection IC

CTT MODBUS-RTU COMMUNICATION PROTOCOL TEMPERATURE MONITOR DEVICE

Using an I 2 C EEPROM During MSC8157 Initialization

LPC1300, FM+, Fast-mode Plus, I 2 C, Cortex-M3

Intel RAID Smart Battery AXXRSBBU3

Read section 8 of this document for detailed instructions on how to use this interface spec with LibUSB For OSX

Nuvoton Touch Key Series NT1160 Datasheet

Intel386 TM DX MICROPROCESSOR 32-BIT CHMOS MICROPROCESSOR WITH INTEGRATED MEMORY MANAGEMENT (PQFP SUPPLEMENT)

Chip Card & Security ICs SLE Intelligent 256-Byte EEPROM with Write Protection function and Programmable Security Code

Notice for Express Report Service (MG)

Gauge Design Configurations for High Charge / Discharge Rate Applications

Communications Point Data Base for Communications Protocol 2179

Challenge. Hardware Circuit Details. Solution. Result. Features and Functions. Z8 Encore! MC

DTC P0AA6 - High Voltage Isolation Fault

TPMC815 ARCNET PMC. User Manual. The Embedded I/O Company. Version 2.0. Issue 1.2 November 2002 D

EnerChip CBC012. Rechargeable Solid State Energy Storage: 12µAh, 3.8V

VHF variable capacitance double diode. Electronic tuning in FM radio applications.

BV4208. I2C-RTC & Temp. Sensor. Product specification. November 2008 V0.a. ByVac Page 1 of 5

Power-Up, Power-Down, and Brownout Considerations on MT25Q, MT25T, and MT35X NOR Flash Memory

VendaCard MF1ICS50. major cities have adopted MIFARE as their e-ticketing solution of choice.

EV-VND7040AJ. VND7040AJ evaluation board. Features. Applications

MAX11300/MAX11301 PIXI Configuration Software User Guide

Application Note No. 097

Specification E2 Interface

How to Perform Plug and Play Initiation Key with PCnet-ISA II

[MS-WFDAA]: Intellectual Property Rights Notice for Open Specifications Documentation

VERTIV. Albér Battery Xplorer Enterprise (BXE) Software Release Notes VERSION 4.5 (RELEASE NOTES VERSION 11), APRIL 6, 2018

Transcription:

MAX1720x/MAX1721x Software Implementation Guide UG6260; Rev 0; 2/16 Description In this guide are details for implementing the host software to interface with the MAX1720x/MAX1721x fuel gauge ICs. Table 1. Device Type Versus Cell Count and Communication Interface Device Type Cell Count Communication Interface MAX17201 Single Cell I 2 C MAX17211 Single Cell 1-Wire MAX17205 Multi Cell I 2 C MAX17215 Multi Cell 1-Wire To distinguish the type of device, read the DevName register (0x021). The low nibble indicates 0x1 for MAX172x1, and 0x5 for MAX172x5. The 1-Wire /I 2 C distinction is made by a device present on one interface, and not the other. Table 1 shows which IC type should be used depending on the application requirements. Initialization At IC power-up, the fuel gauge retrieves battery model parameters from nonvolatile memory without host software interaction. Optionally, the host can change some of the auxiliary functions, such as alerts on voltage, current, SOC, or temperature. If the nonvolatile programmed values are acceptable, then the host only needs to take action on the alert outputs. If the host desires different thresholds, the host can write to the VAlrt_Th, TAlrt_Th, SAlrt_Th, IAlrt_Th, ODSCCfg, or ODSCCfg registers as necessary. Please refer to the data sheet for register details. 1-Wire is a registered trademark of Maxim Integrated Products, Inc. Maxim Integrated Page 1 of 6

Useful Registers to Read The following is a short list of registers the host finds useful in most applications. Address Register Name Purpose/Contents 0x000 Status Contains alert status and chip status 0x009 VCell Lowest cell voltage of a pack, or the cell voltage for a single cell 0x006 RepSOC Reported state of charge 0x005 RepCap Reported remaining capacity 0x008 Temp Temperature 0x00A Current Battery current 0x011 TTE Time to empty 0x020 TTF Time to full Other applications can have more requirements. Additional registers to read are: Address Register Name Purpose/Contents 0x0D8, 0x0D7, Cell1, Cell2, 0x0D6, 0x0D9, Cell3, CellX, Batt 0x0DA Direct cell measurements if channel mode is enabled. Batt register contains the total pack voltage. 0x134, 0x13B, 0x135 Temp1, Temp2, IntTemp Individual temperature measurements from the thermistors and internal die temperature 0x0B9 AgeForecast Projected total cycles the battery lasts until full capacity is below the target dead battery capacity 0x007 Age Provides a percentage of full capacity compared to the design capacity 0x017 Cycles The number of cycles the battery has been used 0x0DD After writing AtRate, hypothetical time to empty based on AtTTE (AtRate=0x004) the AtRate value 0x010 FullCap Full capacity based on present discharge conditions 0x0BE TimerH Time since first power up MaxMinVolt, 0x01B, 0x01C, Maximum and minimum values for each measurement since MaxMinCurrent, 0x01A last life log MaxMinTemp 0x014 RCell Calculated battery resistance 0x019, 0x00B, 0x016 0x0BC AvgVCell, AvgCurr, AvgTA VRipple Average of voltage, current, or temperature Filtered difference of average and instantaneous values of VCell Maxim Integrated Page 2 of 6

Alerts Management The default configuration of the fuel gauge is to automatically clear the alert after the alert condition is no longer present. The host can set the alerts to be sticky, and make them persist until the host clears the alert. This setting can be changed in nonvolatile memory to permanently alter the behavior to sticky mode by changing the nconfig register. This change can be made by the pack maker or the end application if the nonvolatile memory is not locked. Alternatively, it can be changed by the host software in the Config register to only change it until the fuel gauge resets, or the host wants to disable this feature. The Config register details are provided below to make this change. D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 0 SS TS VS ALRTp AINSH Ten Tex SHDN COMMSH 0 ETHRM FTHRM Aen Bei Ber Figure 1. Config Register (01Dh) format The SS, TS, and VS bits set the matching alerts to be sticky. The alerts are cleared by clearing the appropriate alert bit in the Status register. Example to set low SOC alert to 5%: 1. Set SAlrtTh register to 0xFF05. 0xFF indicates the high alert is disabled. 0x 05 sets the low alert to 5%. 2. Set the Config.Aen bit to 1. 3. When the SOC decreases below 0x0500, the alert pin asserts, and the status register indicates the SOC alert has occurred. 4. To disable further alerts on low SOC until the battery is charged, set the SAlrtTh register to 0xFF00 to disable low SOC alerts. Maxim Integrated Page 3 of 6

Authentication This IC has an authentication feature to prevent clone batteries. The host writes a challenge to the IC and reads out a response. The host validates this response by doing a parallel calculation with the same secret, or using predefined challenge and response pairs. Figure 2. Method 1: Host knows the secret, and calculates a valid output to check against the battery pack response. Maxim Integrated Page 4 of 6

Figure 3. Method 2: The host does not know the secret. The challenge and response pairs are predefined for the host. To authenticate the battery, the host has to write the challenge to memory addresses 0x0C0 to 0x0C9, and then send the Compute MAC without ROM ID command by writing register 0x060 with value 0x3600. The fuel gauge calculates a response after t SHA, and the host can read it from space 0x0C0 to 0x0CF. The returned MAC computation is compared against the calculated or stored response, and the authenticity is verified. If the host knows the secret, the Compute MAC with ROM ID command can be used for more security. Write register 0x060 with value 0x3500 to Compute MAC with ROM ID. The returned MAC computation is available after t SHA. Maxim Integrated Page 5 of 6

Conclusion This guide describes the basic operations the host software needs to interface with the MAX17201/MAX17205/MAX17211/MAX17215. There are many additional features not covered here that are listed in the data sheet. For any additional questions, contact Maxim Integrated. 2016 by Maxim Integrated Products, Inc. All rights reserved. Information in this publication concerning the devices, applications, or technology described is intended to suggest possible uses and may be superseded. MAXIM INTEGRATED PRODUCTS, INC. DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT. MAXIM ALSO DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY INFRINGEMENT RELATED IN ANY MANNER TO USE OF INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. The information contained within this document has been verified according to the general principles of electrical and mechanical engineering or registered trademarks of Maxim Integrated Products, Inc. All other product or service names are the property of their respective owners. Maxim Integrated Page 6 of 6