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

Near- and Far-Field Measurements

April 16, 2024
In this comprehensive application note, we delve into the methods of measuring the transmission (or reception) pattern, a key determinant of antenna gain, using a vector network...

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.

Empowered by Cutting-Edge Automation Technology: The Sustainable Journey

April 16, 2024
Advanced automation is key to efficient production and is a powerful tool for optimizing infrastructure and processes in terms of sustainability.

Comments

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