Circuit for controlling CPU reset through serial port communication

A serial communication and circuit technology, applied in the field of automatic control, can solve the problems of occupying CPU resources, increasing the load, unable to reset the operation, etc., to achieve the effect of meeting the needs of timely control

CN106843434AActive Publication Date: 2017-06-13蚌埠电子信息产业技术研究院 +1
6 Cites 1 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2017-06-13

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to the field of automatic control, and particularly discloses a circuit for controlling CPU reset through serial port communication. The problems that existing CPU reset control is poor in initiative, and reset operation cannot be conducted under the condition that a CPU system program is deviated are solved. The circuit for controlling CPU reset through the serial port communication comprises a first resistor and a second resistor, the first resistor and the second resistor access an SCITXD of an upper computer in parallel, the other end of the first resistor accesses a first pin of a double diode, the other end of the second resistor accesses a third pin of the double diode and the base electrode of a PNP triode, a second pin of the double diode and the emitting electrode of the PNP triode are connected and access a reset pin of a CPU, the base electrode of the PNP triode is connected with a first capacitor, the other end of the capacitor is connected with the collector of the PNP triode and then grounded.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of automatic control, in particular to a circuit for controlling CPU reset by serial port communication. Background technique

[0002] The serial port is a very mature low-speed communication interface. In today's high-density high-speed systems, it is still widely used in many intelligent and manageable chips and cannot be replaced. Existing intelligent electronic products are generally controlled by CPU, and reset operation is required when the CPU is powered on and when the program runs out of order. The quality of CPU reset directly affects the stability and reliability of electronic products. In the prior art, commonly used reset circuits include a simple resistance-capacitance circuit, button reset, built-in watchdog reset circuit, reset IC, and the like.

[0003] Simple resistance-capacitance reset circuit can only perform power-on reset passively, and cannot perform reset operation when the CPU system program...

Examples

Embodiment Construction

[0019] The specific embodiment of the present invention will be further described below in conjunction with accompanying drawing and specific embodiment:

[0020] Such as Figure 1-2 As shown, a circuit that uses serial communication to control CPU reset includes a first resistor 4 and a second resistor 5 connected in parallel to the send data pin (TXD) 3 of the host computer 1, and the other end of the first resistor 4 is connected to The first pin 61 of the double diode 6, the other end of the second resistor 5 is connected to the third pin 63 of the double diode 6 and the base of the PNP transistor 7, the second pin 62 of the double diode 6 is connected to the PNP transistor The emitter of 7 is connected and connected to the reset pin (nRESET) 9 of CPU2, the base of PNP transistor 7 is connected with first capacitor 8, and the other end of first capacitor 8 is connected with the collector of PNP transistor 7 and grounded.

[0021] After power-on, the upper computer 1 sends...