A Microcontroller Serial Port Receiving and Sending Pin Automatic Detection System

A microcontroller, automatic detection technology, applied in general control systems, control/regulation systems, program control, etc., can solve problems such as inaccurate connection of serial ports

Active Publication Date: 2021-07-02
SHENZHEN HANGSHUN CHIP TECH DEV CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Purpose of the invention: In order to save testers from repeatedly exchanging lines due to various reasons that cannot accurately connect the input and output of the serial port, we have made some changes to the existing serial port receiving and sending, and proposed a microcontroller serial port receiving Send pin automatic detection system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Microcontroller Serial Port Receiving and Sending Pin Automatic Detection System
  • A Microcontroller Serial Port Receiving and Sending Pin Automatic Detection System
  • A Microcontroller Serial Port Receiving and Sending Pin Automatic Detection System

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0014] Embodiment: This embodiment proposes an automatic detection system for receiving and sending pins of a microcontroller serial port, such as figure 1 As shown, it includes: the original serial port input control module UART_RX inside the microcontroller chip, the serial port output control module UART_TX, two two-to-one selectors and a three-output demultiplexer; the two two-to-one selectors are respectively The first and second two-select-one selectors, the 0 input terminals of the first and second two-select-one selectors are both floating, the 1-input terminal of the first two-select-one selector is used as the first detection port, and the second two-select one-selector is used as the first detection port. The 1 input terminal of the selector is used as the second detection port; the output terminals of the first and second two-to-one selectors are both connected to the input terminal of the serial port input control module UART_RX; the serial port input control modul...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention proposes a microcontroller serial port receiving and sending pin automatic detection system, including: the original serial port input control module UART_RX in the microcontroller chip, the serial port output control module UART_TX, 2 two selectors and a three output Demultiplexer; UART_RX has a falling edge detection function, and together with two selectors to form an input signal detection circuit, it is used to detect input signals, and the detection result is used to control the gate of the three-output demultiplexer to realize the serial port The output control of the output control module UART_TX. The invention can realize the automatic detection system of the receiving and sending pins of the serial port of the micro-controller, and saves a plurality of pin test work before the serial port of the micro-controller is connected.

Description

technical field [0001] The invention relates to the technical field of microcontroller serial communication, in particular to an automatic detection system for receiving and sending pins of a microcontroller serial port. Background technique [0002] The function of the serial port in the microcontroller chip is mainly to communicate with other serial port chips. Generally, the serial port output TX and input RX of the chip are fixed on the pins of the chip. When performing data communication with other serial ports, it is necessary to connect the serial port output TX of the chip to the input port of another chip, and the input port RX to the output port TX. However, it is often seen that when connecting the serial port, the tester cannot quickly point out the input and output of the serial port of the chip, but must read the data sheet. Or after knowing the input and output of the serial port of the chip, it is not clear whether the TX is connected to the TX or the RX is ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G05B19/042
CPCG05B19/0428G05B2219/24024
Inventor 刘吉平胥和
Owner SHENZHEN HANGSHUN CHIP TECH DEV CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products