Freescale Semiconductor MC9328MX1 Embedded Processor Application Note

Below you will find brief information for MC9328MX1. This document details how to implement a battery voltage detection circuit using the i.MX1 (MC9328MX1) device's auxiliary input channel. It describes the necessary external components, such as analog switches and a potential divider, and explains the software algorithm for calibration and measurement. With an accuracy of approximately ±20mV in the 3V–4.2V range, this solution provides a robust method for monitoring battery levels in embedded applications.

PDF
Document
Freescale MC9328MX1 Application Note | AI Chat & PDF | Manualzz

Advertisement

Advertisement

/

Advertisement

Key features

  • Battery voltage detection for i.MX1

  • Utilizes ADC auxiliary input channel (U-channel)

  • Accuracy of approximately ±20mV (3V–4.2V range)

  • Requires minimal external components (analog switches, potential divider)

  • Controlled by i.MX1 programmed GPIO lines

  • Software-based calibration using 1.8V and 0V references

  • Supports lithium battery voltage range

Frequently asked questions

This application note describes how to build a battery voltage detection circuit using the i.MX1 (MC9328MX1) device's auxiliary input channel, achieving an accuracy of approximately ±20mV in the 3V–4.2V range.

The circuit requires a small number of external components, including three analog switches (MC74HC4066 is recommended), a potential divider circuit (resistors), and 1.8V and 0V reference sources.

A potential divider circuit is necessary because the ADC input cannot exceed 1.8V, and the battery voltage (e.g., 3V to 4.2V for a lithium battery) must be reduced to a voltage less than 1.8V before being fed to the ADC.

The software calculates the battery voltage using the equation: Voltage = ((Sample - Offset) / Slope) * Scaler. 'Offset' is the sample value for 0V input, and 'Scaler' is the potential divider ratio.

Preparing document for printing…
0%