APPLICATION NOTE 165

Interfacing the DS2760 1-Wire High-Precision Li-Ion Battery Monitor and Protection IC in a Microcontroller Environment


Abstract: This application note provides the reader with information concerning how to interface the Maxim DS2760 Battery Monitor and Protector IC to a microcontroller. The DS5000 microcontroller module is used for example purposes. Both hardware and software concerns are addressed, including block diagrams and sample C code to enable communication between the DS2760 and the microcontroller over the Maxim 1-Wire® communication protocol. Software routines for all common 1-Wire commands are provided and therefore can be used on any Maxim device that communicates using the 1-Wire protocol. Also, routines for common battery monitor functions are also provided which can be used with any of the other Maxim battery monitors such as the DS2761.