[go: up one dir, main page]

CN117472831A - A multi-MCU programming and serial port switching circuit, method and system - Google Patents

A multi-MCU programming and serial port switching circuit, method and system Download PDF

Info

Publication number
CN117472831A
CN117472831A CN202311285456.2A CN202311285456A CN117472831A CN 117472831 A CN117472831 A CN 117472831A CN 202311285456 A CN202311285456 A CN 202311285456A CN 117472831 A CN117472831 A CN 117472831A
Authority
CN
China
Prior art keywords
unit
mcu
port
switching circuit
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311285456.2A
Other languages
Chinese (zh)
Other versions
CN117472831B (en
Inventor
何荣德
潘建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Joymed Technology (shanghai) Ltd
Original Assignee
Joymed Technology (shanghai) Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Joymed Technology (shanghai) Ltd filed Critical Joymed Technology (shanghai) Ltd
Priority to CN202311285456.2A priority Critical patent/CN117472831B/en
Publication of CN117472831A publication Critical patent/CN117472831A/en
Application granted granted Critical
Publication of CN117472831B publication Critical patent/CN117472831B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Electronic Switches (AREA)

Abstract

The invention discloses a multi-MCU (micro control unit) burning and serial port switching circuit, a method and a system, and relates to the technical field of electronic circuits. The method comprises the step of controlling only one channel to be effective in each stage of sub-unit through the control signal unit so as to realize the connection between the input signal unit and any MCU unit. The invention can expand the number of MCU according to the need, and the theoretical upper limit of the number is limited only by the driving capability of the input signal unit and the bandwidth of the line.

Description

一种多MCU的烧录和串口切换电路、方法及系统A multi-MCU programming and serial port switching circuit, method and system

技术领域Technical field

本发明涉及电子电路技术领域,具体涉及一种多MCU的烧录和串口切换电路、方法及系统。The invention relates to the field of electronic circuit technology, and in particular to a multi-MCU burning and serial port switching circuit, method and system.

背景技术Background technique

现有技术中,电路中往往有多个MCU,所以印制电路板上就设计了多个烧录接口和调试接口(如串口),这导致电路板上器件数量太多,占用空间资源和成本上升,接口数量多也造成了对应的线缆增多,接口的来回切换也增加了开发人员的工作量。In the existing technology, there are often multiple MCUs in the circuit, so multiple programming interfaces and debugging interfaces (such as serial ports) are designed on the printed circuit board. This results in too many devices on the circuit board, which takes up space, resources and cost. As the number of interfaces increases, the number of corresponding cables increases, and the switching of interfaces also increases the workload of developers.

公开号为CN114466254A的中国专利公开了一种串口切换电路及其切换方法、通讯管理机及通讯系统。其中,串口切换电路包括MCU、切换电路、具有RS485串口的第一串口电路和具有RS232串口的第二串口电路;第一串口电路和第二串口电路分别连接于MCU,第一串口电路和第二串口电路还分别连接于切换电路;切换电路用于根据接收的控制信号,启用第一串口电路,并禁用第二串口电路,或启用第二串口电路,并禁用第一串口电路;当切换电路启用第一串口电路,并禁用第二串口电路时,RS485串口与MCU之间建立通讯;当切换电路启用第二串口电路,并禁用第一串口电路时,RS232串口与MCU之间建立通讯。公开号为CN114281392A的中国专利公开了一种多MCU从站的串口升级方法及系统,属于MCU升级技术领域,方法包括:所有MCU从站初始化将串口解析芯片置为读使能,仅在从上位机获取到对应从站的升级帧后,发送回复帧时置为写使能,发送完成立刻重新置为读使能,从而使多个MCU从站复用的总线不会产生冲突地完成数据收发;具体到单个MCU从站,逐帧获取到完整的升级文件后,MCU从站再将升级文件复制到应用工程存储区。虽然这两篇专利都记载了设有串口电路、切换电路和MCU,但是电路结构复杂,仍存在占用空间资源和成本高等问题。The Chinese patent with publication number CN114466254A discloses a serial port switching circuit and its switching method, communication management machine and communication system. Wherein, the serial port switching circuit includes an MCU, a switching circuit, a first serial port circuit with an RS485 serial port and a second serial port circuit with an RS232 serial port; the first serial port circuit and the second serial port circuit are respectively connected to the MCU, and the first serial port circuit and the second serial port circuit are respectively connected to the MCU. The serial port circuit is also respectively connected to the switching circuit; the switching circuit is used to enable the first serial port circuit and disable the second serial port circuit, or enable the second serial port circuit and disable the first serial port circuit according to the received control signal; when the switching circuit is enabled When the first serial port circuit is disabled and the second serial port circuit is disabled, communication is established between the RS485 serial port and the MCU; when the switching circuit enables the second serial port circuit and the first serial port circuit is disabled, communication is established between the RS232 serial port and the MCU. The Chinese patent with the publication number CN114281392A discloses a serial port upgrade method and system for multiple MCU slave stations, which belongs to the field of MCU upgrade technology. The method includes: initializing all MCU slave stations and setting the serial port analysis chip to read enable. After the machine obtains the upgrade frame of the corresponding slave station, it is set to write enable when sending the reply frame, and is reset to read enable immediately after the sending is completed, so that the bus multiplexed by multiple MCU slave stations can complete data sending and receiving without conflict. ; Specific to a single MCU slave station, after obtaining the complete upgrade file frame by frame, the MCU slave station then copies the upgrade file to the application project storage area. Although both patents record serial port circuits, switching circuits and MCUs, the circuit structure is complex and there are still problems such as occupying space resources and high cost.

因此,需要设计一种多MCU的烧录和串口切换电路,可以解决根据需要实时拓展MCU数量,降低成本,提高工作效率。Therefore, it is necessary to design a multi-MCU programming and serial port switching circuit, which can expand the number of MCUs in real time as needed, reduce costs, and improve work efficiency.

发明内容Contents of the invention

本发明针对现有技术存在的问题,提供了一种多MCU的烧录和串口切换电路。In view of the problems existing in the prior art, the present invention provides a multi-MCU programming and serial port switching circuit.

为实现上述目的,本发明采用的技术方案如下:In order to achieve the above objects, the technical solutions adopted by the present invention are as follows:

一种多MCU的烧录和串口切换电路,包括输入信号单元、控制信号单元、切换电路单元和MCU单元,控制信号单元控制输入信号单元输入切换电路单元的信号,切换电路单元将接收到的信号传输至MCU单元,通过控制信号传输实现控制MCU处于有效或无效状态。A multi-MCU programming and serial port switching circuit includes an input signal unit, a control signal unit, a switching circuit unit and an MCU unit. The control signal unit controls the input signal unit to input the signal of the switching circuit unit, and the switching circuit unit will receive the signal Transmitted to the MCU unit, the MCU is controlled to be in a valid or invalid state through control signal transmission.

基于上述技术方案,更进一步地,所述输入信号单元包括若干个输入接口,通过若干个输入接口传输烧录信号和串口调试信号。Based on the above technical solution, further, the input signal unit includes several input interfaces, and the programming signals and serial port debugging signals are transmitted through the several input interfaces.

基于上述技术方案,更进一步地,所述烧录信号包括烧录时钟信号和烧录数据信号,串口调试信号包括串口发送信号和串口接收信号。Based on the above technical solution, further, the programming signal includes a programming clock signal and a programming data signal, and the serial port debugging signal includes a serial port sending signal and a serial port receiving signal.

基于上述技术方案,更进一步地,所述控制信号单元包括若干个控制开关,每个控制开关的一端接电源或接地,每个控制开关的另一端连接切换电路单元。Based on the above technical solution, further, the control signal unit includes several control switches, one end of each control switch is connected to power supply or ground, and the other end of each control switch is connected to the switching circuit unit.

基于上述技术方案,更进一步地,所述切换电路单元为模拟开关,其中,该模拟开关为模拟开关芯片。Based on the above technical solution, further, the switching circuit unit is an analog switch, wherein the analog switch is an analog switch chip.

基于上述技术方案,更进一步地,所述模拟开关设为一级时,模拟开关为一个数量,且模拟开关上设有若干个第一输入端口、第二输入端口、第一输出端口和第二输出端口,每个第一输入端口连接一个输入接口,第二输入端口连接控制信号单元,第一输出端口和第二输出端口连接MCU单元。Based on the above technical solution, further, when the analog switch is set to one level, the number of analog switches is one, and the analog switch is provided with several first input ports, second input ports, first output ports and second Output ports, each first input port is connected to an input interface, the second input port is connected to the control signal unit, and the first output port and the second output port are connected to the MCU unit.

基于上述技术方案,更进一步地,所述模拟开关设为多级时,模拟开关设置2个以上的数量,第一级为一个模拟开关,第二级为两个模拟开关,且第二级的模拟开关的第一输入端口连接第一级的模拟开关的第一输出端口或第二输出端口,第二级模块开关的第二输入端口连接第一级模拟开关的第一输出端口或第二输出端口,第一输出端口和第二输出端口连接MCU单元。Based on the above technical solution, further, when the analog switch is set to multi-level, the number of analog switches is set to more than 2, the first level is one analog switch, the second level is two analog switches, and the second level is The first input port of the analog switch is connected to the first output port or the second output port of the first-level analog switch, and the second input port of the second-level module switch is connected to the first output port or the second output of the first-level analog switch. port, the first output port and the second output port are connected to the MCU unit.

基于上述技术方案,更进一步地,所述MCU单元包括若干个MCU,最后一级的模拟开关的每个输出端口对应连接一个MCU;且第N级使用2N-1个模拟开关和2N-1个控制开关,实现2N个MCU的烧录和串口通信。Based on the above technical solution, further, the MCU unit includes several MCUs, and each output port of the last stage analog switch is connected to one MCU; and the Nth stage uses 2 N-1 analog switches and 2 N- 1 control switch to realize programming and serial communication of 2 N MCUs.

基于上述技术方案,更进一步地,所述切换电路单元为模拟开关电路。Based on the above technical solution, furthermore, the switching circuit unit is an analog switching circuit.

基于上述技术方案,更进一步地,所述模拟开关电路包括第一输入端口、第二输入端口、第一输出端口和第二输出端口,第一输入端口一端连接输入信号单元,第一输入端口另一端连接第一MOS管的漏极和第二MOS管的漏极,第一MOS管的栅极连接第一电阻、第二电阻和第三MOS管的栅极,第一MOS管的源极连接第一电阻和第三MOS管的漏极,第三MOS管的源极连接第二输出端口;第二电阻连接第二输入端口和第四MOS管的栅极,第四MOS管的源极接地,第四MOS管的漏极连接第三电阻;第二MOS管的栅极连接第四电阻、第三电阻和第五MOS管的栅极,第二MOS管的源极接第五MOS管的漏极和第四电阻,第五MOS管的源极接第一输出端口,且第一输出端口和第二输出端口连接MCU单元;第一输入端口连接输入信号单元,第二输入端口连接控制信号单元。Based on the above technical solution, further, the analog switch circuit includes a first input port, a second input port, a first output port and a second output port. One end of the first input port is connected to the input signal unit, and the other end of the first input port is connected to the input signal unit. One end is connected to the drain of the first MOS tube and the drain of the second MOS tube. The gate of the first MOS tube is connected to the first resistor, the second resistor and the gate of the third MOS tube. The source of the first MOS tube is connected to The drain of the first resistor and the third MOS transistor, and the source of the third MOS transistor are connected to the second output port; the second resistor is connected to the second input port and the gate of the fourth MOS transistor, and the source of the fourth MOS transistor is connected to ground. , the drain of the fourth MOS tube is connected to the third resistor; the gate of the second MOS tube is connected to the fourth resistor, the third resistor and the gate of the fifth MOS tube, and the source of the second MOS tube is connected to the fifth MOS tube. The drain and the fourth resistor, the source of the fifth MOS tube are connected to the first output port, and the first output port and the second output port are connected to the MCU unit; the first input port is connected to the input signal unit, and the second input port is connected to the control signal unit.

一种多MCU的烧录和串口切换方法,应用于多MCU的烧录和串口切换电路,所述切换电路单元包括多级双向双通道子单元,其中,末级子单元的两个通道上都分别连接一个MCU单元;方法包括:通过控制信号单元来控制每一级子单元仅有一个通道有效,以实现输入信号单元与任意一个MCU单元的连接。A multi-MCU programming and serial port switching method, applied to multi-MCU programming and serial port switching circuits. The switching circuit unit includes a multi-stage bidirectional dual-channel sub-unit, in which both channels of the final sub-unit are Connect one MCU unit respectively; the method includes: controlling only one channel of each sub-unit to be valid through the control signal unit, so as to realize the connection between the input signal unit and any MCU unit.

基于上述技术方案,更进一步地,所述控制信号单元设置多个不同的控制状态,在不同的控制状态下,控制信号单元包括的每个控制开关分别处于高电平状态、低电平状态和任意电平状态中的任意一种状态。Based on the above technical solution, further, the control signal unit is set to multiple different control states. Under different control states, each control switch included in the control signal unit is in a high level state, a low level state and Any one of any level states.

一种多MCU的烧录和串口切换系统,包括一种多MCU的烧录和串口切换电路。A multi-MCU programming and serial port switching system includes a multi-MCU programming and serial port switching circuit.

相对于现有技术,本发明具有以下有益效果:Compared with the existing technology, the present invention has the following beneficial effects:

本发明提供了一种多MCU的烧录和串口切换电路;通过设置多级模拟开关或者采用多级模拟开关电路,只要第一级使用1个模拟开关和1个控制开关,第二级使用2个模拟开关和2个控制开关...第N级使用2N-1个模拟开关和2N-1个控制开关,就可以实现2N个MCU的烧录和串口通信。也即是,可根据需要拓展MCU数量,理论上数量上限只受输入信号单元得驱动能力和线路得带宽限制。可以实现只用单个接口就完成多个MCU的烧录和串口调试功能,减少了电路板上的器件数量,降低了成本,减少了开发人员的工作量,操作简单,提高了工作效率。The invention provides a multi-MCU programming and serial port switching circuit; by setting up multi-level analog switches or using a multi-level analog switch circuit, as long as the first level uses one analog switch and one control switch, the second level uses two Analog switches and 2 control switches... The Nth level uses 2 N-1 analog switches and 2 N-1 control switches to achieve programming and serial communication of 2 N MCUs. That is to say, the number of MCUs can be expanded as needed. Theoretically, the upper limit of the number is only limited by the driving capability of the input signal unit and the bandwidth of the circuit. It can complete the programming and serial port debugging functions of multiple MCUs using only a single interface, reducing the number of devices on the circuit board, lowering costs, reducing developer workload, simple operation, and improving work efficiency.

附图说明Description of the drawings

图1为本发明烧录和串口切换电路的流程框图;Figure 1 is a flow chart of the programming and serial port switching circuit of the present invention;

图2为本发明实施例1中的烧录和串口切换电路中使用的模拟开关的电路图;Figure 2 is a circuit diagram of an analog switch used in the programming and serial port switching circuit in Embodiment 1 of the present invention;

图3为本发明实施例2中的烧录和串口切换电路中使用的模拟开关电路的电路图。FIG. 3 is a circuit diagram of an analog switch circuit used in the programming and serial port switching circuit in Embodiment 2 of the present invention.

具体实施方式Detailed ways

下面结合附图和具体实施方式对本发明做进一步阐述和说明。本发明中各个实施方式的技术特征在没有相互冲突的前提下,均可进行相应组合。为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图对本发明的具体实施方式做详细的说明。在下面的描述中阐述了很多具体细节以便于充分理解本发明。但是本发明能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本发明内涵的情况下做类似改进,因此本发明不受下面公开的具体实施例的限制。本发明各个实施例中的技术特征在没有相互冲突的前提下,均可进行相应组合。The present invention will be further elaborated and described below in conjunction with the accompanying drawings and specific embodiments. The technical features of various embodiments of the present invention can be combined accordingly as long as they do not conflict with each other. In order to make the above objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the invention. However, the present invention can be implemented in many other ways different from those described here. Those skilled in the art can make similar improvements without departing from the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below. The technical features in various embodiments of the present invention can be combined accordingly as long as they do not conflict with each other.

在本发明的描述中,需要理解的是,当一个元件被认为是“连接”另一个元件,可以是直接连接到另一个元件或者是间接连接即存在中间元件。相反,当元件为称作“直接”与另一元件连接时,不存在中间元件在本发明的描述中,需要理解的是,术语“第一”、“第二”仅用于区分描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。In the description of the present invention, it will be understood that when an element is referred to as being "connected" to another element, it may be directly connected to the other element or indirectly connected through the presence of intervening elements. In contrast, when an element is referred to as being "directly" connected to another element, there are no intervening elements present. In the description of the present invention, it is to be understood that the terms "first" and "second" are used for differentiating purposes only. It cannot be understood as indicating or implying the relative importance or implicitly indicating the quantity of the technical features indicated. Therefore, features defined as "first" and "second" may explicitly or implicitly include at least one of these features.

实施例1Example 1

如图1所示,一种多MCU的烧录和串口切换电路,包括输入信号单元、控制信号单元、切换电路单元和MCU单元,控制信号单元控制输入信号单元输入切换电路单元的信号,切换电路单元将接收到的信号传输至MCU单元,通过控制信号传输实现控制MCU处于有效或无效状态。具体而言,输入信号单元包括若干个输入接口,通过若干个输入接口传输烧录信号和串口调试信号。烧录信号包括烧录时钟信号和烧录数据信号,串口调试信号包括串口发送信号和串口接收信号。控制信号单元包括若干个控制开关,每个控制开关的一端接电源或接地,每个控制开关的另一端连接切换电路单元。As shown in Figure 1, a multi-MCU programming and serial port switching circuit includes an input signal unit, a control signal unit, a switching circuit unit and an MCU unit. The control signal unit controls the input signal unit to input the signal of the switching circuit unit. The switching circuit The unit transmits the received signal to the MCU unit, and controls the MCU to be in a valid or invalid state through control signal transmission. Specifically, the input signal unit includes several input interfaces through which programming signals and serial port debugging signals are transmitted. The programming signals include programming clock signals and programming data signals, and the serial port debugging signals include serial port sending signals and serial port receiving signals. The control signal unit includes several control switches, one end of each control switch is connected to power supply or ground, and the other end of each control switch is connected to the switching circuit unit.

其中一种实施方式,切换电路单元为模拟开关,其中,该模拟开关为模拟开关芯片。具体而言,结合图2所示,输入接口包括SWC、SWD、UART_TX和UART_RX,其中,SWC为烧录时钟信号,SWD为烧录数据信号,UART_TX为串口发送信号,UART_RX为串口接收信号,而输入接口的箭头指向为信号传输方向。图2中的U29、U30、U31是相同的模拟开关,SW1、SW2和SW3为控制信号单元中的3个控制开关,MCU_1、MCU_2、MCU_3和MCU_4表示4个MCU。In one embodiment, the switching circuit unit is an analog switch, wherein the analog switch is an analog switch chip. Specifically, as shown in Figure 2, the input interface includes SWC, SWD, UART_TX and UART_RX, where SWC is the burning clock signal, SWD is the burning data signal, UART_TX is the serial port sending signal, UART_RX is the serial port receiving signal, and The arrow on the input interface points to the signal transmission direction. U29, U30, and U31 in Figure 2 are the same analog switches. SW1, SW2, and SW3 are the three control switches in the control signal unit. MCU_1, MCU_2, MCU_3, and MCU_4 represent four MCUs.

当模拟开关设为一级时,模拟开关为一个数量,且模拟开关上设有若干个第一输入端口、第二输入端口、第一输出端口和第二输出端口,每个第一输入端口连接一个输入接口,第二输入端口连接控制信号单元,第一输出端口和第二输出端口连接MCU单元。图2中的D1、D2、D3和D4分别对应第一输入端口、第二输入端口、第一输出端口和第二输出端口,IN1、IN2、IN3和IN4为4个第二输入端口,S1A、S2A、S3A和S4A为四个第一输出端口,S1B、S2B、S3B和S4B为四个第二输出端口,第一输出端口和第二输出端口分别连接一个MCU。而模拟开关还包括接地端口和接电源端口,比如GND、VDD等端口。When the analog switch is set to one level, there is a number of analog switches, and the analog switch is provided with several first input ports, second input ports, first output ports and second output ports, and each first input port is connected to An input interface, the second input port is connected to the control signal unit, the first output port and the second output port are connected to the MCU unit. D1, D2, D3 and D4 in Figure 2 correspond to the first input port, the second input port, the first output port and the second output port respectively. IN1, IN2, IN3 and IN4 are the four second input ports. S1A, S2A, S3A and S4A are four first output ports, S1B, S2B, S3B and S4B are four second output ports. The first output port and the second output port are respectively connected to an MCU. The analog switch also includes a ground port and a power supply port, such as GND, VDD and other ports.

更进一步地,模拟开关设为多级时,模拟开关设置2个以上的数量,第一级为一个模拟开关,第二级为两个模拟开关,且第二级的模拟开关的第一输入端口连接第一级的模拟开关的第一输出端口或第二输出端口,第二级模块开关的第二输入端口连接第一级模拟开关的第一输出端口或第二输出端口,第一输出端口和第二输出端口连接MCU单元。如图2中,第一级设置一个模拟开关U29,第二级设置两个模拟开关U30、U31;MCU单元包括若干个MCU,最后一级的模拟开关的每个输出端口对应连接一个MCU;且第N级使用2N-1个模拟开关和2N-1个控制开关,实现2N个MCU的烧录和串口通信。其中,该电路依赖于U29、U30、U31这完全一样的模拟开关,其原理是:IN1可以控制D1信号走向的开关,当IN1为高电平状态时,S1A和D1接通,S1B和D1不通,信号从S1A走;当IN1为低电平状态时,S1B和DI接通,S1A和D1不通,信号通过S1B,D2、D3、D4同理。Furthermore, when the analog switch is set to multi-level, the number of analog switches is set to more than 2, the first level is one analog switch, the second level is two analog switches, and the first input port of the second level analog switch Connect the first output port or the second output port of the first-level analog switch, the second input port of the second-level module switch is connected to the first output port or the second output port of the first-level analog switch, the first output port and The second output port is connected to the MCU unit. As shown in Figure 2, an analog switch U29 is set at the first level, and two analog switches U30 and U31 are set at the second level; the MCU unit includes several MCUs, and each output port of the last level analog switch is connected to an MCU; and The Nth level uses 2 N-1 analog switches and 2 N-1 control switches to realize the programming and serial communication of 2 N MCUs. Among them, this circuit relies on the same analog switches U29, U30, and U31. The principle is: IN1 can control the switch of the D1 signal direction. When IN1 is in a high level state, S1A and D1 are connected, and S1B and D1 are disconnected. , the signal goes from S1A; when IN1 is low level, S1B and DI are connected, S1A and D1 are disconnected, and the signal passes through S1B, D2, D3, and D4 in the same way.

基于多MCU的烧录和串口切换电路,实施一种多MCU的烧录和串口切换方法,所述切换电路单元包括多级双向双通道子单元,其中,末级子单元的两个通道上都分别连接一个MCU单元;方法包括:通过控制信号单元来控制每一级子单元仅有一个通道有效,以实现输入信号单元与任意一个MCU单元的连接。所述控制信号单元设置多个不同的控制状态,在不同的控制状态下,控制信号单元包括的每个控制开关分别处于高电平状态、低电平状态和任意电平状态中的任意一种状态。Based on the multi-MCU programming and serial port switching circuit, a multi-MCU programming and serial port switching method is implemented. The switching circuit unit includes a multi-stage bidirectional dual-channel sub-unit, in which both channels of the final sub-unit are Connect one MCU unit respectively; the method includes: controlling only one channel of each sub-unit to be valid through the control signal unit, so as to realize the connection between the input signal unit and any MCU unit. The control signal unit is set to multiple different control states. Under different control states, each control switch included in the control signal unit is in any one of a high level state, a low level state and any level state. state.

具体的,结合图2,设置了四个输入接口、两级模拟开关、三个控制开关和四个MCU,其中,三个控制开关控制下的状态有4个,分别为1、2、3和4,如下表1为在4种状态下,不同的控制开关处于不同的状态,表1中,0代表SW*接到DGND,也即是低电平状态;1代表SW*接到VCC_3V3,也即是高电平状态;*代表任意电平状态,比如表1中的*代表0或1;Specifically, combined with Figure 2, four input interfaces, two-level analog switches, three control switches and four MCUs are set up. Among them, there are 4 states under the control of the three control switches, namely 1, 2, 3 and 4. The following table 1 shows that in the four states, different control switches are in different states. In table 1, 0 represents SW* connected to DGND, which is a low level state; 1 represents SW* connected to VCC_3V3, also That is the high level state; * represents any level state, for example, * in Table 1 represents 0 or 1;

表1Table 1

状态state SW1SW1 SW2SW2 SW3SW3 11 11 11 ** 22 11 00 ** 33 00 ** 11 44 00 ** 00

结合表1,具体的实现过程如下:Combined with Table 1, the specific implementation process is as follows:

在控制信号单元为状态1情况下,当SW1接VCC_3V3且SW2接VCC_3V3时,模拟开关U29的S1A、S2A、S3A、S4A中的任意一个通道有效,而S1B、S2B、S3B、S4B中的每一个通道都关闭;模拟开关U30的S1A、S2A、S3A、S4A中的任意一个通道有效,S1B、S2B、S3B、S4B中的每一个通道关闭;输入信号单元的SWC、SWD、UART_TX和UART_RX信号通过模拟开关U29的D1、D2、D3、D4中任意一个输入端口进入,经过S1A、S2A、S3A、S4A中的任意一个第一输出端口对应到达模拟开关U30的D1、D2、D3、D4中任意一个输入端口,再经过模拟开关U30的S1A、S2A、S3A、S4A中任意一个第一输出端口到达MCU_1。可以对MCU_1进行烧录和串口通信,而其他MCU处于无效状态。When the control signal unit is in state 1, when SW1 is connected to VCC_3V3 and SW2 is connected to VCC_3V3, any one of the S1A, S2A, S3A, and S4A channels of the analog switch U29 is valid, and each of S1B, S2B, S3B, and S4B The channels are all closed; any one of the S1A, S2A, S3A, and S4A channels of the analog switch U30 is valid, and each channel of S1B, S2B, S3B, and S4B is closed; the SWC, SWD, UART_TX, and UART_RX signals of the input signal unit pass through the analog Enter any one of the input ports D1, D2, D3, and D4 of the switch U29, and pass through any one of the first output ports of S1A, S2A, S3A, and S4A to reach any one of the inputs of D1, D2, D3, and D4 of the analog switch U30. port, and then reaches MCU_1 through any one of the first output ports S1A, S2A, S3A, and S4A of the analog switch U30. MCU_1 can be programmed and serially communicated, while other MCUs are in an invalid state.

在控制信号单元为状态2情况下,当SW1接VCC_3V3且SW2接DGND时,模拟开关U29的S1A、S2A、S3A、S4A中的任意一个都通道有效,S1B、S2B、S3B、S4B中的每一个通道都关闭;模拟开关U30的S1B、S2B、S3B、S4B中的任意一个通道有效,S1A、S2A、S3A、S4A中的每一个通道都关闭;输入信号单元中的SWC、SWD、UART_TX和UART_RX信号通过模拟开关U29的D1、D2、D3、D4中任意一个输入端口进入,经过S1A、S2A、S3A、S4A中的任意一个第一输出端口到达模拟开关U30的D1、D2、D3、D4中任意一个输入端口,再经过模拟开关U30的S1B、S2B、S3B、S4B中的任意一个第二输出端口到达MCU_2。可以对MCU_2进行烧录和串口通信,而其他MCU处于无效状态。When the control signal unit is in state 2, when SW1 is connected to VCC_3V3 and SW2 is connected to DGND, any one of S1A, S2A, S3A, and S4A of the analog switch U29 has a valid channel, and each of S1B, S2B, S3B, and S4B The channels are all closed; any one of the S1B, S2B, S3B, and S4B channels of the analog switch U30 is valid, and each channel of S1A, S2A, S3A, and S4A is closed; the SWC, SWD, UART_TX, and UART_RX signals in the input signal unit Enter through any one of the input ports D1, D2, D3, and D4 of the analog switch U29, and reach any one of the D1, D2, D3, and D4 of the analog switch U30 through any first output port of S1A, S2A, S3A, and S4A. input port, and then reaches MCU_2 through any second output port of S1B, S2B, S3B, S4B of analog switch U30. MCU_2 can be programmed and serially communicated, while other MCUs are in an invalid state.

在控制信号单元为状态3情况下,当SW1接DGND且SW3接VCC_3V3时,模拟开关U29的S1B、S2B、S3B、S4B中的任意一个通道有效,S1A、S2A、S3A、S4A中的每一个通道都关闭;模拟开关U30的S1A、S2A、S3A、S4A中的任意一个通道有效,S1B、S2B、S3B、S4B中的每一个通道关闭;输入信号单元中的SWC、SWD、UART_TX和UART_RX信号通过模拟开关U29的D1、D2、D3、D4中任意一个输入端口进入,经过S1B、S2B、S3B、S4B中的任意一个第二输出端口到达模拟开关U30的D1、D2、D3、D4中任意一个输入端口,再经过模拟开关U30的S1A、S2A、S3A、S4A中的任意一个第一输出端口到达MCU_3。可以对MCU_3进行烧录和串口通信,而其他MCU处于无效状态。When the control signal unit is in state 3, when SW1 is connected to DGND and SW3 is connected to VCC_3V3, any one of the S1B, S2B, S3B, and S4B channels of the analog switch U29 is valid, and each channel of S1A, S2A, S3A, and S4A is valid. All are closed; any channel among S1A, S2A, S3A, and S4A of the analog switch U30 is valid, and each channel among S1B, S2B, S3B, and S4B is closed; the SWC, SWD, UART_TX, and UART_RX signals in the input signal unit pass through the analog It enters any input port of D1, D2, D3, and D4 of switch U29, and reaches any input port of D1, D2, D3, and D4 of analog switch U30 through any second output port of S1B, S2B, S3B, and S4B. , and then reaches MCU_3 through any one of the first output ports S1A, S2A, S3A, and S4A of the analog switch U30. MCU_3 can be programmed and serially communicated, while other MCUs are in an invalid state.

在控制信号单元为状态4情况下,当SW1接DGND且SW3接DGND时,模拟开关U29的S1B、S2B、S3B、S4B中的任意一个通道有效,S1A、S2A、S3A、S4A中的每一个通道都关闭;模拟开关U30的S1B、S2B、S3B、S4B中的任意一个通道有效,S1A、S2A、S3A、S4A中的每一个通道都关闭;输入信号单元中的SWC、SWD、UART_TX和UART_RX信号通过模拟开关U29的D1、D2、D3、D4中任意一个输入端口进入,经过S1B、S2B、S3B、S4B中的任意一个第二输出端口到达模拟开关U30的D1、D2、D3、D4中任意一个输入端口,再经过模拟开关U30的S1B、S2B、S3B、S4B中的任意一个第二输出端口到达MCU_4。可以对MCU_4进行烧录和串口通信,而其他MCU处于无效状态。When the control signal unit is in state 4, when SW1 is connected to DGND and SW3 is connected to DGND, any one of the channels S1B, S2B, S3B, and S4B of the analog switch U29 is valid, and each channel of S1A, S2A, S3A, and S4A is valid. All are closed; any channel among S1B, S2B, S3B, and S4B of analog switch U30 is valid, and each channel among S1A, S2A, S3A, and S4A is closed; the SWC, SWD, UART_TX, and UART_RX signals in the input signal unit pass It enters any input port of D1, D2, D3, and D4 of analog switch U29 and reaches any input of D1, D2, D3, and D4 of analog switch U30 through any second output port of S1B, S2B, S3B, and S4B. port, and then reaches MCU_4 through any second output port of S1B, S2B, S3B, and S4B of analog switch U30. MCU_4 can be programmed and serially communicated, while other MCUs are in an invalid state.

也即是,只要第一级使用1个模拟开关和1个控制开关,第二级使用2个模拟开关和2个控制开关...第N级使用2N个模拟开关和2N-1个控制开关,就可以实现2N个MCU的烧录和串口通信。That is, as long as the first level uses 1 analog switch and 1 control switch, the second level uses 2 analog switches and 2 control switches...The Nth level uses 2 N analog switches and 2 N-1 By controlling the switch, you can achieve programming and serial communication of 2 N MCUs.

实施例2Example 2

如图1所示,一种多MCU的烧录和串口切换电路,包括输入信号单元、控制信号单元、切换电路单元和MCU单元,控制信号单元控制输入信号单元输入切换电路单元的信号,切换电路单元将接收到的信号传输至MCU单元,通过控制信号传输实现控制MCU处于有效或无效状态。具体而言,输入信号单元包括若干个输入接口,通过若干个输入接口传输烧录信号和串口调试信号。烧录信号包括烧录时钟信号和烧录数据信号,串口调试信号包括串口发送信号和串口接收信号。控制信号单元包括若干个控制开关,每个控制开关的一端接电源或接地,每个控制开关的另一端连接切换电路单元。As shown in Figure 1, a multi-MCU programming and serial port switching circuit includes an input signal unit, a control signal unit, a switching circuit unit and an MCU unit. The control signal unit controls the input signal unit to input the signal of the switching circuit unit. The switching circuit The unit transmits the received signal to the MCU unit, and controls the MCU to be in a valid or invalid state through control signal transmission. Specifically, the input signal unit includes several input interfaces through which programming signals and serial port debugging signals are transmitted. The programming signals include programming clock signals and programming data signals, and the serial port debugging signals include serial port sending signals and serial port receiving signals. The control signal unit includes several control switches, one end of each control switch is connected to power supply or ground, and the other end of each control switch is connected to the switching circuit unit.

另一种实施方式,所述切换电路单元为模拟开关电路,电路中,Q8为第一MOS管、Q13为第二MOS管,Q7为第三MOS管,Q12为第四MOS管;Q11为第五MOS管,R3为第一电阻,R4为第二电阻,R6为第三电阻,R5为第四电阻。结合该电路的原理为:当IN1为高电平状态时,Q12的被打开,Q12的DS极导通,R6被接地,R5和R6因为分压导致Q13和Q11导通,所以D1和S1A双向导通,当IN1为低电平状态时,同理可以得到D1和S1B双向导通。将模拟开关电路替换图2中的模拟开关。其中,结合图3,图3中的D1对应于模拟开关中的D1位置,IN1对应于模拟开关中的IN1位置,S1A对应于模拟开关中的S1A位置,S1B对应于模拟开关中的S1B位置,其他电路连接同实施例1中记载。同样的,当需要连接D2、D3、D4时,只需要将D1对应修改为D2、D3、D4即可,而对应的IN1可以对应修改为IN2、IN3、IN4,S1A对应修改为S2A、S3A、S4A,S1B对应修改为S2B、S3B、S4B;其他涉及的各个MOS管以及各个电阻的连接方式是一样的。In another embodiment, the switching circuit unit is an analog switching circuit. In the circuit, Q8 is the first MOS tube, Q13 is the second MOS tube, Q7 is the third MOS tube, Q12 is the fourth MOS tube; Q11 is the fourth MOS tube. Five MOS tubes, R3 is the first resistor, R4 is the second resistor, R6 is the third resistor, and R5 is the fourth resistor. The principle of combining this circuit is: when IN1 is in a high level state, Q12 is turned on, the DS pole of Q12 is turned on, R6 is grounded, R5 and R6 cause Q13 and Q11 to turn on due to the voltage division, so D1 and S1A are bidirectional Turn on, when IN1 is in low level state, D1 and S1B can be bidirectionally turned on in the same way. Replace the analog switch in Figure 2 with an analog switch circuit. Among them, combined with Figure 3, D1 in Figure 3 corresponds to the D1 position in the analog switch, IN1 corresponds to the IN1 position in the analog switch, S1A corresponds to the S1A position in the analog switch, and S1B corresponds to the S1B position in the analog switch. Other circuit connections are the same as described in Embodiment 1. Similarly, when you need to connect D2, D3, and D4, you only need to modify D1 to D2, D3, and D4, and the corresponding IN1 can be modified to IN2, IN3, and IN4, and S1A to S2A, S3A, and S4A and S1B are correspondingly modified to S2B, S3B, and S4B; the other involved MOS tubes and resistors are connected in the same way.

具体而言,结合图3所示,在连接D1、IN1、S1A和S1B情况下,模拟开关电路包括第一输入端口、第二输入端口、第一输出端口和第二输出端口,第一输入端口一端连接输入信号单元,第一输入端口另一端连接第一MOS管的漏极和第二MOS管的漏极,第一MOS管的栅极连接第一电阻、第二电阻和第三MOS管的栅极,第一MOS管的源极连接第一电阻和第三MOS管的漏极,第三MOS管的源极连接第二输出端口;第二电阻连接第二输入端口和第四MOS管的栅极,第四MOS管的源极接地,第四MOS管的漏极连接第三电阻;第二MOS管的栅极连接第四电阻、第三电阻和第五MOS管的栅极,第二MOS管的源极接第五MOS管的漏极和第四电阻,第五MOS管的源极接第一输出端口,且第一输出端口和第二输出端口连接MCU单元;第一输入端口连接输入信号单元,第二输入端口连接控制信号单元。Specifically, as shown in Figure 3, when D1, IN1, S1A and S1B are connected, the analog switch circuit includes a first input port, a second input port, a first output port and a second output port. The first input port One end is connected to the input signal unit, the other end of the first input port is connected to the drain of the first MOS tube and the drain of the second MOS tube, and the gate of the first MOS tube is connected to the first resistor, the second resistor and the third MOS tube. The gate, the source of the first MOS tube is connected to the first resistor and the drain of the third MOS tube, the source of the third MOS tube is connected to the second output port; the second resistor is connected to the second input port and the fourth MOS tube. The gate, the source of the fourth MOS tube is connected to ground, the drain of the fourth MOS tube is connected to the third resistor; the gate of the second MOS tube is connected to the fourth resistor, the third resistor and the gate of the fifth MOS tube, and the second The source of the MOS tube is connected to the drain of the fifth MOS tube and the fourth resistor, the source of the fifth MOS tube is connected to the first output port, and the first output port and the second output port are connected to the MCU unit; the first input port is connected to Input signal unit, the second input port is connected to the control signal unit.

实施例3Example 3

基于一种多MCU的烧录和串口切换电路,还可以实施一种多MCU的烧录和串口切换系统。Based on a multi-MCU programming and serial port switching circuit, a multi-MCU programming and serial port switching system can also be implemented.

最后应当说明的是,以上内容仅用以说明本发明的技术方案,而非对本发明保护范围的限制,本领域的普通技术人员对本发明的技术方案进行的简单修改或者等同替换,均不脱离本发明技术方案的实质和范围。Finally, it should be noted that the above content is only used to illustrate the technical solution of the present invention, but does not limit the protection scope of the present invention. Simple modifications or equivalent substitutions of the technical solution of the present invention by those of ordinary skill in the art do not deviate from the scope of the present invention. The essence and scope of the technical solution of the invention.

Claims (13)

1.一种多MCU的烧录和串口切换电路,其特征在于,包括输入信号单元、控制信号单元、切换电路单元和MCU单元,控制信号单元控制输入信号单元输入切换电路单元的信号,切换电路单元将接收到的信号传输至MCU单元,通过控制信号传输实现控制MCU处于有效或无效状态。1. A multi-MCU programming and serial port switching circuit, characterized in that it includes an input signal unit, a control signal unit, a switching circuit unit and an MCU unit. The control signal unit controls the input signal unit to input the signal of the switching circuit unit. The switching circuit The unit transmits the received signal to the MCU unit, and controls the MCU to be in a valid or invalid state through control signal transmission. 2.根据权利要求1所述的一种多MCU的烧录和串口切换电路,其特征在于,所述输入信号单元包括若干个输入接口,通过若干个输入接口传输烧录信号和串口调试信号。2. A multi-MCU programming and serial port switching circuit according to claim 1, characterized in that the input signal unit includes several input interfaces, and the programming signals and serial port debugging signals are transmitted through several input interfaces. 3.根据权利要求2所述的一种多MCU的烧录和串口切换电路,其特征在于,所述烧录信号包括烧录时钟信号和烧录数据信号,串口调试信号包括串口发送信号和串口接收信号。3. A multi-MCU programming and serial port switching circuit according to claim 2, wherein the programming signal includes a programming clock signal and a programming data signal, and the serial port debugging signal includes a serial port sending signal and a serial port switching signal. receive signal. 4.根据权利要求1所述的一种多MCU的烧录和串口切换电路,其特征在于,所述控制信号单元包括若干个控制开关,每个控制开关的一端接电源或接地,每个控制开关的另一端连接切换电路单元。4. A multi-MCU programming and serial port switching circuit according to claim 1, characterized in that the control signal unit includes several control switches, one end of each control switch is connected to power or ground, and each control switch The other end of the switch is connected to the switching circuit unit. 5.根据权利要求4所述的一种多MCU的烧录和串口切换电路,其特征在于,所述切换电路单元为模拟开关。5. A multi-MCU programming and serial port switching circuit according to claim 4, characterized in that the switching circuit unit is an analog switch. 6.根据权利要求5所述的一种多MCU的烧录和串口切换电路,其特征在于,所述模拟开关设为一级时,模拟开关为一个数量,且模拟开关上设有若干个第一输入端口、第二输入端口、第一输出端口和第二输出端口,每个第一输入端口连接一个输入接口,第二输入端口连接控制信号单元,第一输出端口和第二输出端口连接MCU单元。6. A multi-MCU programming and serial port switching circuit according to claim 5, characterized in that when the analog switch is set to one level, the number of analog switches is one, and several analog switches are provided. An input port, a second input port, a first output port and a second output port, each first input port is connected to an input interface, the second input port is connected to the control signal unit, and the first output port and the second output port are connected to the MCU unit. 7.根据权利要求6所述的一种多MCU的烧录和串口切换电路,其特征在于,所述模拟开关设为多级时,模拟开关设置2个以上的数量,第一级为一个模拟开关,第二级为两个模拟开关,且第二级的模拟开关的第一输入端口连接第一级的模拟开关的第一输出端口或第二输出端口,第二级模块开关的第二输入端口连接第一级模拟开关的第一输出端口或第二输出端口,第一输出端口和第二输出端口连接MCU单元。7. A multi-MCU programming and serial port switching circuit according to claim 6, characterized in that when the analog switch is set to multi-level, the number of analog switches is set to more than 2, and the first level is an analog switch. switch, the second stage is two analog switches, and the first input port of the second stage analog switch is connected to the first output port or the second output port of the first stage analog switch, and the second input of the second stage module switch The port is connected to the first output port or the second output port of the first-level analog switch, and the first output port and the second output port are connected to the MCU unit. 8.根据权利要求7所述的一种多MCU的烧录和串口切换电路,其特征在于,所述MCU单元包括若干个MCU,最后一级的模拟开关的每个输出端口对应连接一个MCU;且第N级使用2N-1个模拟开关和2N-1个控制开关,实现2N个MCU的烧录和串口通信。8. A multi-MCU programming and serial port switching circuit according to claim 7, characterized in that the MCU unit includes several MCUs, and each output port of the last-stage analog switch is connected to one MCU; And the Nth level uses 2 N-1 analog switches and 2 N-1 control switches to realize the programming and serial communication of 2 N MCUs. 9.根据权利要求1所述的一种多MCU的烧录和串口切换电路,其特征在于,所述切换电路单元为模拟开关电路。9. A multi-MCU programming and serial port switching circuit according to claim 1, characterized in that the switching circuit unit is an analog switching circuit. 10.根据权利要求9所述的一种多MCU的烧录和串口切换电路,其特征在于,所述模拟开关电路包括第一输入端口、第二输入端口、第一输出端口和第二输出端口,第一输入端口一端连接输入信号单元,第一输入端口另一端连接第一MOS管的漏极和第二MOS管的漏极,第一MOS管的栅极连接第一电阻、第二电阻和第三MOS管的栅极,第一MOS管的源极连接第一电阻和第三MOS管的漏极,第三MOS管的源极连接第二输出端口;第二电阻连接第二输入端口和第四MOS管的栅极,第四MOS管的源极接地,第四MOS管的漏极连接第三电阻;第二MOS管的栅极连接第四电阻、第三电阻和第五MOS管的栅极,第二MOS管的源极接第五MOS管的漏极和第四电阻,第五MOS管的源极接第一输出端口,且第一输出端口和第二输出端口连接MCU单元;第一输入端口连接输入信号单元,第二输入端口连接控制信号单元。10. A multi-MCU programming and serial port switching circuit according to claim 9, characterized in that the analog switch circuit includes a first input port, a second input port, a first output port and a second output port. , one end of the first input port is connected to the input signal unit, the other end of the first input port is connected to the drain of the first MOS transistor and the drain of the second MOS transistor, and the gate of the first MOS transistor is connected to the first resistor, the second resistor and The gate of the third MOS tube and the source of the first MOS tube are connected to the first resistor and the drain of the third MOS tube. The source of the third MOS tube is connected to the second output port; the second resistor is connected to the second input port and The gate of the fourth MOS tube and the source of the fourth MOS tube are connected to ground, and the drain of the fourth MOS tube is connected to the third resistor; the gate of the second MOS tube is connected to the fourth resistor, the third resistor and the fifth MOS tube. The gate, the source of the second MOS tube is connected to the drain of the fifth MOS tube and the fourth resistor, the source of the fifth MOS tube is connected to the first output port, and the first output port and the second output port are connected to the MCU unit; The first input port is connected to the input signal unit, and the second input port is connected to the control signal unit. 11.一种多MCU的烧录和串口切换方法,应用于多MCU的烧录和串口切换电路,其特征在于,所述切换电路单元包括多级双向双通道子单元,其中,末级子单元的两个通道上都分别连接一个MCU单元;11. A multi-MCU programming and serial port switching method, applied to multi-MCU programming and serial port switching circuits, characterized in that the switching circuit unit includes a multi-stage bidirectional dual-channel sub-unit, wherein the final sub-unit Each of the two channels is connected to an MCU unit; 方法包括:通过控制信号单元来控制每一级子单元仅有一个通道有效,以实现输入信号单元与任意一个MCU单元的连接。The method includes: controlling the signal unit to control only one channel of each sub-unit to be valid, so as to realize the connection between the input signal unit and any MCU unit. 12.根据权利要求11所述的一种多MCU的烧录和串口切换方法,其特征在于,所述控制信号单元设置多个不同的控制状态,在不同的控制状态下,控制信号单元包括的每个控制开关分别处于高电平状态、低电平状态和任意电平状态中的任意一种状态。12. A multi-MCU burning and serial port switching method according to claim 11, characterized in that the control signal unit is set to a plurality of different control states, and under different control states, the control signal unit includes Each control switch is in any one of high level state, low level state and any level state. 13.一种多MCU的烧录和串口切换系统,其特征在于,包括权利要求1-10任意一项所述的一种多MCU的烧录和串口切换电路。13. A multi-MCU programming and serial port switching system, characterized by comprising a multi-MCU programming and serial port switching circuit according to any one of claims 1-10.
CN202311285456.2A 2023-09-28 2023-09-28 A multi-MCU burning and serial port switching circuit, method and system Active CN117472831B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311285456.2A CN117472831B (en) 2023-09-28 2023-09-28 A multi-MCU burning and serial port switching circuit, method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311285456.2A CN117472831B (en) 2023-09-28 2023-09-28 A multi-MCU burning and serial port switching circuit, method and system

Publications (2)

Publication Number Publication Date
CN117472831A true CN117472831A (en) 2024-01-30
CN117472831B CN117472831B (en) 2024-11-12

Family

ID=89630255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311285456.2A Active CN117472831B (en) 2023-09-28 2023-09-28 A multi-MCU burning and serial port switching circuit, method and system

Country Status (1)

Country Link
CN (1) CN117472831B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6704829B1 (en) * 1999-11-24 2004-03-09 Alps Electric Co., Ltd. Switch input processing module for switching signal transmission lines to transmit different types of signals
CN2836372Y (en) * 2005-11-15 2006-11-08 海信集团有限公司 TV set with multi-channel video signal switching circuit
WO2012000295A1 (en) * 2010-06-30 2012-01-05 大连理工大学 Dual-mcu controlling multi-channel analog signal acquisition device
CN106325961A (en) * 2016-09-14 2017-01-11 北京小鸟看看科技有限公司 Burning circuit based on USB interface, virtual reality helmet and MCU firmware burning method
CN111090605A (en) * 2019-10-10 2020-05-01 惠州市德赛西威汽车电子股份有限公司 USB-UART (universal serial bus-to-universal asynchronous receiver transmitter) circuit for MCU (microprogrammed control unit) software upgrading
CN112051758A (en) * 2019-06-06 2020-12-08 广东省大金创新电子有限公司 IO extension chip
CN215646783U (en) * 2021-09-29 2022-01-25 江苏精微特电子股份有限公司 2.4G wireless transceiver module's circuit
CN114466254A (en) * 2021-12-23 2022-05-10 科华数据股份有限公司 Serial port switching circuit and switching method thereof, communication manager and communication system
CN115185876A (en) * 2022-06-15 2022-10-14 深圳市亿联无限科技有限公司 Method and system for automatically detecting UART serial port signal line by electronic equipment
CN217640185U (en) * 2022-06-08 2022-10-21 深圳市元鼎智能创新有限公司 Circuit and equipment supporting software burning and power output

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6704829B1 (en) * 1999-11-24 2004-03-09 Alps Electric Co., Ltd. Switch input processing module for switching signal transmission lines to transmit different types of signals
CN2836372Y (en) * 2005-11-15 2006-11-08 海信集团有限公司 TV set with multi-channel video signal switching circuit
WO2012000295A1 (en) * 2010-06-30 2012-01-05 大连理工大学 Dual-mcu controlling multi-channel analog signal acquisition device
CN106325961A (en) * 2016-09-14 2017-01-11 北京小鸟看看科技有限公司 Burning circuit based on USB interface, virtual reality helmet and MCU firmware burning method
CN112051758A (en) * 2019-06-06 2020-12-08 广东省大金创新电子有限公司 IO extension chip
CN111090605A (en) * 2019-10-10 2020-05-01 惠州市德赛西威汽车电子股份有限公司 USB-UART (universal serial bus-to-universal asynchronous receiver transmitter) circuit for MCU (microprogrammed control unit) software upgrading
CN215646783U (en) * 2021-09-29 2022-01-25 江苏精微特电子股份有限公司 2.4G wireless transceiver module's circuit
CN114466254A (en) * 2021-12-23 2022-05-10 科华数据股份有限公司 Serial port switching circuit and switching method thereof, communication manager and communication system
CN217640185U (en) * 2022-06-08 2022-10-21 深圳市元鼎智能创新有限公司 Circuit and equipment supporting software burning and power output
CN115185876A (en) * 2022-06-15 2022-10-14 深圳市亿联无限科技有限公司 Method and system for automatically detecting UART serial port signal line by electronic equipment

Also Published As

Publication number Publication date
CN117472831B (en) 2024-11-12

Similar Documents

Publication Publication Date Title
US4635250A (en) Full-duplex one-sided cross-point switch
CN101256544A (en) Method, apparatus and system for expansion of inside integrated circuit bus
US10409760B1 (en) Adaptive interface high availability storage device
US9880536B1 (en) Autonomous control in a programmable system
CN105681145A (en) FPGA-based FlexRay communication module
CN114253898B (en) Bus device and data read-write circuit
US20210109885A1 (en) Device for managing hdd backplane
WO2017173889A1 (en) Communication interface hardware self-adaptive multiplexing device and method
CN113704157B (en) System for controlling multipath reset signals with different levels based on bus
CN117472831A (en) A multi-MCU programming and serial port switching circuit, method and system
CN112087358B (en) CPCI-based multi-channel CAN bus communication universal module implementation method
JPH04188649A (en) Integrated circuit
US10224721B2 (en) Switch control circuit and electronic device using the same
CN107544300A (en) Interface processing device and control method thereof
CN113722259A (en) RS-485 and RS-232 shared interface circuit
CN113867741A (en) A system, method and device for debugging and upgrading an expansion chip
CN107766186A (en) A kind of expansible fan board test board of USB interface and application method
CN100353350C (en) Assess controlling system for bus of internal integrated circuit
CN113010106B (en) Bus multiplexing type FLASH read-write system based on FPGA
CN103714025A (en) Interface control equipment, data acquisition system and equipment connection control method
CN103904885B (en) Pump capacitance multiplexing circuit, charge pump, flash memory and pump capacitance multiplexing method
US6292409B1 (en) System for programmable chip initialization
US8832475B1 (en) Programmable power mode sequencer
CN203178760U (en) Control circuit expansion system and hospital controller applying same
CN219738139U (en) Burning control circuit, burning jig and burning system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant