CN108600017A - Multi-protocols serial ports expansion method - Google Patents

Multi-protocols serial ports expansion method Download PDF

Info

Publication number
CN108600017A
CN108600017A CN201810392899.4A CN201810392899A CN108600017A CN 108600017 A CN108600017 A CN 108600017A CN 201810392899 A CN201810392899 A CN 201810392899A CN 108600017 A CN108600017 A CN 108600017A
Authority
CN
China
Prior art keywords
serial ports
modules
serial
uart
operating mode
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.)
Withdrawn
Application number
CN201810392899.4A
Other languages
Chinese (zh)
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.)
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Original Assignee
Changchun Institute of Optics Fine Mechanics and Physics of CAS
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 Changchun Institute of Optics Fine Mechanics and Physics of CAS filed Critical Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority to CN201810392899.4A priority Critical patent/CN108600017A/en
Publication of CN108600017A publication Critical patent/CN108600017A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)

Abstract

The present invention relates to a kind of multi-protocols serial ports expansion methods, belong to computer communication technology field, this method uses SOC controller, serial ports expansion is carried out using Uart IP core form of software modules, save hardware cost, protocol configuration is carried out to Multiprotocol Tansceiver chip by transceiver configuration management module, each serial ports can realize free switching between tri- kinds of agreements of RS232, RS422 and RS485, the relevant parameter and protocol type of each serial ports can be shown in real time by display screen, and the operating mode of serial ports is shown.Multi-protocols serial ports expansion method proposed by the invention to the protocol type of extended serial port can configure and be configured the operating mode of extended serial port in real time, have the advantages that serial ports expansion is convenient, hardware cost is low etc..

Description

Multi-protocols serial ports expansion method
Technical field
The present invention relates to computer communication technology fields, more particularly to a kind of multi-protocols serial ports expansion method.
Background technology
Embedded controller generally contains only 1~3 UART Universal Asynchronous Receiver Transmitter (Universal Asynchronous Receiver/Transmitter, UART), UART formed after driving chip different types of serial ports (such as RS232 serial ports, RS422 serial ports and RS485 serial ports etc.).When embedded controller will be communicated with multiple serial equipments, need to carry out it Serial ports expansion.
Currently, there are two types of serial ports expansion main stream approach:The first is realized using serial port extended chip, and this method is simple Convenient, controller need to only access to its register according to the read-write sequence of serial port extended chip, difficult point be with Serial port extended chip quantity increases, if controller processing capacity deficiency can cause serial data to lose;Second is using existing Field programmable gate array (FPGA) carries out serial ports expansion, is realized using customized serial ports software module or serial ports IP kernel, this Although kind method saves hardware cost, extension is convenient, but there are the relative complex deficiencies of FPGA software developments.
Used serial port protocol mainly has RS232, RS422 and RS485, these serial port protocols are set after product export At a kind of fixed pattern, user cannot change according to actual demand, therefore it is enough often to occur serial ports quantity in engineering, but because The case where causing serial ports to cannot be satisfied demand for serial port protocol type mismatch.
Invention content
Based on this, it is necessary to for current serial ports expansion method there are the problem of and engineering in occur serial ports quantity foot Enough, the problem of but causing serial ports to cannot be satisfied demand due to serial port protocol type mismatch, a kind of multi-protocols serial ports expansion is provided Method.
To solve the above problems, the present invention takes the following technical solution:
A kind of multi-protocols serial ports expansion method, the hardware that the method uses includes SOC controller, display screen, serial outer If interface memory, N number of Multiprotocol Tansceiver and N number of connector, the SOC controller includes Cortex M3 ARM and FPGA, The Cortex M3 ARM include transceiver configuration management module, APB3BUS modules, AHBTOAPB3 modules, CoreAHBLite Module, FIC_0 modules, MSS_INT_F2M [0-15] module, Serial Peripheral Interface (SPI), UART Universal Asynchronous Receiver Transmitter and N number of uart IP Core modules, and it is the transceiver configuration management module, the APB3 BUS modules, the AHBTOAPB3 modules, described CoreAHBLite modules and N number of uart IP core modules are operated in the FPGA;
The Serial Peripheral Interface (SPI) is connect with the Serial Peripheral Interface (SPI) memory;
The UART Universal Asynchronous Receiver Transmitter is connect with the display screen;
The SOC controller extends altogether N number of serial ports, and each serial ports includes uart IP core modules, one A Multiprotocol Tansceiver and a connector, in each serial ports, the uart IP core modules pass through TX signals and RX signals are connected with the corresponding Multiprotocol Tansceiver, the Multiprotocol Tansceiver and the corresponding connector Connection, a port of the interrupt event port and the MSS_INT_F2M [0-15] module of the uart IP core modules Connection;
N number of Multiprotocol Tansceiver shares the transceiver configuration management module, the transceiver configuration management module It is connect respectively with the APB3 BUS modules by APB3 buses with N number of uart IP core modules, the APB3 BUS Module as being connect from equipment with the AHBTOAPB3 modules, the AHBTOAPB3 modules as from equipment with it is described CoreAHBLite modules connect, and the CoreAHBLite modules are connect as main equipment with FIC_0 modules;
After the SOC controller power-up initializing, the Cortex M3 ARM read the Serial Peripheral Interface (SPI) and deposit The protocol type information and operating mode information of each serial ports in reservoir, and directly visited by distributing different address spaces The uart IP core modules and the transceiver configuration management module are asked, with according to the protocol type information and the work Operation mode information carries out protocol type configuration to the corresponding serial ports and operating mode is arranged;
The protocol type information and operating mode information are sent to the display screen and carried out by the Cortex M3 ARM Display.
Above-mentioned multi-protocols serial ports expansion method uses SOC controller, is carried out using Uart IP core form of software modules Serial ports expansion saves hardware cost, and protocol configuration is carried out to Multiprotocol Tansceiver chip by transceiver configuration management module, Each serial ports can realize free switching between tri- kinds of agreements of RS232, RS422 and RS485, can be in real time to each serial ports by display screen Relevant parameter and protocol type shown, and the operating mode of serial ports is shown.Multi-protocols proposed by the invention Serial ports expansion method to the protocol type of extended serial port can configure and set the operating mode of extended serial port in real time It sets, has the advantages that serial ports expansion is convenient, hardware cost is low etc..
Description of the drawings
Fig. 1 is the hardware annexation schematic diagram of multi-protocols serial ports expansion method in one embodiment of the invention;
Fig. 2 is the function module connection relationship diagram of part serial ports in hardware annexation schematic diagram shown in FIG. 1;
Fig. 3 is the internal functional architecture signal of transceiver configuration management module in the one of specific implementation mode of the present invention Figure;
Fig. 4 is the schematic diagram of serial ports operating mode in the one of specific implementation mode of the present invention.
Specific implementation mode
Technical scheme of the present invention is described in detail below in conjunction with attached drawing and preferred embodiment.
The present invention proposes a kind of multi-protocols serial ports expansion method, the hardware that this method uses in one of the embodiments, Including SOC (System on chip, system on chip) controller, display screen, Serial Peripheral Interface (SPI) memory (SPIFLASH moulds Block), N number of Multiprotocol Tansceiver and N number of connector, SOC controller include that (scene can compile Cortex M3 ARM (MSS) and FPGA Journey gate array), Cortex M3 ARM include transceiver configuration management module, APB3 BUS modules (3 mould of advanced peripheral bus Block), AHBTOAPB3 modules, CoreAHBLite modules (advanced high-speed bus module), FIC_0 modules, MSS_INT_F2M [0-15] module, Serial Peripheral Interface (SPI) (SPI), UART Universal Asynchronous Receiver Transmitter (Uart) and N number of uart IP core modules are (general different Walk transceiver IP kernel module), and transceiver configuration management module, APB3 BUS modules, AHBTOAPB3 modules, CoreAHBLite Module and N number of uart IP core modules are operated in FPGA.Only extend eight serial ports (i.e. N altogether with SOC controller below =8) for, the present embodiment is described in detail, those skilled in the art on the basis of the present embodiment, it can be achieved that other The serial ports expansion of quantity.
Fig. 1 show the hardware annexation schematic diagram of multi-protocols serial ports expansion method in the present embodiment, and SOC is controlled in figure Device extends eight serial ports altogether, including a SOC controller, a SPIFLASH module, a display screen and multi-protocols are received Send out 1~Multiprotocol Tansceiver of device 8,1~connector of connector 8;The function module that Fig. 2 show part extended serial port in Fig. 1 connects Connect relation schematic diagram, including a SOC controller, a SPI FLASH module, a display screen and Multiprotocol Tansceiver 1, Connector 1.
SOC controller is connected with 1~Multiprotocol Tansceiver of Multiprotocol Tansceiver 8 combined with Figure 1 and Figure 2, Multiprotocol Tansceiver 1~Multiprotocol Tansceiver 8 is connected with the one-to-one correspondence of 1~connector of connector 8.Uart in SOC controller is connected with display screen; SPI1 in SOC controller is connected with SPIFLASH modules.SOC controller extends eight serial ports, each extended serial port altogether It is made of such as lower part:One uart IP core module, a Multiprotocol Tansceiver and a connector, eight extended serial ports A transceiver configuration management module is shared, transceiver configuration management module is responsible for configuring when each Multiprotocol Tansceiver works Protocol type.Each uart IP core module is connected by TX signals and RX signals with corresponding Multiprotocol Tansceiver, often The interrupt event signal port of one uart IP core module is connected to MSS_INT_F2M [0-15] mould in SOC controller On some port of block, as shown in Fig. 2, uart IP core modules 1 pass through TX signals and RX signals and corresponding multi-protocols Transceiver 1 connects, and Multiprotocol Tansceiver 1 is connected with corresponding connector 1, the interrupt event signal of uart IP core modules 1 Port is connected on some port of the MSS_INT_F2M in SOC controller [0-15] module.
Transceiver configuration management module is connected by APB3 bus interface with APB3 BUS modules, uart IP core modules 1 is connected also by its APB3 bus interface with APB3 BUS modules, and APB3 BUS modules are connected to as slave equipment In AHBTOAPB3 modules, AHBTOAPB3 modules are connected to as slave equipment in CoreAHBLite modules, CoreAHBLite Module is connect as master equipment with FIC_0 modules, and uart IP core modules 1, transceiver configuration management module, APB3 BUS modules, AHBTOAPB3 modules and CoreAHBLite modules are operated in the FPGA in SOC controller.
The chip of M2S025 models can be selected in SOC controller in the present embodiment, and Multiprotocol Tansceiver can be selected The chip of MAX3161E models.In fig. 2, T2OUT, R2IN, T1OUT, T1IN, GND, Y (A), the Z of Multiprotocol Tansceiver 1 (B), A, B signal are connected with 1~9 pin of connector 1 respectively;DI/T1IN the and RO/R2OUT signals of Multiprotocol Tansceiver 1 point It is not connected with TX the and RX signals of uart IP core modules 1;DE485/T2IN, R1OUT of Multiprotocol Tansceiver 1, FAST、HDPLX signals respectively with the IO_n1 of corresponding transceiver configuration management module~ IO_n6 signals connect, wherein 1~N of n ∈, N=8;Uart IP core modules 1 and transceiver configuration management module pass through respectively APB3 bus interface is connected with APB3BUS modules, and APB3BUS modules are connected in AHBTOAPB3 modules, AHBTOAPB3 modules It is connected in CoreAHBLite modules, CoreAHBLite modules are connected in FIC_0 modules, uart IP core modules 1 Interrupt event signal is connected with some port of MSS_INT_F2M [0-15] module.For example, uart IP core modules 1~ The interrupt event signal of uart IP core modules 8 is connected with MSS_INT_F2M [0]~MSS_INT_F2M [7] respectively.
After SOC controller power-up initializing, Cortex M3 ARM read each serial ports in SPI FLASH modules Protocol type information and operating mode information, and by distribute different address space directly accesses uart IP core modules with Transceiver configuration management module is matched with carrying out protocol type to corresponding serial ports according to protocol type information and operating mode information It sets and operating mode is arranged;Protocol type information and operating mode information are also sent to display screen and carried out by Cortex M3 ARM Display.
The multi-protocols serial ports expansion method that above-described embodiment is proposed uses SOC controller, soft using Uart IP core Part modular manner carries out serial ports expansion, hardware cost is saved, by transceiver configuration management module to Multiprotocol Tansceiver core Piece carries out protocol configuration, and each serial ports can realize free switching between tri- kinds of agreements of RS232, RS422 and RS485, pass through display screen The relevant parameter and protocol type of each serial ports can be shown in real time, and the operating mode of serial ports is shown.This reality Configuration can be carried out to the protocol type of extended serial port in real time and be gone here and there to extension by applying the multi-protocols serial ports expansion method that example is proposed The operating mode of mouth is configured, and has the advantages that serial ports expansion is convenient, hardware cost is low etc..
As a kind of specific embodiment, transceiver configuration management module includes N number of protocol configuration register and N number of association View parsing and configuration module, N number of protocol configuration register connects one to one with N number of protocol analysis with configuration module, and N number of association View configuration register is connect by APB3 bus interface with APB3 BUS modules.Specifically, in the present embodiment, such as Fig. 3 Shown, APB3 bus interface is connected with protocol configuration register 1~protocol configuration register N respectively, can to the content of register To be written and read operation, protocol analysis and 1~protocol analysis of configuration module and configuration module N respectively with protocol configuration register 1 ~protocol configuration register N, which is corresponded, to be connected, and protocol analysis is read with configuration module in corresponding protocol configuration register Data, and the protocol type that serial ports works is parsed according to data, then pass through IO_n1~IO_n6 signals (wherein 1~N of n ∈) Corresponding Multiprotocol Tansceiver respective pin is controlled respectively.When SOC controller extends eight serial ports, i.e. N=8 altogether When, eight protocol configuration registers are accessed respectively using eight different addresses in transceiver configuration management module, each Protocol analysis matches corresponding Multiprotocol Tansceiver according to the data in coupled protocol configuration register with configuration module It is set to corresponding protocol mode, i.e., Multiprotocol Tansceiver chip is controlled by six roots of sensation signal wire (six pins for corresponding to PFGA) The level state of six pins, the data 1 in protocol configuration register indicate that RS232 agreements, data 2 indicate RS422 agreements, number Indicate that RS485 agreements, the protocol type of each serial ports in the present invention can be configured as RS232, RS422 and RS485 according to 3 In any one.
As a kind of specific embodiment, display screen obtains serial port protocol type configuration information;Cortex M3 ARM are logical It crosses Uart and reads serial port protocol type configuration information, and according to serial port protocol type configuration information to transceiver configuration management module Related register carry out write operation.It is connect with display screen by Uart in Cortex M3 ARM, is matched by the serial ports of display screen Setting interface can be configured and be shown to the protocol type and parameter of each serial ports.Display screen obtains serial port protocol type configuration letter After breath, Cortex M3 ARM read the serial port protocol type configuration information by Uart, if serial port protocol type configuration becomes Change, then Cortex M3 ARM carry out write operation to the related register of transceiver configuration management module, to realize according to practical work Journey needs to configure the protocol type of extended serial port.
All configuration parameters of each serial ports correspond to a data packet, are stored entirely in SPI FLASH chips, Cortex Serial port protocol type configuration information is also written to by SPI in SPI FLASH chips by M3 ARM, with to protocol type information into Row preserves, and in relevant protocol types configuration information real-time storage to SPI FLASH chips, realizes protocol type configuration information power down It does not lose, booting is automatic again reads protocol type configuration information and configured to related serial ports.
As a kind of specific embodiment, display screen obtains serial ports operating mode information;Cortex M3 ARM pass through Uart reads serial ports operating mode information, and according to serial ports operating mode information to the related register of uart IP core modules Carry out write operation.It is connect with display screen by Uart in Cortex M3 ARM, it can be to every by the serial ports configuration interface of display screen The operating mode and parameter of a serial ports are configured and are shown.After display screen obtains serial ports operating mode information, Cortex M3 ARM reads the serial ports operating mode information by Uart, if serial ports operating mode changes, Cortex M3 ARM couple The related register of uart IP core modules carries out write operation, to realize the work that extended serial port is arranged according to actual requirement of engineering Operation mode.In the present invention, the operating mode of serial ports can be any one in mutual rotary-die type, broadcast mode or mixed mode Kind, the operating mode of serial ports can be arranged in user according to actual needs, and can be modified to the operating mode of set serial ports.
As a kind of specific embodiment, serial ports operating mode information is the two dimension of the connection relation about each serial ports Array, two-dimensional array is written to by SPI in SPI FLASH modules by Cortex M3 ARM, to be carried out to operating mode information It preserves.Cortex M3 ARM read the serial ports operating mode information of display screen acquisition by Uart in real time, and by each serial ports Connection relation state saves as two-dimensional array as serial ports operating mode information, if serial ports operating mode changes, Two-dimensional array is deposited into the reserved area of SPI FLASH chips by SPI by Cortex M3 ARM, realizes serial ports operating mode Setting information power down is not lost, and booting is automatic again reads setting information and carry out operating mode setting to related serial ports.
As a kind of specific embodiment, Cortex M3 ARM modules access every uart IP by address bus Core moulds register in the block, with to each serial ports and baud rate, data bit width, stop bit width, parity check system, FIFO depth and the register of interrupt mode are configured.
As a kind of specific embodiment, the display screen in the present invention selects touching liquid-crystal display screen.Assuming that SOC is controlled Device extends eight serial ports, respectively 1~serial ports of serial ports 8 altogether, and eight serial ports icons are shown on touching liquid-crystal display screen, point 1~serial ports of serial ports 8 is not represented, and the operating mode of serial ports can be selected by being operated to this eight icons.The work of serial ports There are three types of patterns:The first is mutual rotary-die type, and sequence clicks two two icons not being connected with other icons, you can is matched An even serial ports icon is connected to for mutual rotary-die type, will appear a line in display screen, as shown in Fig. 4 (a), in serial ports In mutual rotary-die type, the data of any of which serial ports received can at once give in the transmission FIFO of another serial ports;The Two kinds are broadcast mode, click on two serial ports icons, and by two serial ports icon connections, multiple strings are allowed under this pattern Mouth is connect with the same serial ports, repeatedly carries out serial ports connection, until serial ports connection is configured and completed, as shown in Fig. 4 (b), is being broadcasted It is main serial ports all to be connect with other serial ports under pattern, and the information received is broadcast to the serial ports being attached thereto by main serial ports immediately On;The third is mixed mode, and the serial ports of existing broadcast mode exists under this pattern, and with the presence of the serial ports of mutual rotary-die type, But it is unable to cross-mixing between broadcast mode serial ports and mutual rotary-die type serial ports, as shown in Fig. 4 (c), is connected in two serial ports icon displays In the state of connecing, sequence clicks the interconnection state that can cancel the two serial ports.
A kind of multi-protocols Serial Port expanding technology proposed by the invention and its configuration method, can be in real time to serial port protocol class Type, baud rate, data bit length etc. are configured, and serial ports operating mode is chosen as mutual rotary-die type, broadcast mode or mixed mode, Each serial ports can realize free switching between tri- kinds of agreements of RS232, RS422 and RS485, pass through the man-machine friendship of touching liquid-crystal display screen Mutually software interface can be configured and be shown to the relevant parameter and protocol type of each serial ports in real time, and to the Working mould of serial ports Formula is configured and is shown, in relevant configuration information real-time storage to SPI FLASH chips, realizes that configuration information power down is not lost It loses, booting is automatic again reads configuration information and configured to related serial ports.
Each technical characteristic of embodiment described above can be combined arbitrarily, to keep description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of multi-protocols serial ports expansion method, which is characterized in that the hardware that the method uses includes SOC controller, display Screen, Serial Peripheral Interface (SPI) memory, N number of Multiprotocol Tansceiver and N number of connector, the SOC controller include Cortex M3ARM and FPGA, the Cortex M3ARM include transceiver configuration management module, APB3BUS modules, AHBTOAPB3 modules, CoreAHBLite modules, FIC_0 modules, MSS_INT_F2M [0-15] module, Serial Peripheral Interface (SPI), UART Universal Asynchronous Receiver Transmitter and N number of uart IP core modules, and the transceiver configuration management module, the APB3BUS modules, the AHBTOAPB3 moulds Block, the CoreAHBLite modules and N number of uart IP core modules are operated in the FPGA;
The Serial Peripheral Interface (SPI) is connect with the Serial Peripheral Interface (SPI) memory;
The UART Universal Asynchronous Receiver Transmitter is connect with the display screen;
The SOC controller extends altogether N number of serial ports, and each serial ports includes uart IP core modules, an institute Multiprotocol Tansceiver and a connector are stated, in each serial ports, the uart IP core modules are believed by TX Number and RX signals and the corresponding Multiprotocol Tansceiver connect, the Multiprotocol Tansceiver and the corresponding connector company It connects, the interrupt event port of the uart IP core modules connects with a port of the MSS_INT_F2M [0-15] module It connects;
N number of Multiprotocol Tansceiver shares the transceiver configuration management module, the transceiver configuration management module and N number of The uart IP core modules are connect by APB3 buses with the APB3 BUS modules respectively, and the APB3BUS modules are made To be connect from equipment with the AHBTOAPB3 modules, the AHBTOAPB3 modules are used as from equipment and the CoreAHBLite Module connects, and the CoreAHBLite modules are connect as main equipment with FIC_0 modules;
After the SOC controller power-up initializing, the Cortex M3 ARM read the Serial Peripheral Interface (SPI) memory In each serial ports protocol type information and operating mode information, and directly access institute by distributing different address space Uart IP core modules and the transceiver configuration management module are stated, with according to the protocol type information and the Working mould Formula information carries out protocol type configuration to the corresponding serial ports and operating mode is arranged;
The protocol type information and operating mode information are sent to the display screen and shown by the Cortex M3 ARM Show.
2. multi-protocols serial ports expansion method according to claim 1, which is characterized in that
The transceiver configuration management module includes N number of protocol configuration register and N number of protocol analysis and configuration module, N number of institute It states protocol configuration register to connect one to one with configuration module with N number of protocol analysis, and N number of protocol configuration deposit Device is connect by APB3 bus interface with the APB3 BUS modules.
3. multi-protocols serial ports expansion method according to claim 1 or 2, which is characterized in that
The display screen obtains serial port protocol type configuration information;
The Cortex M3 ARM read the serial port protocol type configuration information, and root by the UART Universal Asynchronous Receiver Transmitter Write operation is carried out to the related register of the transceiver configuration management module according to the serial port protocol type configuration information.
4. multi-protocols serial ports expansion method according to claim 3, which is characterized in that
The serial port protocol type configuration information is written to described by the Cortex M3 ARM by the Serial Peripheral Interface (SPI) In Serial Peripheral Interface (SPI) memory, to be preserved to the protocol type information.
5. multi-protocols serial ports expansion method according to claim 1 or 2, which is characterized in that
The display screen obtains serial ports operating mode information;
The Cortex M3 ARM read the serial ports operating mode information by the UART Universal Asynchronous Receiver Transmitter, and according to institute It states serial ports operating mode information and write operation is carried out to the related register of the uart IP core modules.
6. multi-protocols serial ports expansion method according to claim 5, which is characterized in that
The serial ports operating mode information is the two-dimensional array of the connection relation about each serial ports, the Cortex M3 The two-dimensional array is written to by the Serial Peripheral Interface (SPI) in the Serial Peripheral Interface (SPI) memory by ARM, with to described Operating mode information is preserved.
7. multi-protocols serial ports expansion method according to claim 1 or 2, which is characterized in that
The Cortex M3 ARM modules access each uart IP core moulds register in the block by address bus, With to each serial ports and baud rate, data bit width, stop bit width, parity check system, FIFO depth and in The register of disconnected mode is configured.
8. multi-protocols serial ports expansion method according to claim 1 or 2, which is characterized in that
The protocol type of each serial ports can be configured as any one in RS232, RS422 and RS485.
9. multi-protocols serial ports expansion method according to claim 1 or 2, which is characterized in that
The operating mode of the serial ports can be any one in mutual rotary-die type, broadcast mode or mixed mode.
10. multi-protocols serial ports expansion method according to claim 1 or 2, which is characterized in that
The display screen is touching liquid-crystal display screen.
CN201810392899.4A 2018-04-27 2018-04-27 Multi-protocols serial ports expansion method Withdrawn CN108600017A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810392899.4A CN108600017A (en) 2018-04-27 2018-04-27 Multi-protocols serial ports expansion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810392899.4A CN108600017A (en) 2018-04-27 2018-04-27 Multi-protocols serial ports expansion method

Publications (1)

Publication Number Publication Date
CN108600017A true CN108600017A (en) 2018-09-28

Family

ID=63610099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810392899.4A Withdrawn CN108600017A (en) 2018-04-27 2018-04-27 Multi-protocols serial ports expansion method

Country Status (1)

Country Link
CN (1) CN108600017A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889748A (en) * 2019-01-29 2019-06-14 中国航空无线电电子研究所 Restructural Avionics Databus
CN110895501A (en) * 2019-06-10 2020-03-20 研祥智能科技股份有限公司 Serial port switching method and system
CN111833797A (en) * 2020-07-28 2020-10-27 重庆惠科金渝光电科技有限公司 Time sequence control plate, driving device and display device
CN111883037A (en) * 2020-07-28 2020-11-03 重庆惠科金渝光电科技有限公司 Time sequence control plate, driving device and display device
CN113177013A (en) * 2021-05-24 2021-07-27 石家庄通合电子科技股份有限公司 Baud rate-based serial communication method and multi-serial chip
CN114595183A (en) * 2020-12-07 2022-06-07 深圳Tcl新技术有限公司 Serial port data processing method and device, terminal and computer readable storage medium
CN117850291A (en) * 2023-11-03 2024-04-09 巢势科技(上海)有限公司 Multi-node fine step synchronous jacking control system and control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714024A (en) * 2013-12-18 2014-04-09 国核自仪***工程有限公司 Multi-serial port parallel processing framework based on SoC (System on a Chip) FPGA (Field Programmable Gata Array)
US9325414B2 (en) * 2011-09-09 2016-04-26 Samsung Electronics Co., Ltd. Data processing systems, systems on chip, and data processing systems comprising systems on chip
CN205375458U (en) * 2016-01-20 2016-07-06 北京航宇天创科技发展有限公司 Four -channel's multi -protocols communication interface card

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9325414B2 (en) * 2011-09-09 2016-04-26 Samsung Electronics Co., Ltd. Data processing systems, systems on chip, and data processing systems comprising systems on chip
CN103714024A (en) * 2013-12-18 2014-04-09 国核自仪***工程有限公司 Multi-serial port parallel processing framework based on SoC (System on a Chip) FPGA (Field Programmable Gata Array)
CN205375458U (en) * 2016-01-20 2016-07-06 北京航宇天创科技发展有限公司 Four -channel's multi -protocols communication interface card

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MICROSEMI: "SmartFusion2 SoC FPGA - Dynamic Configuration of AHB Bus Matrix - Libero SoC v11.7", 《HTTP://WWW.MICROSEMI.COM/PRODUCT-DIRECTORY/SOC-FPGAS/1692-SMARTFUSION2#DOCUMENTATION》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889748A (en) * 2019-01-29 2019-06-14 中国航空无线电电子研究所 Restructural Avionics Databus
CN109889748B (en) * 2019-01-29 2021-10-26 中国航空无线电电子研究所 Reconfigurable airborne video recorder
CN110895501A (en) * 2019-06-10 2020-03-20 研祥智能科技股份有限公司 Serial port switching method and system
CN110895501B (en) * 2019-06-10 2024-05-14 研祥智慧物联科技有限公司 Serial port switching method and system thereof
CN111833797A (en) * 2020-07-28 2020-10-27 重庆惠科金渝光电科技有限公司 Time sequence control plate, driving device and display device
CN111883037A (en) * 2020-07-28 2020-11-03 重庆惠科金渝光电科技有限公司 Time sequence control plate, driving device and display device
CN114595183A (en) * 2020-12-07 2022-06-07 深圳Tcl新技术有限公司 Serial port data processing method and device, terminal and computer readable storage medium
CN113177013A (en) * 2021-05-24 2021-07-27 石家庄通合电子科技股份有限公司 Baud rate-based serial communication method and multi-serial chip
CN113177013B (en) * 2021-05-24 2022-09-02 石家庄通合电子科技股份有限公司 Baud rate-based serial communication method and multi-serial chip
CN117850291A (en) * 2023-11-03 2024-04-09 巢势科技(上海)有限公司 Multi-node fine step synchronous jacking control system and control method thereof

Similar Documents

Publication Publication Date Title
CN108600017A (en) Multi-protocols serial ports expansion method
CN107153622B (en) A kind of drive control method based on spi bus
KR101035832B1 (en) Simulation circuit of pci express endpoint and downstream port for a pci express switch
CA2446983A1 (en) Programmable logic device including programmable interface core and central processing unit
CN208188815U (en) BMC module system
CN104636301B (en) A kind of extensive PLC High speed rear panels bus system based on PCI E interfaces
CN109783416A (en) SPI shares method, circuit and the electronic equipment of GPIO from equipment and I2C from equipment
US20200409706A1 (en) Apparatuses and methods involving selective disablement of side effects caused by accessing register sets
CN101599004A (en) SATA controller based on FPGA
US20040141518A1 (en) Flexible multimode chip design for storage and networking
CN109117409A (en) The device that a kind of server and its serial ports based on BMC redirect
CN111948971A (en) Intelligent card management device and data switching method thereof
CN201839452U (en) Wireless sensor network intelligent gateway
CN103678244B (en) A kind of smart machine without using application processor
CN103226531B (en) A kind of dual-port peripheral configuration interface circuit
CN208656791U (en) A kind of vehicle-mounted Ethernet exploitation test platform
CN113611102B (en) Multi-channel radar echo signal transmission method and system based on FPGA
CN202404483U (en) Embedded network server equipment
CN107329863A (en) A kind of measuring instrument general hardware platform based on COMe
CN200941208Y (en) Device to operate USB interface
CN209313939U (en) The multi-computer switching device and electronic equipment of more remote channels
CN209055942U (en) A kind of multifunctional multiplexing interface circuit
CN204480237U (en) A kind of connector, universal serial bus device and intelligent terminal
CN108111380A (en) N roads CAN communication device, implementation method and charging equipment based on A5 platforms
CN106326172A (en) APB bus slave interface expansion circuit and use method thereof

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180928