In-Circuit Programming Switch Simplifies Operation Of Programmable Devices

Oct. 23, 2008
Many devices require programming through a serial bus, such as I2C. The programming can be done during final test, after the circuit board has been assembled. In many cases, the pins used for programming can then be utilized for something else

Many devices require programming through a serial bus, such as I2C. The programming can be done during final test, after the circuit board has been assembled. In many cases, the pins used for programming can then be utilized for something else during normal operation. In fact, the bus itself can also be used for another function.

A simple analog multiplexer circuit facilitates this dualfunction operation (see the figure). The multiplexer is a bidirectional analog switch (MAX4525). During normal operation, its input is pulled to ground by R1, causing the serial lines to connect to the rest of the circuit. During programming mode, the programming header asserts a logic high on the pin connected to the multiplexer input, causing the multiplexer to switch over to the pins on the programming header.

Because of the I2C bus, pullup resistors are provided for other circuitry on the board. The device programmer that connects to the programming header must have its own pullup resistors. The series resistance added by the multiplexer should be accounted for by other circuitry on the board. To avoid forward-biasing the electrostatic discharge diodes, the serial data lines should not go below ground or above the VCC voltage of the MAX4525.

Sponsored Recommendations

TTI Transportation Resource Center

April 8, 2024
From sensors to vehicle electrification, from design to production, on-board and off-board a TTI Transportation Specialist will help you keep moving into the future. TTI has been...

Cornell Dubilier: Push EV Charging to Higher Productivity and Lower Recharge Times

April 8, 2024
Optimized for high efficiency power inverter/converter level 3 EV charging systems, CDE capacitors offer high capacitance values, low inductance (< 5 nH), high ripple current ...

TTI Hybrid & Electric Vehicles Line Card

April 8, 2024
Components for Infrastructure, Connectivity and On-board Systems TTI stocks the premier electrical components that hybrid and electric vehicle manufacturers and suppliers need...

Bourns: Automotive-Grade Components for the Rough Road Ahead

April 8, 2024
The electronics needed for transportation today is getting increasingly more demanding and sophisticated, requiring not only high quality components but those that interface well...

Comments

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