Design Store

I2C Battery Gauge Interface (AN 493)  

CategoryDesign Example
NameI2C Battery Gauge Interface (AN 493)
DescriptionA battery gauge is a device which continuously monitors the state of a battery's capacity and displays it to the user in a simple form. Often in embedded systems, the status of the battery supply is monitored remotely. Communication between the embedded system and battery gauge can be facilitated through an industry standard two-wire I2C bus and an interfacing device. Because of its low overhead, the two-wire communication link minimizes the number of traces required on the PCB to monitor the power source. A MAX 10 FPGA can easily serve as the interfacing device. The I2C interface allows the MAX 10 FPGA to access readings from the battery gauge remotely. An I2C serial interface consists of a Data line (SDA) and a Clock line (SCL). Both the lines are bidirectional and are pulled up to the VCC of the system. This bus is also a common bus for any other I2C-compliant device in the system.
Operating SystemNone
IP Core
IP CoreHeading
Internal OscillatorConfiguration and Programming
Version1.02
FamilyMAX 10
Device10M08SC
Documentation
DocumentDescription
I2C Battery Gauge Interface (Application Note 493)I2C Battery Gauge Interface (Application Note 493)
MAX 10 Device DocumentationMAX 10 device documentation, including the device handbook, device pin-outs, and pin connection guidelines.
Development KitNon Kit Specific MAX 10 Design Examples
Installation Package Download

Note: After downloading the design example, you must prepare the design template. The file you downloaded is of the form of a <project>.par file which contains a compressed version of your design files (similar to a .qar file) and metadata describing the project. The combination of this information is what constitutes a <project>.par file. In releases 16.0 or newer, you can simply double click on the <project>.par file and Quartus will launch that project.

The second means to bring up the project template is through the New Project Wizard (File -> New Project Wizard). After entering the project name and folder on the first panel, the second panel will ask you to specify an empty project or project template. Select project template. You will see a list of Design Templates projects that you have loaded prior as well as various "Baseline Pinout Designs" that contain the pinout and settings for a variety of development kits. If you don't see your design template in the list, click on the link that states install the Design Templates circled below:


Browse to the <project>.par file you downloaded, click next, followed by Finish, and your design template will be installed and displayed in the Project Navigator pane in Quartus.

Note: When a design is stored in the Design Store as a design template, it has been previously regression tested against the stated version of Quartus software. The regression ensures the design template passes analysis/synthesis/fitting/assembly steps in the Quartus design flow.

At the command-line, type the following command:

quartus_sh --platform_install –package <project directory>/AN493_MAX10.par

Once the process completes, then type:

quartus_sh --platform –name AN493_MAX10

Total Downloads19 (From 17 May 2016 to 13 Mar 2017)
Quartus II Version Download Quartus II v16.0
VendorAltera


Image 2


Last updated on May 17, 2016, 5:07 p.m.