Abstract:
A microcontroller (10) for use in battery charging and monitoring applications, including a microprocessor (12) and front end analog circuitry (30, 32) for allowing a plurality of analog input signals to be converted to corresponding digital counts indicative of signal level. The analog circuitry also includes two charge rate control channels (50, 51) which may be used as level detectors to determine when an input signal exceeds or falls below a digitally programmable threshold level. The level detector functions to set a flag and provide an interrupt to the microprocessor (12) when the analog input signal exceeds (or alternately falls below) the programmable threshold voltage. Accordingly, this interrupt may be used to 'wake-up' the microprocessor (12) from a sleep mode.
Abstract:
A microcontroller for use in battery charging and monitoring applications is disclosed. The microcontroller includes a microprocessor and various front-end analog circuitry such as a slope A/D converter (#30) and a multiplexer (#32) for allowing a plurality of analog input signals to be converted (#50-51) to corresponding digital counts indicative of signal level (#48). The microcontroller also includes an I2C interface (#58) for supporting a bi-directional two wire bus and data transmission protocol that is useful for serially communicating with other peripheral or microcontroller devices (#12). By making use of the I2C interface, the microcontroller can be programmed while in the end application circuit. Such a feature allows customers to manufacture boards with unprogrammed devices and then progam the microcontroller just before shipping the product. This allows the most recent firmware or a custom firmware to be programmed.
Abstract:
A microcontroller (10) for use in battery charging and monitoring applications is disclosed. The microcontroller (10) includes a microprocessor (12) and various front-end analog circuitry including a slope A/D converter (30) and a multiplexer for allowing a plurality of analog input signals to be converted to corresponding digital counts indicative of signal level. The microcontroller (10) further includes an on-chip temperature sensor (54) used in conjunction with the A/D converter (30), to monitor the temperature of the microcontroller (10). The temperature sensor (54) generates and uses a differential voltage that is obtained across the base-emitter junctions of two compatible bipolar transistors having dissimilar emitter areas. This differential voltage is proportional to temperature and may be sampled by the A/D converter (30) to obtain a digital count indicative of the temperature of the microcontroller (10).
Abstract:
A microcontroller (10) for use in battery charging and monitoring applications is disclosed. The microcontroller (10) includes a microprocessor (12) and various front-end analog circuitry such as a slope A/D converter (30) and a multiplexer (32) for allowing a plurality of analog input signals to be converted to corresponding digital counts indicative of signal level. In order to make the measurements of the selected analog inputs more precise, the microcontroller (10) uses a unique calibration procedure whereby selected parameters associated with the analog circuitry that are subject to variation are measured during test and corresponding calibration constants are calculated therefrom and stored in program memory. These stored calibration constants are subsequently used by the microprocessor (12) in conjunction with the digital counts of the analog input signals for calculating a more precise measurement of the analog input signals.