Reset control device based on multiplex communication interface
By multiplexing the communication interface of the MCU, the reset control circuit is designed, and the delay detection and conduction control modules are used to realize the reset control of the slave module, which solves the problem of limited MCU IO resources, improves reset flexibility and convenience, and reduces costs .
Patent Information
- Application Number
- CN202420656211.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2034-03-29
AI Technical Summary
The MCU's IO resources are limited, which makes it difficult to implement the reset function and requires additional IO ports to expand the chip or circuit, which increases cost and complexity.
By multiplexing the communication interface of the MCU, a reset control circuit is designed, and the communication interface of the host module is used to send an enable signal, detect whether the signal meets the reset conditions, and generate a reset signal for reset control of the slave module, including the delay detection module and conduction Control the module to ensure the accuracy of the reset signal.
Without affecting the normal chip selection operation of the slave module, reset flexibility and convenience are improved, circuit development costs are reduced, and reset control circuit structure is simplified.
Smart Images

Figure CN222337591U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of reset control, in particular to a reset control device based on a multiplexed communication interface. Background Art
[0002] In the current MCU external communication interface, the chip select pin is usually only used for chip selection to achieve normal communication between the MCU host and the slave. As for the reset control of the MCU, it is generally implemented through a separate IO interface. However, when the MCU's IO resources are relatively small, if the MCU's reset function is to be realized, it is necessary to integrate an IO port expansion chip or circuit. This is not conducive to reducing the cost required for device development, nor is it convenient for users to reset the MCU. Therefore, a technical solution for MCU reset control based on a multiplexed communication interface is urgently needed. Utility Model Content
[0003] In view of this, the problem to be solved by the utility model is to provide a reset control device based on a multiplexed communication interface. By utilizing the communication interface of the host module for reset control, the flexibility and convenience of resetting the slave module are improved without affecting the normal chip select operation of the slave module, and the cost required for circuit development is reduced.
[0004] In order to solve the above technical problems, the first aspect of the utility model discloses a reset control device based on a multiplexed communication interface, the reset control device comprising a reset control circuit, a host module and a slave module, wherein:
[0005] The communication end of the host module is electrically connected to the communication end of the slave module, the input end of the reset control circuit is electrically connected to the communication end of the host module, and the output end of the reset control circuit is electrically connected to the reset end of the slave module;
[0006] The host module is used to send an enable signal to the slave module, so as to perform a chip selection operation on the slave module according to the enable signal;
[0007] The reset control circuit is used to obtain the enable signal and detect whether the enable signal meets the reset control condition. If so, a reset signal is generated according to the enable signal and the reset signal is sent to the slave module to perform reset control on the slave module.
[0008] As an optional implementation, in the first aspect of the utility model, the reset control circuit includes a delay detection module and a conduction control module, wherein:
[0009] The input end of the delay detection module is electrically connected to the communication end of the host module, the output end of the delay detection module is electrically connected to the input end of the conduction control module, and the output end of the conduction control module is electrically connected to the reset end of the slave module;
[0010] The delay detection module is used to obtain the enable signal and detect whether the signal duration parameter of the enable signal is greater than a preset duration parameter. If so, a conduction signal is generated according to the enable signal and the conduction signal is sent to the conduction control module;
[0011] The conduction control module is used to generate a reset signal according to the conduction signal, and send the reset signal to the slave module to perform reset control on the slave module.
[0012] As an optional implementation, in the first aspect of the utility model, the delay detection module includes a first switch control device Q1, a first pull-up device R1, a delay charging device C1 and a voltage control device D1, wherein:
[0013] The detection end of the first switch control device Q1 is electrically connected to the communication end of the host module, the charging control end of the first switch control device Q1 is electrically connected to the first end of the first pull-up device R1 and the charging end of the delayed charging device C1, the second end of the first pull-up device R1 is used to electrically connect to the power supply end of the power supply circuit, and the grounding end of the first switch control device Q1 is used to be grounded;
[0014] The charging end of the time-delay charging device C1 is electrically connected to the voltage control end of the voltage control device D1, the driving end of the voltage control device D1 is electrically connected to the input end of the conduction control module, and the grounding end of the time-delay charging device C1 is used for grounding.
[0015] As an optional implementation, in the first aspect of the utility model, the conduction control module includes a second switch control device Q2 and a second pull-up device R2, wherein:
[0016] The controlled end of the second switch control device Q2 is electrically connected to the driving end of the voltage control device D1, the control end of the second switch control device Q2 is electrically connected to the first end of the second pull-up device R2 and the reset end of the slave module, the second end of the second pull-up device R2 is used to electrically connect to the power supply end of the power supply circuit, and the grounding end of the second switch control device Q2 is used for grounding.
[0017] As an optional implementation, in the first aspect of the utility model, the delay detection module further includes a first protection device R3 and an anti-shake device C2, wherein:
[0018] A first end of the first protection device R3 is electrically connected to a detection end of the first switch control device Q1, and a second end of the first protection device R3 is grounded;
[0019] A first end of the anti-jitter device C2 is electrically connected to a detection end of the first switch control device Q1 , and a second end of the anti-jitter device C2 is grounded.
[0020] As an optional implementation, in the first aspect of the utility model, the conduction control module further includes a second protection device R4, wherein:
[0021] A first end of the second protection device R4 is electrically connected to a controlled end of the second switch control device Q2 , and a second end of the second protection device R4 is grounded.
[0022] As an optional implementation, in the first aspect of the utility model, the reset control circuit further includes a current limiting module, and the current limiting module includes a current limiting device R5, wherein:
[0023] A first end of the current limiting device R5 is electrically connected to a communication end of the host module, and a second end of the current limiting device R5 is electrically connected to a detection end of the first switch control device Q1.
[0024] As an optional implementation, in the first aspect of the utility model, the voltage control device D1 includes a diode or a plurality of diodes connected in series, wherein:
[0025] The voltage control end of the voltage control device D1 is a positive electrode, and the driving end of the voltage control device D1 is a negative electrode.
[0026] As an optional implementation, in the first aspect of the utility model, the first switch control device Q1 includes a first transistor, wherein:
[0027] The detection terminal of the first switch control device Q1 is the base, the charging control terminal of the first switch control device Q1 is the collector, and the ground terminal of the first switch control device Q1 is the emitter;
[0028] The second switch control device Q2 includes a second triode, wherein:
[0029] The controlled end of the second switch control device Q2 is the base, the control end of the second switch control device Q2 is the collector, and the ground end of the second switch control device Q2 is the emitter.
[0030] As an optional implementation, in the first aspect of the utility model, the slave module includes at least one of a dimming control chip, a voltage detection chip, and a current detection chip.
[0031] The implementation of this utility model has the following beneficial effects:
[0032] The utility model provides a reset control device based on a multiplexed communication interface, the device comprises a reset control circuit, a host module and a slave module, wherein: a communication end of the host module is electrically connected to a communication end of the slave module, an input end of the reset control circuit is electrically connected to the communication end of the host module, and an output end of the reset control circuit is electrically connected to a reset end of the slave module; the host module is used to send an enable signal to the slave module, so as to perform a chip selection operation on the slave module according to the enable signal; the reset control circuit is used to obtain the enable signal and detect whether the enable signal meets the reset control condition, if so, generate a reset signal according to the enable signal, and send the reset signal to the slave module, so as to perform reset control on the slave module, so that by using the communication interface of the host module to perform reset control, without affecting the normal chip selection operation of the slave module, the reset flexibility and convenience of the slave module are improved, and the cost required for circuit development is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0034] Figure 1 It is a structural schematic diagram of a reset control device based on a multiplexed communication interface disclosed in an embodiment of the utility model;
[0035] Figure 2 It is a structural schematic diagram of another reset control device based on a multiplexed communication interface disclosed in an embodiment of the utility model;
[0036] Figure 3 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the utility model. DETAILED DESCRIPTION
[0037] For better understanding and implementation, the technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] It should be noted that, unless otherwise clearly specified and limited, the term "electrical connection" in the specification and claims of the utility model and the above-mentioned drawings should be understood in a broad sense. For example, it can be a fixed electrical connection, a detachable electrical connection, or an integral electrical connection; it can be a mechanical electrical connection, an electrical electrical connection, or can communicate with each other; it can be directly connected, or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. In addition, the terms "first", "second", etc. in the specification and claims of the utility model and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. The terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For those of ordinary skill in the art, the specific meanings of the above terms in the utility model can be understood according to specific circumstances.
[0039] Embodiment 1
[0040] See also Figure 1 , Figure 1 This is a schematic diagram of the structure of a reset control device based on a multiplexed communication interface disclosed in an embodiment of the utility model. The reset control device can be used to reset any slave module that requires reset control, such as a dimming control chip, a voltage detection chip, and a current detection chip, etc. The embodiment of the utility model is not limited. Figure 1 As shown, the reset control device based on the multiplexed communication interface includes a host module 101, a slave module 102 and a reset control circuit 103, wherein:
[0041] The communication end of the host module 101 is electrically connected to the communication end of the slave module 102, the input end of the reset control circuit 103 is electrically connected to the communication end of the host module 101, and the output end of the reset control circuit 103 is electrically connected to the reset end of the slave module 102;
[0042] The host module 101 is used to send an enable signal to the slave module 102 to perform a chip selection operation on the slave module 102 according to the enable signal;
[0043] The reset control circuit 103 is used to obtain an enable signal and detect whether the enable signal meets a reset control condition. If so, a reset signal is generated according to the enable signal and the reset signal is sent to the slave module 102 to perform reset control on the slave module 102 .
[0044] In the present invention, optionally, the communication end of the host module 101 can be a communication interface (such as an SPI-CS interface) in the host module 101 that can realize an external communication function (SPI function) with the slave module 102, or can be a communication interface in the host module 101 that can realize other communication functions with the slave module 102. Further optionally, the signal type of the enable signal can be a high-level signal or a low-level signal, and the specific signal type can be flexibly configured according to the circuit structure of the overall reset control device. Further optionally, the enable signal can be sent by performing a corresponding operation (such as a touch device, a button, etc.) on the signal sending device corresponding to the host module 101.
[0045] Further, detecting whether the enable signal satisfies the preset reset control condition may be to determine whether the signal duration parameter of the enable signal is greater than the preset duration parameter; if so, it is determined that the enable signal satisfies the preset reset control condition, otherwise, the opposite is true. Further, when it is determined that the enable signal does not satisfy the preset reset control condition, the host module 101 performs a normal chip selection operation on the slave module 102 according to the enable signal.
[0046] It can be seen that the implementation Figure 1 The described reset control device based on a multiplexed communication interface performs reset control on a slave module by utilizing the communication interface of a host module. This can not only improve the utilization rate of the communication interface of the host module, but also improve the flexibility and convenience of resetting the slave module, thereby reducing the cost required for circuit development, without affecting the normal chip select operation of the slave module.
[0047] In an optional embodiment, if Figure 2 As shown, Figure 2 is a schematic diagram of the structure of another reset control device based on a multiplexed communication interface disclosed in an embodiment of the utility model, such as Figure 2 As shown, the reset control circuit 103 includes a delay detection module and a conduction control module, wherein:
[0048] The input end of the delay detection module is electrically connected to the communication end of the host module 101, the output end of the delay detection module is electrically connected to the input end of the conduction control module, and the output end of the conduction control module is electrically connected to the reset end of the slave module 102;
[0049] A delay detection module is used to obtain an enable signal and detect whether a signal duration parameter of the enable signal is greater than a preset duration parameter. If so, a conduction signal is generated according to the enable signal and the conduction signal is sent to the conduction control module;
[0050] The conduction control module is used to generate a reset signal according to the conduction signal, and send the reset signal to the slave module 102 to perform reset control on the slave module 102 .
[0051] In this optional embodiment, the communication end of the host module 101 and the communication end of the slave module 102 may include a corresponding plurality of sub-communication ends, such as Figure 2 Further, the preset duration parameter can be determined based on the communication duration parameter required when the host module 101 performs a chip selection operation on the slave module 102. For example, the duration parameter is set to a parameter greater than the communication duration parameter. In this way, it can be ensured that the communication between the host module 101 and the slave module 102 is not affected when the host module 101 performs a chip selection operation on the slave module 102. For example, if the original communication signal type between the host module 101 and the slave module 102 before enabling is a high-level signal, and then after the host module 101 sends a low-level enable signal to the slave module 102, the delay detection module obtains the enable signal and determines the signal duration parameter of the enable signal. When it is determined that the signal duration parameter is greater than the communication duration parameter required by the host module 101 when selecting the slave module 102, a conduction signal can be generated according to the enable signal and transmitted to the conduction control module, so that the conduction control module generates a reset signal according to the conduction signal to reset the slave module 102.
[0052] It can be seen that this optional embodiment can achieve reset control of the slave module without affecting the chip select operation of the slave module by the host module through the specific circuit construction of the reset control circuit. This is conducive to improving the reliability and accuracy of the reset control of the slave module by the reset control circuit. At the same time, it is also conducive to ensuring that the host module implements a reliable and accurate chip select function for the slave module.
[0053] In another optional embodiment, Figure 2 As shown, the delay detection module includes a first switch control device Q1, a first pull-up device R1, a delay charging device C1 and a voltage control device D1, wherein:
[0054] The detection end of the first switch control device Q1 is electrically connected to the communication end of the host module 101, the charging control end of the first switch control device Q1 is electrically connected to the first end of the first pull-up device R1 and the charging end of the delayed charging device C1, the second end of the first pull-up device R1 is used to electrically connect to the power supply end of the power supply circuit, and the grounding end of the first switch control device Q1 is used to be grounded;
[0055] The charging end of the delayed charging device C1 is electrically connected to the voltage control end of the voltage control device D1, the driving end of the voltage control device D1 is electrically connected to the input end of the conduction control module, and the grounding end of the delayed charging device C1 is used for grounding.
[0056] In this optional embodiment, it should be noted that if Figure 2 As shown in the figure, when the host module 101 does not send an enable signal to the slave module 102, the detection end of the first switch control device Q1 receives a high-level signal, and the first switch control device Q1 is in an on state. At this time, the delayed charging device C1 is not in a charging state; and when the host module 101 sends a low-level enable signal to the slave module 102, the enable signal is also transmitted to the detection end of the first switch control device Q1. At this time, the first switch control device Q1 is in an off state, and the delayed charging device C1 is in a charging state. When the signal length of the enable signal lasts longer than the master When the communication duration parameter required for the master module 101 to select the slave module 102, that is, when the voltage of the delay charging device C1 reaches a certain voltage value (wherein, whether the certain voltage value is reached can be determined based on the resistance value of the first pull-up device R1, the voltage value of the voltage control device D1 and the capacitance of the delay charging device C1 itself), it can be understood that the delay detection module immediately generates a conduction signal and transmits the conduction signal to the conduction control module, so that the conduction control module is in a conduction state and generates a reset signal, and transmits the reset signal to the slave module 102 to reset the slave module 102.
[0057] Optionally, the first pull-up device R1 may be a single pull-up resistor, or multiple pull-up resistors connected in series, or multiple pull-up resistors connected in parallel. Further optionally, the delayed charging device C1 may include a delayed charging capacitor, or other electronic components or assemblies capable of realizing the above-mentioned charging state / non-charging state conversion process.
[0058] Further optionally, the first switch control device Q1 may include a first triode, or may include other electronic components or assemblies capable of achieving the same charging control function, wherein:
[0059] When the first switch control device Q1 is a first transistor, the detection end of the first switch control device Q1 is the base, the charging control end of the first switch control device Q1 is the collector, and the grounding end of the first switch control device Q1 is the emitter.
[0060] Further optionally, the voltage control device D1 may include a diode or a plurality of diodes connected in series (the specific number of series connections may be determined based on the preset duration parameter required in the aforementioned signal detection process), and may also include other electronic components or assemblies capable of achieving the same voltage control function (flow direction and voltage value control function), wherein:
[0061] When the voltage control device D1 includes a diode or a plurality of diodes connected in series, the voltage control end of the voltage control device D1 is the positive electrode, and the driving end of the voltage control device D1 is the negative electrode.
[0062] It can be seen that this optional embodiment can set the duration parameters required for the reset control detection according to the communication duration parameters required by the host module when performing chip selection on the slave module, and then flexibly configure the specific components of the delay detection module according to the duration parameters, which is beneficial to improving the delay detection reliability and accuracy of the delay detection module, thereby helping to improve the reset control reliability and accuracy of the conduction control module, so as to ensure the normal execution of the chip selection operation of the slave module by the host module.
[0063] In yet another optional embodiment, Figure 2 As shown, the conduction control module includes a second switch control device Q2 and a second pull-up device R2, wherein:
[0064] The controlled end of the second switch control device Q2 is electrically connected to the driving end of the voltage control device D1, the control end of the second switch control device Q2 is electrically connected to the first end of the second pull-up device R2 and the reset end of the slave module 102, the second end of the second pull-up device R2 is used to electrically connect to the power supply end of the power supply circuit, and the grounding end of the second switch control device Q2 is used for grounding.
[0065] In this optional embodiment, it should be noted that when the delayed charging device C1 is in a charging state, and when the signal duration of the low-level enable signal continues to be greater than the communication duration parameter required by the host module 101 when performing a bias operation on the slave module 102, at this time, the controlled end of the second switch control device Q2 will receive the on-state signal from the delay detection module and be in a conduction state, so that the RST end outputs a low level and controls the slave module 102 to reset; and when the delayed charging device C1 is in a non-charging state, or is in a charging state but the signal duration of the low-level enable signal does not continue to the aforementioned communication duration parameter, the second switch control device Q2 is in an off state, and the RST end continues to be a high level.
[0066] Optionally, the second switch control device Q2 may include a second triode, or may include other electronic components or assemblies capable of achieving the same reset control function, wherein:
[0067] When the second switch control device Q2 includes a second transistor, the controlled end of the second switch control device Q2 is the base, the control end of the second switch control device Q2 is the collector, and the ground end of the second switch control device Q2 is the emitter.
[0068] Further optionally, the second pull-up device R2 may be a single pull-up resistor, or a plurality of pull-up resistors connected in series, or a plurality of pull-up resistors connected in parallel.
[0069] It can be seen that this optional embodiment can flexibly configure the specific components of the conduction control module, which is beneficial to improving the reset control reliability and accuracy of the conduction control module, thereby helping to improve the timeliness of resetting the slave module to ensure the effectiveness of the reset and normal chip select communication between the master and slave modules.
[0070] In yet another optional embodiment, Figure 2 As shown, the delay detection module also includes a first protection device R3 and an anti-shake device C2, wherein:
[0071] A first end of the first protection device R3 is electrically connected to a detection end of the first switch control device Q1, and a second end of the first protection device R3 is grounded;
[0072] A first end of the anti-jitter device C2 is electrically connected to a detection end of the first switch control device Q1 , and a second end of the anti-jitter device C2 is grounded.
[0073] And, if Figure 2 As shown, the conduction control module further includes a second protection device R4, wherein:
[0074] A first end of the second protection device R4 is electrically connected to a controlled end of the second switch control device Q2 , and a second end of the second protection device R4 is grounded.
[0075] In this optional embodiment, further, the first protection device R3 and the second protection device R4 are used to limit the current flowing to the switch control device included in the corresponding module to stabilize the operating point of the switch control device and help the linearity of signal amplification; at the same time, it also prevents the switch control device from overloading and overheating, and improves its reliability. Optionally, the first protection device R3 and the second protection device R4 can both include a single protection resistor, and can also include multiple protection resistors connected in series, and can also include multiple protection resistors connected in parallel.
[0076] Furthermore, the anti-jitter device C2 is used to smoothly compensate for the signal jitter of the level signal transmitted to the first switch control device Q1, so that the input signal of the first switch control device Q1 is more stable. Optionally, the anti-jitter device C2 may include an anti-jitter capacitor, or other electronic components or assemblies that can achieve the same anti-jitter function.
[0077] It can be seen that this optional embodiment can protect the switch control devices in the delay detection module and the conduction control module by flexibly configuring electronic components, thereby reducing the occurrence of overload or overheating of electronic components and improving the safety of circuit use; at the same time, it also improves the stability and accuracy of the input signal.
[0078] In yet another optional embodiment, Figure 2 As shown, the reset control circuit 103 further includes a current limiting module, which includes a current limiting device R5, wherein:
[0079] A first end of the current limiting device R5 is electrically connected to a communication end of the host module 101 , and a second end of the current limiting device R5 is electrically connected to a detection end of the first switch control device Q1 .
[0080] Optionally, the current limiting device R5 may include a single current limiting resistor, multiple current limiting resistors connected in series, or multiple current limiting resistors connected in parallel. Furthermore, in addition to the current limiting device R5, the current limiting module may also include other electronic components that contribute to current limiting.
[0081] It can be seen that this optional embodiment can improve the protection reliability of the delay detection module and the conduction control module through the flexible configuration of the current limiting module, thereby ensuring the safety of the circuit.
[0082] It can be seen that implementation Figure 2 The described reset control device based on a multiplexed communication interface can select appropriate electronic components according to the actual situation of each module, which not only enables the communication interface of the host module to be reused, realizes simple reset control of the slave module, simplifies the conventional circuit structure of the traditional reset control device, thereby reducing the overall device cost of the reset control device, but also can reduce the occurrence of damage or burning of various electronic components during operation, thereby improving the protection and safety of the reset control device.
[0083] In summary, the working principle of a reset control device based on a multiplexed communication interface in an embodiment of the utility model is as follows:
[0084] like Figure 2As shown, when the host module does not send an enable signal, its SPI-CS pin is in a high level state. At this time, the first switch control device Q1 in the delay detection module is in an on state, the delay charging device C1 is in a non-charging state, and the second switch control device Q2 is in an off state, causing the RST pin to send a high level signal. When the host module transmits a low-level enable signal to the slave module through the SPI-CS pin, the enable signal is also transmitted to the delay detection module. At this time, the first switch control device Q1 is in an off state, and the delay charging device C1 is immediately in a charging state.
[0085] When the signal duration of the enable signal is greater than the preset duration parameter (such as the duration parameter can be the communication duration parameter required by the host module when selecting the slave module, and the duration parameter can be flexibly configured based on the resistance value of R3, the capacitance value of C1, and the voltage value of D1), the voltage value of the delay charging device C1 reaches 2.1V (Q2 on-voltage value 0.7V + voltage control device voltage value 1.4V) or more, which is equivalent to the on-control module receiving the on-signal from the delay detection module, and the second switch control device Q2 is immediately in the on state, causing the RST pin to send a low-level reset signal to control the slave module to reset.
[0086] When the duration of the enable signal is less than or equal to the preset duration parameter, the voltage value of capacitor C1 will not reach 2.1V, the second switch control device Q2 in the conduction control module is still in the off state, the RST pin continues to send a high level signal, and the host module performs normal chip selection operations on the slave module.
[0087] Embodiment 2
[0088] See also Figure 3 , Figure 3 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the utility model, and the electronic device includes any reset control device based on a multiplexed communication interface as in Embodiment 1, and the electronic device can be used to reset any slave module that requires reset control, such as a dimming control chip, a voltage detection chip, and a current detection chip, etc., which are not limited in the embodiment of the utility model. It should be noted that for a detailed description of a reset control device based on a multiplexed communication interface, please refer to the specific description of the relevant content in Embodiment 1, which will not be repeated in this embodiment.
[0089] It can be seen that the implementation Figure 3 The electronic device described uses the communication interface of the host module to reset the slave module, which can not only improve the utilization rate of the communication interface of the host module, but also improve the flexibility and convenience of resetting the slave module without affecting the normal chip selection operation of the slave module, and reduce the cost required for circuit development.
[0090] The above is a detailed introduction to a reset control device and an electronic device based on a multiplexed communication interface disclosed in an embodiment of the utility model. The principle and implementation method of the utility model are explained in this article using specific embodiments, but the above preferred embodiments are not used to limit the utility model. The description of the above embodiments is only used to help understand the method of the utility model and its core idea. At the same time, for a general technician in this field, according to the idea of the utility model, without departing from the spirit and scope of the utility model, there will be changes in the specific implementation method and the scope of application. Therefore, the scope of protection of the utility model is defined by the claims.
Claims
1. A reset control device based on a multiplexed communication interface, characterized in that: The reset control device comprises a reset control circuit, a host module and a slave module, wherein: The communication end of the host module is electrically connected to the communication end of the slave module, the input end of the reset control circuit is electrically connected to the communication end of the host module, and the output end of the reset control circuit is electrically connected to the reset end of the slave module; The host module is used to send an enable signal to the slave module, so as to perform a chip selection operation on the slave module according to the enable signal; The reset control circuit is used to obtain the enable signal and detect whether the enable signal meets the reset control condition. If so, a reset signal is generated according to the enable signal and the reset signal is sent to the slave module to perform reset control on the slave module.
2. A reset control device based on a multiplexed communication interface according to claim 1, characterized in that: The reset control circuit includes a delay detection module and a conduction control module, wherein: The input end of the delay detection module is electrically connected to the communication end of the host module, the output end of the delay detection module is electrically connected to the input end of the conduction control module, and the output end of the conduction control module is electrically connected to the reset end of the slave module; The delay detection module is used to obtain the enable signal and detect whether the signal duration parameter of the enable signal is greater than a preset duration parameter. If so, a conduction signal is generated according to the enable signal and the conduction signal is sent to the conduction control module; The conduction control module is used to generate a reset signal according to the conduction signal, and send the reset signal to the slave module to perform reset control on the slave module.
3. A reset control device based on a multiplexed communication interface according to claim 2, characterized in that: The delay detection module comprises a first switch control device (Q1), a first pull-up device (R1), a delay charging device (C1) and a voltage control device (D1), wherein: The detection end of the first switch control device (Q1) is electrically connected to the communication end of the host module, the charging control end of the first switch control device (Q1) is electrically connected to the first end of the first pull-up device (R1) and the charging end of the delayed charging device (C1), the second end of the first pull-up device (R1) is used to electrically connect to the power supply end of the power supply circuit, and the grounding end of the first switch control device (Q1) is used to be grounded; The charging end of the delayed charging device (C1) is electrically connected to the voltage control end of the voltage control device (D1), the driving end of the voltage control device (D1) is electrically connected to the input end of the conduction control module, and the grounding end of the delayed charging device (C1) is used for grounding.
4. A reset control device based on a multiplexed communication interface according to claim 3, characterized in that: The conduction control module comprises a second switch control device (Q2) and a second pull-up device (R2), wherein: The controlled end of the second switch control device (Q2) is electrically connected to the driving end of the voltage control device (D1), the control end of the second switch control device (Q2) is electrically connected to the first end of the second pull-up device (R2) and the reset end of the slave module, the second end of the second pull-up device (R2) is used to electrically connect to the power supply end of the power supply circuit, and the grounding end of the second switch control device (Q2) is used for grounding.
5. A reset control device based on a multiplexed communication interface according to claim 4, characterized in that: The delay detection module further includes a first protection device (R3) and an anti-shake device (C2), wherein: A first end of the first protection device (R3) is electrically connected to a detection end of the first switch control device (Q1), and a second end of the first protection device (R3) is used for grounding; The first end of the anti-jitter device (C2) is electrically connected to the detection end of the first switch control device (Q1), and the second end of the anti-jitter device (C2) is used for grounding.
6. A reset control device based on a multiplexed communication interface according to claim 5, characterized in that: The conduction control module further includes a second protection device (R4), wherein: The first end of the second protection device (R4) is electrically connected to the controlled end of the second switch control device (Q2), and the second end of the second protection device (R4) is used for grounding.
7. A reset control device based on a multiplexed communication interface according to claim 6, characterized in that: The reset control circuit further comprises a current limiting module, wherein the current limiting module comprises a current limiting device (R5), wherein: The first end of the current limiting device (R5) is electrically connected to the communication end of the host module, and the second end of the current limiting device (R5) is electrically connected to the detection end of the first switch control device (Q1).
8. A reset control device based on a multiplexed communication interface according to any one of claims 3 to 7, characterized in that: The voltage control device (D1) comprises a diode or a plurality of diodes connected in series, wherein: The voltage control end of the voltage control device (D1) is a positive electrode, and the driving end of the voltage control device (D1) is a negative electrode.
9. A reset control device based on a multiplexed communication interface according to any one of claims 4 to 7, characterized in that: The first switch control device (Q1) comprises a first transistor, wherein: The detection terminal of the first switch control device (Q1) is a base, the charging control terminal of the first switch control device (Q1) is a collector, and the ground terminal of the first switch control device (Q1) is an emitter; The second switch control device (Q2) comprises a second transistor, wherein: The controlled end of the second switch control device (Q2) is the base, the control end of the second switch control device (Q2) is the collector, and the ground end of the second switch control device (Q2) is the emitter.
10. A reset control device based on a multiplexed communication interface according to claim 9, characterized in that: The slave module includes at least one of a dimming control chip, a voltage detection chip, and a current detection chip.