In-circuit programming switch
时间:08-17
来源:互联网
点击:
A simple bidirectional analog switch (MAX4525) facilitates in-circuit programming by providing dual service for two lines (SDA and SCL) on the programmable device: for normal operation they connect to other circuitry, and for programming mode they connect to the programming header.
A similar version of this article appeared in the October 21, 2008 issue of ED magazine.
Many devices now available require programming through a serial bus such as I²C. This programming can be done during final test, after the circuit board has been assembled. In many cases the pins used for programming are used for something else during normal operation, and the bus itself can also be used for another function during normal operation.
A simple analog multiplexer circuit facilitates the in-circuit programming (Figure 1). The multiplexer shown 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 mux to switch over to the pins on the programming header.
Figure 1. This analog switch (MAX4525) enables in-circuit programming by providing dual service for two lines (SDA and SCL) on the programmable device: for normal operation they connect to other circuitry, and for programming mode they connect to the programming header.
An I²C bus is present in the figure, so 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 ESD diodes, the serial data lines should not go below ground or above the VCC voltage of the MAX4525.
A similar version of this article appeared in the October 21, 2008 issue of ED magazine.
Many devices now available require programming through a serial bus such as I²C. This programming can be done during final test, after the circuit board has been assembled. In many cases the pins used for programming are used for something else during normal operation, and the bus itself can also be used for another function during normal operation.
A simple analog multiplexer circuit facilitates the in-circuit programming (Figure 1). The multiplexer shown 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 mux to switch over to the pins on the programming header.
Figure 1. This analog switch (MAX4525) enables in-circuit programming by providing dual service for two lines (SDA and SCL) on the programmable device: for normal operation they connect to other circuitry, and for programming mode they connect to the programming header.
An I²C bus is present in the figure, so 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 ESD diodes, the serial data lines should not go below ground or above the VCC voltage of the MAX4525.
programming In-circuit switch 相关文章:
- DPA-Switch为应对PoE受电设备设计挑战提供有效解决方案(11-06)
- 采用新型电能表方案应对节能和防窃电挑战(07-09)
- TinySwitch-PK轻松提供峰值功率(11-04)
- 采用Topswitch系列芯片的单片开关电源效率研究 (11-17)
- LinkSwitch?-II设计手机充电器空载功耗可达到五星级标准(11-02)
- TOPSwitch-FX系列单片机开关电源应用设计(11-21)