Analog Devices AN-1050 Application Note: Compressing I2C Scripts for ADV74xx/ADV75xx/ADV76xx/ADV78xx Decoders

This application note describes a method for compressing large sets of I2C scripts for microcontroller platforms. The information herein is targeted for applications where the user needs to put over 50 scripts to the memory of one single microcontroller. This method provides excellent results for sets of scripts containing more than 200 scripts for more than six devices. In such a case, the user requires a lot of scripts and needs to use this method to compress them. The method is easy to use and can be easily ported to any microcontroller.


Analog Devices AN-1050 Application Note: Compressing I2C Scripts for ADV74xx/ADV75xx/ADV76xx/ADV78xx Decoders - cover page
Brand
Analog Devices
Category
Other Electronics
Document type
Application Note
Language
English
Pages
20
File format
PDF
File size
112 KB
Published
02 August, 2012
Updated
01 October, 2023
MD5 checksum
A5A841CE08F2DEBC485C1213B3AA68E7

About this manual

Analog Devices, Inc. multiformat decoders support various video standards, requiring numerous I2C script configurations that can exceed the memory capacity of small microcontrollers. This document details a method for compressing these large sets of scripts on the PC side to reduce storage requirements.

The proposed compression algorithm identifies common sequences of four identical writes across different scripts and replaces them with single reference pointers (keys). The note provides an Octave script to perform this compression and generates portable C code containing both the compressed data and an efficient decompression routine for microcontrollers.

What's inside

  • Introduction
  • About the Scripts
  • Basic Knowledge
  • Construction of the Script
  • Compression/Decompression
  • Octave Source Code
  • Results

Frequently asked questions

What is the minimum number of scripts required for this compression method to provide excellent results?

The method provides excellent results for sets of scripts containing more than 200 scripts.

What is the minimum number of devices supported for the method to provide excellent results?

The method provides excellent results for sets of scripts for more than six devices.

How many identical writes must occur in a sequence to be considered a common block for compression?

The application note describes algorithms in which scripts are checked for occurrence of sequences of four identical writes.

Download PDF (112 KB)

More Analog Devices Manuals


View all Analog Devices manuals →