I2C Simplifies Front-Panel Design

Sept. 20, 1999
Interfacing a central processor to a user front panel is usually accomplished in one of two ways. The first method involves a power and a serial data link (typically RS-232), which are routed from...

Interfacing a central processor to a user front panel is usually accomplished in one of two ways. The first method involves a power and a serial data link (typically RS-232), which are routed from the central processor to the front panel. At the front panel, a second processor handles all the I/O and updates the central processor via the serial link. In the second method, the central processor’s parallel I/O bus is extended via buffers and a ribbon cable to memory-mapped interface components located at the front panel.

The problem with the first approach is that the second processor adds significant software and hardware complexity. EMI also can present a significant problem, as the front-panel processor clock frequencies tend to find their way through the inevitable frontpanel openings.

The problem with the second approach is the relative bulk and routing difficulties of a ribbon cable. EMI can again be a problem as central processor clock frequencies find their way out to the front panel via the parallel I/O bus extension.

An alternative to these two approaches is to implement an I2C interface between the central processor and the front panel. Using I2C communications allows a simple two-wire serial interface and also eliminates the need for the second processor. I2Ccompatible I/O circuits provide a simple yet flexible hardware solution at the front panel. EMI concerns are minimized because no additional processor clock frequencies originate at the front panel.

The figure shows a generic centralprocessor to front-panel interface design implementing I2C. A PCF8584 I2C-bus controller allows bidirectional communications with the I2C bus. At initialization, the processor writes to the PCF8584 registers to set up the address and communications parameters. Following initialization, the I2C protocol is handled by the PCF8584. Standard I2C programmable bus speeds range from 1.5 to 90 kHz.

Connection to the front panel doesn’t require special cable or connectors. Standard RJ-11 jacks and a four-conductor modular phone cord work quite well. The 82B715 I2C bus extenders located at each end of the modular cable provide high capacitive drive, eliminating the need for special cables.

Available I2C devices number in the hundreds, so front-panel options can include LCDs, potentiometers, dot-matrix graphic displays, etc.

Sponsored Recommendations

What are the Important Considerations when Assessing Cobot Safety?

April 16, 2024
A review of the requirements of ISO/TS 15066 and how they fit in with ISO 10218-1 and 10218-2 a consideration the complexities of collaboration.

Wire & Cable Cutting Digi-Spool® Service

April 16, 2024
Explore DigiKey’s Digi-Spool® professional cutting service for efficient and precise wire and cable management. Custom-cut to your exact specifications for a variety of cable ...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!