[go: up one dir, main page]

CN115499100B - Data transmission rate configuration negotiation method, system, terminal and medium for serial deserializer - Google Patents

Data transmission rate configuration negotiation method, system, terminal and medium for serial deserializer Download PDF

Info

Publication number
CN115499100B
CN115499100B CN202211124576.XA CN202211124576A CN115499100B CN 115499100 B CN115499100 B CN 115499100B CN 202211124576 A CN202211124576 A CN 202211124576A CN 115499100 B CN115499100 B CN 115499100B
Authority
CN
China
Prior art keywords
deserializer
configuration
serializer
rate
rate configuration
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.)
Active
Application number
CN202211124576.XA
Other languages
Chinese (zh)
Other versions
CN115499100A (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.)
Shanghai Anlin Enterprise Management Consulting Partnership LP
Original Assignee
Shanghai Anlin Enterprise Management Consulting Partnership LP
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 Shanghai Anlin Enterprise Management Consulting Partnership LP filed Critical Shanghai Anlin Enterprise Management Consulting Partnership LP
Priority to CN202211124576.XA priority Critical patent/CN115499100B/en
Publication of CN115499100A publication Critical patent/CN115499100A/en
Application granted granted Critical
Publication of CN115499100B publication Critical patent/CN115499100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0067Rate matching
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0002Serial port, e.g. RS232C

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)

Abstract

The application provides a data transmission rate configuration negotiation method, a system, a terminal and a medium of a serial deserializer, which comprises the steps of configuring the serial deserializer and the deserializer on the highest rate configuration supported by the serial deserializer and the deserializer, reconfiguring the rate configuration of the serial deserializer until connection is established if the serial deserializer and the deserializer cannot establish connection after a starting process is carried out, and determining a rate configuration negotiation result of the serial deserializer according to a cyclic redundancy check result of a data head if the rate configuration of the deserializer is any one of a third rate configuration, a fourth rate configuration and a fifth rate configuration after the connection is established by the serial deserializer and the deserializer. By adopting the application, the rate configuration negotiation time of the vehicle-mounted serial deserializer is shortened, and the rate configuration negotiation result is the optimal rate configuration, so that the running efficiency of the vehicle-mounted serial deserializer can be effectively improved.

Description

Data transmission rate configuration negotiation method, system, terminal and medium for serial deserializer
Technical Field
The present application relates to the field of vehicle-mounted communications, and in particular, to a data transmission rate configuration negotiation method, system, terminal, and medium for a serial deserializer.
Background
New energy vehicles, particularly new energy vehicles with driving assistance function, have been increasingly popular in recent years, and in order to achieve better driving assistance function, such vehicles need to be equipped with a large number of vehicle-mounted sensors, for example, more than 13 cameras are generally required for new energy vehicles with L3 driving assistance function. The data collected by the sensor needs to be transmitted to the auxiliary driving domain controller, and the sensor needs to directly transmit uncompressed raw data to the driving domain controller in the vehicle-mounted application environment in consideration of larger delay caused by compressing the data, so that larger transmission bandwidth is required. With the annual increase of data transmission bandwidth requirements and longer transmission distance requirements (10-15 meters), the current mainstream solution is an on-board serializer-deserializer (SerDes). Specifically, a serializer chip (transmitting chip) is integrated in the camera module, the output of the serializer chip is connected to a coaxial cable or a shielded twisted pair, the other end of the cable is connected to an auxiliary driving domain controller, and a deserializer chip (receiving chip) is integrated at the domain controller end. The deserializer chip processes the signal received on the cable into parallel data, and a bidirectional channel is established between the serializer and the deserializer, wherein the channel from the serializer to the deserializer is a high-speed downlink channel for mainly transmitting video data, and the channel from the deserializer to the serializer is a low-speed uplink channel for mainly transmitting commands.
The existing vehicle-mounted serial de-serializers all adopt private protocols, and the mobile industry processor interface alliance MIPI provides a vehicle-mounted serial de-serializer standard APHY v1.0 for solving the problem of interconnection and interworking. The standard defines five data transfer rates, namely, gear1, gear2, gear3, gear4, gear5, the serializer and the deserializer need to work on a specific Gear pair, such as any one of Gear3, gear4 and Gear5 can be connected with any one of Gear3, gear4 and Gear5, the Gear2 can only be connected with the Gear2, and the Gear1 can only be connected with the Gear 1. The APHY v1.0 standard does not propose a negotiation procedure about how the serializer and the deserializer perform data transmission rate configuration, for example, according to a conventional negotiation method, the data transmission rate negotiation procedure is respectively and circularly tried on both sides of the serializer and the deserializer until the both successfully establish a connection, but the disadvantage is that the connection establishment time is long due to the adoption of a circular configuration mode, and the final rate negotiation result may be non-optimal rate configuration. If the serializer supports Gear3 at the highest and the deserializer supports Gear2 at the highest, if the negotiation result is Gear1 and connection establishment starts to work, the Gear2 is not configured at the optimal rate, and the efficiency of data transmission in the actual application process is reduced. Based on the above-mentioned problems in the prior art, there is a need for a data transmission rate configuration negotiation method, system, terminal and medium for an on-vehicle serial deserializer, so that the serializer and the deserializer can establish a connection in a short time and operate in an optimal rate configuration.
Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, an object of the present application is to provide a negotiation method, system, terminal and medium for data transmission rate configuration of a serial deserializer, which are used for solving the problems that the negotiation time of the data transmission rate configuration between the existing vehicle-mounted serial deserializers is too long and the negotiation result may not be the optimal rate configuration.
To achieve the above and other related objects, a first aspect of the present application provides a data transmission rate configuration negotiation method of a serializer and deserializer, including configuring the serializer and the deserializer on respective supported highest rate configurations, reconfiguring the rate configurations of the serializer and the deserializer until connection is established if the serializer and the deserializer cannot establish connection after a start-up procedure, and determining a rate configuration negotiation result of the serializer and the deserializer according to a data header cyclic redundancy check result if the rate configuration of the deserializer is any one of a third rate configuration, a fourth rate configuration, and a fifth rate configuration after the connection is established by the serializer and the deserializer.
In some embodiments of the first aspect of the present application, the step of reconfiguring the rate configuration of the deserializer until a connection is established includes adjusting the rate configuration of the deserializer to a second rate configuration if the serializer and the deserializer cannot establish a connection after a start-up procedure and the rate configuration of the deserializer is any one of a third rate configuration, a fourth rate configuration and a fifth rate configuration, adjusting the rate configuration of the deserializer to a first rate configuration if the serializer and the deserializer cannot establish a connection after a start-up procedure and the rate configuration of the deserializer is a second rate configuration, and repeating the operation until the serializer and the deserializer establish a connection if the serializer and the deserializer cannot establish a connection after a start-up procedure and the rate configuration of the deserializer is a first rate configuration.
In some embodiments of the first aspect of the present application, the start-up procedure includes a training phase, and the step of reconfiguring the rate configuration of the deserializer until the connection is established is allocated to one start-up procedure, or is allocated to a plurality of start-up procedures, and the steps of reconfiguring the rate configuration of the deserializer until the connection is established are sequentially completed by the plurality of start-up procedures.
In some embodiments of the first aspect of the present application, the step of reconfiguring the rate configuration of the serializer until connection is established includes adjusting the rate configuration of the serializer to a second rate configuration if the serializer and the deserializer cannot establish connection after a start-up procedure and the rate configuration of the serializer is any one of a third rate configuration, a fourth rate configuration and a fifth rate configuration, adjusting the rate configuration of the serializer to a first rate configuration if the serializer and the deserializer cannot establish connection after a start-up procedure and the rate configuration of the serializer is a second rate configuration, and reporting an error and ending the negotiation procedure if the serializer and the deserializer cannot establish connection after a start-up procedure and the rate configuration of the serializer is the first rate configuration.
In some embodiments of the first aspect of the present application, after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is the third rate configuration and the cyclic redundancy check result of the data header is correct, the third rate configuration is used as the rate configuration negotiation result.
In some embodiments of the first aspect of the present application, after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of the fourth rate configuration and the fifth rate configuration and the cyclic redundancy check result of the data header is correct, the serializer and the deserializer exchange configuration information, and the highest rate configuration jointly supported by the serializer and the deserializer is used as a rate configuration negotiation result.
In some embodiments of the first aspect of the present application, after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, and the cyclic redundancy check result of the data header is an error, the third rate configuration is used as a rate configuration negotiation result.
In some embodiments of the first aspect of the present application, after the serializer and the deserializer establish a connection and communicate normally for a period of time, if the rate configuration of the deserializer is any one of the fourth rate configuration and the fifth rate configuration, and the cyclic redundancy check result of the data header is an error multiple times, the third rate configuration is used as the negotiation result of the rate reconfiguration of the serializer and the deserializer.
To achieve the above object and other related objects, a second aspect of the present application provides a data transmission rate configuration negotiation system of a serializer and deserializer, including a serializer, a deserializer including a deserializer, the serializer and the deserializer being communicatively connected to each other, wherein the serializer and the deserializer are configured on respective supported highest rate configurations, if the serializer and the deserializer cannot establish a connection after a start-up procedure, the rate configurations of the serializer and the deserializer are reconfigured until a connection is established, and if the rate configuration of the deserializer is any one of a third rate configuration, a fourth rate configuration, and a fifth rate configuration after the connection is established, a rate configuration negotiation result of the serializer and the deserializer is determined according to a data header cyclic redundancy check result.
To achieve the above and other related objects, a third aspect of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method.
To achieve the above and other related objects, a fourth aspect of the present application provides an electronic terminal, including a processor and a memory, the memory storing a computer program, the processor being configured to execute the computer program stored in the memory, to cause the terminal to execute the method.
As described above, the data transmission rate configuration negotiation method, system, terminal and medium of the serial deserializer of the present application has the following beneficial effects:
The existing data transmission rate configuration negotiation method of the vehicle-mounted serial deserializer needs to carry out 5 rate configuration attempts at most on the deserializer side and the serializer side respectively, if the same configuration is not considered to be retried, and the serializer and the deserializer are considered jointly, the maximum need is that the negotiation of 25 times of data transmission rates can be realized, and the connection can be successfully established. According to the negotiation method, the rate configuration negotiation flow of the deserializer side is arranged in the training phase of the starting flow, so that the data transmission rates of the deserializer side and the deserializer side are tried for at most 1 time and 3 times respectively, the deserializer and the deserializer are considered jointly for only 3 times, the connection can be established successfully, the time consumed in the training phase in the starting flow of the method can be increased, but the overall negotiation efficiency is improved greatly, if the rate configuration negotiation flow of the deserializer side is arranged in different starting flows, the data transmission rates of the deserializer side and the deserializer side are tried for at most 3 times and 3 times respectively, the deserializer and the deserializer are considered jointly for 9 times, the connection can be established successfully, the time consumed in the training phase in the starting flow of the method is kept unchanged, and the overall negotiation times are reduced greatly. Compared with the prior art, the application can effectively shorten the time of entering the service state of the serializer and the deserializer, and improve the negotiation efficiency of the data transmission rate configuration. Further, in order to solve the problem that in the prior art, the serial de-serializer is still likely to be in the non-optimal rate configuration after establishing connection, the application adjusts the rate configuration by adopting a method of negotiating from the highest rate to the lowest rate round at the serial side and the de-serializer side, and judges the data transmission condition through the result of cyclic redundancy check of the data header in the data transmission process after establishing connection under specific conditions, thereby ensuring that the final rate configuration negotiated by the serial and the de-serializer is the optimal configuration so as to ensure the operation quality after establishing connection by the serial and the de-serializer.
Drawings
FIG. 1 shows a schematic information diagram of the Gear1 to Gear5 rate configuration of the present application.
Fig. 2 shows possible levels of symbols for different Gear codes according to the application.
Fig. 3 is a schematic diagram showing a data structure transmitted by the serializer and the deserializer according to the present application.
Fig. 4 shows a schematic diagram of the corresponding encoding scheme of the header bytes h1-h7 of the data frame according to the present application according to the different SCMax (maximum supported partial constellation).
Fig. 5 shows a serial and de-serial start-up flow diagram of the present application.
Fig. 6 is a flowchart illustrating a data transmission rate configuration negotiation method of a serializer-deserializer according to an embodiment of the application.
Fig. 7 is a schematic diagram of a rate configuration negotiation flow of a deserializer according to an embodiment of the application.
Fig. 8 is a schematic diagram of a rate configuration negotiation flow of a serializer according to an embodiment of the application.
Fig. 9 is a schematic diagram showing a configuration of a data transmission rate configuration negotiation apparatus of a serializer-deserializer according to an embodiment of the application.
Fig. 10 is a schematic structural diagram of an electronic terminal according to an embodiment of the application.
Detailed Description
Other advantages and effects of the present application will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present application with reference to specific examples. The application may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present application. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and/or "including" specify the presence of stated features, operations, elements, components, items, categories, and/or groups, but do not preclude the presence, presence or addition of one or more other features, operations, elements, components, items, categories, and/or groups. The terms "or" and/or "as used herein are to be construed as inclusive, or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of A, B, C, A and B, A and C, B and C, A, B and C". An exception to this definition will occur only when a combination of elements, functions or operations are in some way inherently mutually exclusive.
In order to solve the problems in the prior art, the invention provides a data transmission rate configuration negotiation method, a system, a terminal and a medium for a serial deserializer, which aim to solve the problems that the negotiation time of the data transmission rate configuration between the existing vehicle-mounted serial deserializers is too long and the negotiation result may not be optimally configured. Meanwhile, in order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be further described in detail by the following examples with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Before explaining the present invention in further detail, terms and terminology involved in the embodiments of the present invention will be explained, and the terms and terminology involved in the embodiments of the present invention are applicable to the following explanation:
<1> a serializer/deserializer (SerDes), which is an integrated circuit or device used in high-speed communication, for converting between serial data and parallel interfaces in two directions. SerDes are used in a variety of applications and technologies, the primary purpose of which is to provide data transfer over a single or differential line by reducing the number of I/O pins and connections. In short, it converts parallel data into serial data so that they can be transmitted over media that do not support parallel data, or uses it to save bandwidth.
<2> MIPI A-PHY v1.0, a MIPI A-PHY v1.0 physical layer communication protocol developed by the Mobile industry processor interface (Mobile Industry Processor Interface abbreviated MIPI) alliance, is mainly used for serializer-deserializer (SerDes) physical layer specification for automotive applications.
<3> Cyclic redundancy check (Cyclic Redundancy Check, CRC), a channel coding technique for generating a short fixed bit check code based on data such as network packets or computer files, is mainly used to detect or check errors that may occur after data transmission or storage. It uses the principle of division and remainder to make error detection.
For a better understanding of the present invention, some of the contents of the MIPI a-PHY v1.0 physical layer communication protocol are listed herein:
The aphv 1.0 standard specifies different data rate levels in section Gears, see fig. 1.
The English portion of FIG. 1 is explained here as follows:
gear rate configuration
Rate data Rate
Mandarin Mandatory
Optional optional force
Modulation scheme
Symbol Rate
Net Application Data Rate net application data rate
Packet Error Rate packet error rate
Taking as an example the data rate that must be supported:
Gear 1, data rate 2Gbps, NRZ (non return to zero) coding, 8b10b coding, symbol rate 2GBaud;
gear2, the data rate is 4Gbps, NRZ coding is adopted, 8b10b coding is adopted at the same time, and the symbol rate is 4GBaud;
Gear3, data rate of 8Gbps, PAM (pulse amplitude modulation) 4 coding, symbol rate of 4GBaud;
Gear4, the data rate is 8Gbps, PAM8 coding is adopted, and the symbol rate is 4GBaud;
Gear5, data rate 16Gbps, PAM16 coding, symbol rate 4GBaud.
The 5 data rate steps described above can be divided into two groups:
PAM group including Gear3, gear4 and Gear5;
NRZ group including Gear1 and Gear2.
The APHYv1.0 standard requires that the data transfer rate configuration be downward compatible, e.g., that Gear3 is supported, and that both Gear2 and Gear1 must be supported. This ensures that the serializer and deserializer can operate on a commonly supported Gear. For example, the serializer supports the Gear3 at the highest, the deserializer supports the Gear2 at the highest, the serializer and the deserializer can work at the Gear1 or the Gear2, and of course, in this case, the Gear2 is the optimal configuration, so that the data transmission rate of the serializer and the deserializer can be maximized.
The APHY v1.0 standard defines the possible levels of symbols at different Gear encodings in the PAM16 Sub-Constellation Bit to Symbol mappinG section, see FIG. 2.
The n subscript of SCX n in the figure indicates the complete number of constellation levels, n=16 in APHY and x indicates the partial number of constellation levels.
Gear5 is supported maximally to SC16 16, i.e. PAM16 coding, but other codes lower than SC16 16 may be used, such as SC2 16 (NRZ coding), SC4 16 (PAM 4 coding), SC8 16 (PAM 8 coding), etc.
PAM16 has 16 different levels in total, which can represent 4 bits;
PAM8 has 8 different levels in total, and can represent 3 bits;
PAM4 has a total of 4 different levels and can represent 2 bits.
NRZ encoding has 2 levels in total, representing 1 bit.
The APHYv1.0 standard defines the data frame format for APHY delivery in section A-Packet to Token Conversion, see FIG. 3.
The English portion of FIG. 3 is explained here as follows:
Older first
Newer back of
A-Packet data Packet
Packet Partioning packet partitioning
Fixed part constellation for each link of Fixed Sub-Constellation Per Link
Same Sub-Constellation for payload data and CRC-32bytes based on Header carried
The information payload data and the CRC-32 bytes use the same partial constellation, which is carried based on the packet header
Information of tape
Byte Stream
In the figure, the frame structure is shown to contain a header of 8 bytes (h 0-h 7), a payload, and a trailer CRC-32 check.
Wherein the header h0 is encoded with SC2 16, providing the highest reliability to this portion of data.
The heads h1-h7 are coded according to the different SCMax (maximum supported partial constellation) in the corresponding coding scheme of fig. 4:
the English portion of FIG. 4 is explained here as follows:
Max Sub-Constellation maximum supported partial Constellation
Partial Constellation supported by Header Sub-Constellation Header
In Gear5 mode SCMax is SC16 16, the head h1-h7 parts are encoded by SC4 16;
In Gear4 mode SCMax is SC8 16, and heads h1-h7 are encoded with SC4 16;
In Gear3 mode SCMax is SC4 16, and heads h1-h7 are encoded with SC2 16.
The payload and trailer are encoded differently than the header, the encoding of which is specified in the h1 field.
The process of serializer and deserializer initiation is defined by aphv 1.0 in section Startup Procedure, see fig. 5.
The English portion of FIG. 5 is explained here as follows:
source Source
Sink groove, pit (endpoint)
Channel Solved & Descrambler Locked channel open and descrambler lock
IDLE DETECTED idle detection
Normal Detected Normal detection
Channel Solved & Clock Recovered channel is open and clock locked
Token/10b-Symbol Boundaries & Descrambler Locked marks/10 b-symbol boundary and the scratcher locks
Silent silence
Training without K sequences training but does not contain a K sequence
TRAINING WITH K sequences training and including K sequences
Idle
Normal
The serializer and deserializer are configured to enter this flow and eventually establish a connection or fail to establish a connection.
The beginning of this process is that the serializer enters the T state after detecting that there is no data transmission in the upstream channel, and then sends training data of a specific pattern generated by scrambler (scratcher) instead of framing data of the format of fig. 3;
The method comprises the steps that parameters of an equalizer and a clock data recovery circuit are adaptively updated by a deserializer, if clock data are recovered and locked, the equalizer can compensate attenuation, the deserializer enters a next state T, the deserializer sends specific data k-sequence (k sequence) to the serializer on an uplink channel, and the serializer is locked and synchronized on the uplink channel;
the serializer then sends the k-sequence to the deserializer, which thereby determines the boundary of a byte, the deserializer implements data synchronization, the deserializer enters the I state, and finally enters the N state via handshake. The serializer and deserializer transmit and receive framed data in the format of fig. 3 in the N state.
As shown in fig. 5, the serializer and deserializer start-up procedure, the scrambler training data sent by the serializer in the T state is identical for the original data sequence in any Gear configuration, and then mapped to the PAM group or NRZ group, and if it is the NRZ group, it is also required to go through the 8b10b coding process.
The serializer uses SC2 16 in the training phase under the configuration of PAM groups (Gear 3, gear4 and Gear 5), and meanwhile, the data sequences received by the receiving end of the deserializer are the same because the symbol rates are the same;
the serializer uses NRZ coding and 8b10b coding under the configuration of NRZ groups (Gear 1 and Gear 2), so that the data sequences received by the receiving end of the deserializer are the same, and the difference is only the data rate difference;
The serializer is different from the data transmitted in the PAM group configuration, because the data needs to be transmitted after 8b10b encoding in the NRZ group configuration.
Based on this, PAM groups and NRZ groups can be distinguished according to the final connection states of the serializer and the deserializer in the start-up procedure:
If the serializer works in any configuration of the PAM group, the de-scrambler (descrambler) in the deserializer can be synchronously locked with the received data when the deserializer works in any configuration of the PAM group, and if the deserializer works in any configuration of the NRZ group, the de-scrambler of the deserializer cannot be synchronously locked with the received data.
On the other hand, if the serializer works in any one of the NRZ groups, the synchronous locking between the descrambler of the deserializer and the received data cannot be realized when the deserializer works in any one of the PAM groups, and if the deserializer does not necessarily realize the synchronous locking between the descrambler of the deserializer and the received data when the deserializer works in any one of the NRZ groups, in this case, the synchronous locking can only be ensured when the deserializer is identical to the Gear of the serializer because the data rates of the Gear1 and the Gear2 are different (for example, the serializer and the deserializer are both the Gear1 or the Gear2 can be synchronously locked, otherwise).
The embodiment of the invention provides a data transmission rate configuration negotiation method of a serial de-serializer, a system of the data transmission rate configuration negotiation method of the serial de-serializer and a storage medium storing an executable program for realizing the data transmission rate configuration negotiation method of the serial de-serializer. In terms of implementation of a data transmission rate configuration negotiation method of a serial deserializer, an exemplary implementation scenario of a data transmission rate configuration negotiation method of a serial deserializer will be described.
Fig. 6 is a flow chart illustrating a data transmission rate configuration negotiation method of a serializer-deserializer according to an embodiment of the invention. The data transmission rate configuration negotiation method of the serial deserializer in the embodiment mainly comprises the following steps:
step S11, configuring the serializer and the deserializer on the highest rate configurations supported by each.
For example, if in a certain scenario, the highest rate supported by the serializer is configured as Gear4, the highest rate supported by the deserializer is configured as Gear5, in this scenario, the initial rate configuration of the serializer is set to Gear4, and the initial rate configuration of the deserializer is set to Gear5.
And step S12, if the serializer and the deserializer cannot establish connection after the startup flow, reconfiguring the rate configuration of the serializer and the deserializer until connection is established.
Specifically, after the initial rate configuration of the serializer and the deserializer is set, the method enters a starting process shown in fig. 5, after the starting process, only two results can appear, namely that the connection of the serializer and the deserializer is successful or the connection of the serializer and the deserializer fails, and if the connection of the serializer and the deserializer cannot be established after the starting process, the rate configuration of the serializer and the deserializer is reconfigured until the connection of the serializer and the deserializer is successful.
And S13, after the serializer and the deserializer establish connection, if the speed configuration of the deserializer is any one of the third speed configuration, the fourth speed configuration and the fifth speed configuration, determining a speed configuration negotiation result of the serializer and the deserializer according to a cyclic redundancy check result of the data head.
Specifically, if the serializer and the deserializer successfully establish a connection after the startup process (the first startup process is that the connection is successful or that the serializer and the deserializer are successfully connected after the reconfiguration), the possible configurations of the serializer and the deserializer are that Gear1 and Gear1, gear2 and Gear2, and any one of Gear3, gear4 and Gear 5. Under two rate configurations, gear1 and Gear2, the rate configuration when the serializer and deserializer successfully establish a connection is already the optimal rate configuration, and no further adjustment is needed. Under the collocation of any one of the Gear3, the Gear4 and the Gear5 and any one of the Gear3, the Gear4 and the Gear5, the serializer and the deserializer can successfully establish connection after the start-up flow, but the serializer and the deserializer may be respectively configured on different rate configurations, which detracts the data transmission efficiency.
Before the serializer and deserializer establish a communication connection, there is virtually no difference in Gear3, gear4, gear5, since the serializer and deserializer configuration can establish a connection at any two of the three, when the data is not being framed for transmission. When the communication connection is established, data is output according to the frame structure defined by the protocol. The frame head and the effective load, and the frame tail have a certain PAM code. The frame header h0 is identical in the Gear3, gear4 and Gear5 codes, and the frame headers h1 to h7 are identical in the Gear4 and Gear5 codes, but the Gear3 codes are different. Therefore, if one side of the serializer and deserializer is Gear4 or Gear5, and the other side is Gear3, in the process of transmitting the data frame after the connection is established, the cyclic redundancy check result of the data header is wrong.
Therefore, in order to make the serializer and the deserializer configured to the same rate configuration in this case, whether the serializer and the deserializer have the unreasonable data transmission rate configuration or not can be judged according to whether the cyclic redundancy check result of the data header is correct in the data transmission process, so that the optimal rate negotiation result of the serializer and the deserializer can be determined according to different conditions.
It should be noted that, the method in step S11 to step S13 may be directly applied to a serializer and a deserializer of an on-vehicle serial deserializer, where the rate configuration adjustment of the serializer and the deserializer is completed by a control module inside the serializer and the deserializer, or may be applied to an external control module communicatively connected to the serializer and the deserializer of the on-vehicle serial deserializer, where the rate configuration of the serializer and the deserializer is adjusted by the external control module according to the method of the present application.
In some implementations of step S12 of this embodiment, the step of reconfiguring the rate configuration of the deserializer until connection is established includes adjusting the rate configuration of the deserializer to the second rate configuration if the serializer and the deserializer cannot establish connection after the startup procedure and the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration and the fifth rate configuration, and repeating the operation until connection is established between the serializer and the deserializer if the serializer and the deserializer cannot establish connection after the startup procedure and the rate configuration of the deserializer is the second rate configuration.
Specifically, if the serializer and the deserializer cannot establish a connection after a start-up procedure, and the rate of the deserializer is configured to be any one of Gear3, gear4 and Gear5, it is indicated that the rate configuration of the serializer end is not any one of Gear3, gear4 and Gear5, otherwise the serializer and the deserializer can establish a connection, in this case, the rate configuration of the deserializer needs to be adjusted to be Gear2 and a reconnection is attempted, if the serializer and the deserializer cannot establish a connection after a start-up procedure, and the rate configuration of the deserializer is configured to be Gear2, it is indicated that the rate configuration of the serializer end is not Gear2, otherwise the serializer and the deserializer can establish a connection, in this case, the rate configuration of the deserializer needs to be adjusted to be Gear1, and a reconnection is attempted, if the serializer and the deserializer cannot establish a connection after a start-up procedure, and the rate configuration of the deserializer needs to be adjusted to be Gear1, otherwise the deserializer can be successfully reconfigured, and the connection is successfully established until the deserializer can successfully establish a connection, and the connection is successfully established.
In some implementations of this embodiment, the start-up procedure includes a training phase, and the step of reconfiguring the rate configuration of the deserializer until the connection is established is allocated to the training phase of one start-up procedure, or allocated to a plurality of start-up procedures, where the steps of reconfiguring the rate configuration of the deserializer until the connection is established are sequentially completed by the plurality of start-up procedures.
Specifically, after the serializer and the deserializer start the starting process, the serializer and the deserializer enter a training phase, and whether the training phase successfully and directly determines whether the serializer and the deserializer can establish connection or not. Therefore, in the same start-up procedure, if the training phase is not performed successfully, the rate configuration of the deserializer may be reconfigured after the training failure until the serializer and the deserializer pass through the training phase successfully and finally establish a connection. Further, since the step of reconfiguring the rate configuration of the deserializer until the connection is established may include a plurality of sub-steps, the sub-steps may be respectively arranged in a plurality of start-up flows to adapt to some special situations, for example, switching the rate configuration of the deserializer from Gear2 to Gear1 in the training phase requires reconfiguring the phase-locked loop, and at this time, the configuration of Gear1 requires an independent start-up flow.
For example, if the rate configuration of the deserializer needs to be switched from Gear4 to Gear1 in a certain scenario, the rate configuration switching process of the deserializer may be arranged in the training phase of the two start-up processes, specifically, in the training phase of the first start-up process, the serializer and the deserializer cannot successfully complete the training phase, the rate configuration of the deserializer is adjusted from Gear4 to Gear2 in the training phase to continue the training, the connection cannot be established between the serializer and the deserializer after the rate configuration is adjusted, and in the training phase of the second start-up process, the rate of the deserializer is configured to Gear1, and the connection state is verified again.
In some implementations of step S12 of this embodiment, the step of reconfiguring the rate configuration of the serializer until connection is established includes adjusting the rate configuration of the serializer to a second rate configuration if the serializer and the deserializer cannot establish connection after the start-up procedure and the rate configuration of the serializer is any one of a third rate configuration, a fourth rate configuration and a fifth rate configuration, adjusting the rate configuration of the serializer to a first rate configuration if the serializer and the deserializer cannot establish connection after the start-up procedure and the rate configuration of the serializer is a second rate configuration, and reporting an error by the serializer and ending the negotiation if the serializer and the deserializer cannot establish connection after the start-up procedure and the rate configuration of the serializer is the first rate configuration.
Specifically, if the serializer and the deserializer cannot establish a connection after the startup process, and the rate of the serializer is configured to be any one of Gear3, gear4 and Gear5, it is indicated that the rate of the deserializer is not configured to be any one of Gear3, gear4 and Gear5, otherwise the serializer and the deserializer can establish a connection, in this case, the rate of the serializer needs to be adjusted to be Gear2 and a reconnection is attempted, if the serializer and the deserializer cannot establish a connection after the startup process, and the rate of the serializer is configured to be Gear2, it is indicated that the rate of the deserializer is not configured to be Gear2, otherwise the serializer and the deserializer can establish a connection, in this case, the rate of the deserializer needs to be adjusted to be Gear1 and a reconnection is attempted, if the serializer and the deserializer cannot establish a connection after the startup process, and the rate of the serializer needs to be configured to be Gear1, it is indicated that the rate of the serializer is not configured to be Gear1, otherwise, an error negotiation can occur, and the serial negotiation is completed.
Further, to prevent missing possible connection opportunities, a retry operation for the same rate configuration is additionally set in the step of reconfiguring the rate configuration of the serializer until a connection is established. Specifically, a threshold value of a maximum retry number is set, if the serializer and the deserializer cannot establish connection after the startup process, and the rate of the serializer is configured to be any one of Gear3, gear4 and Gear5, if the retry same rate exceeds the threshold value, connection is not successfully established yet. And adjusting the speed configuration of the serializer to be Gear2, if the speed configuration of the serializer is still failed to be connected after being adjusted, retrying the speed configuration of the Gear2 until the retrying times reach a preset threshold value, and if the serializer and the deserializer still cannot establish connection after the retrying maximum times, adjusting the speed configuration of the serializer to be Gear1, and repeating the steps. It should be noted that if the rate configuration of the serializer is adjusted to Gear1 and the connection cannot be established after being reconfigured to the maximum retry number, which indicates that the negotiation process is wrong, the negotiation process of the serializer is ended and the error is reported.
In some implementations of step S13 of this embodiment, after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration, and the fifth rate configuration, and the cyclic redundancy check result of the data header is an error, the third rate configuration is used as a rate configuration negotiation result.
Specifically, after the serializer and the deserializer establish connection, if the rate of the deserializer is configured to be any one of Gear4 and Gear5, and the cyclic redundancy check result of the data header is an error, it indicates that one of the serializer and the deserializer is Gear3, and the other is Gear4 or Gear5, so that the situation that the cyclic redundancy check result of the header is an error after data transmission may occur. Therefore, in the foregoing case, gear3 is used as the rate configuration negotiation result of the serializer and the deserializer, so as to achieve the rate and quality maximization of the data transmission of the serializer and the deserializer. If the rate of the deserializer is configured as Gear3 and the data header crc result is an error, it indicates that one of the serializer and the deserializer is Gear4 or Gear5 and the other is Gear3, so that the situation that the header crc result is an error after data transmission may occur. The deserializer is configured at Gear3 at this time, which means that Gear3 is the highest rate configuration supported by the deserializer, and the deserializer can inform the serializer of its maximum supported rate through the uplink channel, so that the serializer adjusts the rate configuration to Gear3.
In some implementations of step S13 of this embodiment, after the serializer and the deserializer establish a connection and communicate normally for a period of time, if the rate configuration of the deserializer is any one of the fourth rate configuration and the fifth rate configuration, and the cyclic redundancy check result of the data header is an error multiple times, the third rate configuration is used as the rate reconfiguration negotiation result of the serializer and the deserializer.
Specifically, if the serializer and the deserializer are both Gear4 or Gear5, the connection state is poor, so that the cyclic redundancy check result of the header is error many times after data transmission. For example, although in some cases both serializer and deserializer operate at the highest rate configuration, i.e., gear5, the payload uses a higher constellation encoding scheme, which may result in a higher bit error rate, and often errors in the data cyclic redundancy check result. After the serializer and deserializer are simultaneously switched to Gear3, the data rate is reduced, although a lower constellation encoding scheme is used, but a stable connection at a low rate can be maintained. Therefore, in the foregoing case, gear3 is used as a renegotiation result of the rate configuration of the serializer and the deserializer to achieve the rate and quality maximization of the data transmission of the serializer and the deserializer.
In some implementations of step S13 of this embodiment, after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is the third rate configuration and the cyclic redundancy check result of the data header is correct, the third rate configuration is used as the rate configuration negotiation result.
Specifically, after the serializer and the deserializer establish connection, if the rate of the deserializer is configured to be Gear3 and the cyclic redundancy check result of the data header is correct, it indicates that both the serializer and the deserializer are both Gear3 at this time, so that the cyclic redundancy check result of the header is correct after data transmission, and at this time, the Gear3 is maintained as the rate configuration negotiation result of the serializer and the deserializer, so as to achieve the maximization of the rate and quality of the data transmission of the serializer and the deserializer.
In some implementation procedures of step S13 of this embodiment, after the serializer and the deserializer establish a connection, if the rate configuration of the deserializer is any one of the fourth rate configuration and the fifth rate configuration and the cyclic redundancy check result of the data header is correct, the serializer and the deserializer exchange configuration information, and the highest rate configuration supported by the serializer and the deserializer together is used as a rate configuration negotiation result.
Specifically, after the serializer and the deserializer establish connection, if the rate of the deserializer is configured to be any one of Gear4 and Gear5, and the cyclic redundancy check result of the data header is correct, it indicates that the two of the serializer and the deserializer are one of Gear4 and Gear5, so that the cyclic redundancy check result of the header is correct after data transmission, at this time, the serializer and the deserializer exchange configuration information, and the highest rate configuration supported by the both is used as the rate configuration negotiation result of the serializer and the deserializer, so as to achieve the maximization of the rate and quality of the data transmission of the serializer and the deserializer.
It should be noted that, compared with the data transmission rate configuration negotiation method of the conventional serial deserializer, although the rate configuration negotiation step of the deserializer end is arranged in a training stage of a start-up procedure, which may cause an increase in training time, the negotiation time of the overall rate configuration of the serial deserializer and the deserializer is greatly shortened compared with the conventional method. Specifically, assume that the time required for the entire start-up procedure is t, where the downlink training time is approximatelyIf multiple rate configuration attempts at the deserializer end are added into the training phase, the training phase takes about 40% more time, and the downlink training time is the following timeTaking the start-up procedure into account in its entirety, a start-up procedure takes about the time takenIt is considered that one start-up procedure increases by no more than 30% of the original one. In the whole, although the time of a single starting process is slightly increased, the total times of the starting process are greatly reduced, so that the connection efficiency of the serializer and the deserializer is effectively improved. If the rate configuration of the deserializer is arranged in a plurality of starting processes, the training time of a single starting process is not increased, and the total starting times are reduced. Compared with the prior art, the method has the advantages that compared with the condition that a plurality of rate configurations are arranged in one starting process, the starting times are increased, but compared with the prior art, the method has the advantages that 3 starting processes of the third rate, the fourth rate and the fifth rate are compressed into one starting process, and the starting process times can be greatly reduced. Furthermore, the conventional rate configuration negotiation method may cause that the serializer and the deserializer are not configured on the optimal rate configuration, and the method provided by the application can effectively configure the serializer and the deserializer on the same optimal rate configuration, thereby maximizing the data transmission efficiency of the vehicle-mounted serial deserializer.
Referring to fig. 9, an optional hardware structure diagram of a data transmission rate configuration negotiation terminal 900 of a serial deserializer according to an embodiment of the present invention may be shown, where the terminal 900 may be a mobile phone, a computer device, a tablet device, a personal digital processing device, a factory background processing device, etc. The data transmission rate configuration negotiation terminal 900 of the serializer/deserializer comprises at least one processor 901, a memory 902, at least one network interface 904 and a user interface 906. The various components in the system are coupled together by a bus system 905. It is appreciated that the bus system 905 is used to enable connected communications between these components. The bus system 905 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled as bus systems in fig. 9.
The user interface 906 may include, among other things, a display, keyboard, mouse, trackball, click gun, keys, buttons, touch pad, or touch screen, etc.
It is to be appreciated that the memory 902 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), a programmable Read Only Memory (PROM, programmable Read-Only Memory), which serves as an external cache, among others. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static Random Access Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory). The memory described by embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 902 in the embodiment of the present invention is used to store various kinds of data to support the operation of the data transmission rate configuration negotiation terminal 900 of the serializer. Examples of such data include any executable programs for operating on the data transmission rate configuration negotiation terminal 900 of the serializer, such as the operating system 9021 and the application programs 9022, and the operating system 9021 contains various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 9022 may include various applications such as a media player (MEDIA PLAYER), browser (Browser), etc. for implementing various application services. The data transmission rate configuration negotiation method for implementing the serializer and the deserializer provided by the embodiment of the invention can be included in the application 9022.
The method disclosed in the above embodiment of the present invention may be applied to the processor 901 or implemented by the processor 901. Processor 901 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 901 or instructions in the form of software. The Processor 901 may be a general purpose Processor, a digital signal Processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 901 may implement or perform the methods, steps and logic blocks disclosed in embodiments of the present invention. The general purpose processor 901 may be a microprocessor or any conventional processor or the like. The steps of the accessory optimization method provided by the embodiment of the invention can be directly embodied as the execution completion of the hardware decoding processor or the execution completion of the hardware and software module combination execution in the decoding processor. The software modules may be located in a storage medium having memory and a processor reading information from the memory and performing the steps of the method in combination with hardware.
In an exemplary embodiment, the data transmission rate configuration negotiation terminal 900 of the serializer may be used by one or more Application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs, programmable Logic Device), complex programmable logic devices (CPLDs, complex Programmable LogicDevice) for performing the aforementioned methods.
Fig. 10 is a schematic diagram showing a data transmission rate configuration negotiation system of a serializer-deserializer according to an embodiment of the present invention. In this embodiment, the data transmission rate configuration negotiation system 1000 of the serializer and deserializer includes:
The serial module 1001 and the deserializer module 1002 are configured to configure the serializer and the deserializer on the highest rate configuration supported by the serializer and the deserializer, if the serializer and the deserializer cannot establish connection after the startup process, the rate configuration of the serializer and the deserializer is reconfigured until connection is established, and after the connection is established, if the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration and the fifth rate configuration, the rate configuration negotiation result of the serializer and the deserializer is determined according to the cyclic redundancy check result of the data header, wherein the serial module and the deserializer are in communication connection.
It should be noted that, when the data transmission rate configuration negotiation system of the serializer and the deserializer provided in the foregoing embodiment performs the data transmission rate configuration negotiation of the serializer and the deserializer, only the division of the program modules is used for illustration, in practical application, the processing allocation may be completed by different program modules according to the need, that is, the internal structure of the system is divided into different program modules, so as to complete all or part of the processing described above. In addition, the data transmission rate configuration negotiation system of the serializer and the data transmission rate configuration negotiation method of the serializer provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of implementing the method embodiments described above may be performed by computer program related hardware. The aforementioned computer program may be stored in a computer readable storage medium. The program, when executed, performs the steps comprising the method embodiments described above, and the storage medium described above includes various media capable of storing program code, such as ROM, RAM, magnetic or optical disk.
In the embodiments provided herein, the computer-readable storage medium may include read-only memory, random-access memory, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory, U-disk, removable hard disk, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. In addition, any connection is properly termed a computer-readable medium. For example, if the instructions are transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. It should be understood, however, that computer-readable and data storage media do not include connections, carrier waves, signals, or other transitory media, but are intended to be directed to non-transitory, tangible storage media. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital Versatile Disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
In summary, the present application provides a method, a system, a terminal, and a medium for negotiating data transmission rate configuration of a serial deserializer, which provides a method for improving negotiating efficiency of data transmission rate configuration of a serial deserializer, and solves the problems that negotiating time of data transmission rate configuration between existing vehicle-mounted serial deserializers is too long and negotiating results may not be optimal rate configuration. Therefore, the application effectively overcomes various defects in the prior art and has high industrial utilization value.
The above embodiments are merely illustrative of the principles of the present application and its effectiveness, and are not intended to limit the application. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the application. Accordingly, it is intended that all equivalent modifications and variations of the application be covered by the claims, which are within the ordinary skill of the art, be within the spirit and scope of the present disclosure.

Claims (7)

1. A data transmission rate configuration negotiation method of a serial deserializer, comprising:
configuring the serializer and the deserializer on the highest rate configuration supported by each;
If the serializer and the deserializer cannot establish connection after the startup flow, reconfiguring the rate configuration of the serializer and the deserializer until connection is established;
after the serializer and the deserializer establish connection, if the rate configuration of the deserializer is any one of the third rate configuration, the fourth rate configuration and the fifth rate configuration, determining a rate configuration negotiation result of the serializer and the deserializer according to a cyclic redundancy check result of the data header;
After the connection is established, if the rate of the deserializer is configured to be the third rate configuration and the cyclic redundancy check result of the data header is correct, the third rate configuration is used as a rate configuration negotiation result, after the connection is established, if the rate of the deserializer is configured to be any one of the fourth rate configuration and the fifth rate configuration and the cyclic redundancy check result of the data header is correct, the serializer and the deserializer exchange configuration information, the highest rate configuration jointly supported by the serializer and the deserializer is used as a rate configuration negotiation result, and after the connection is established, if the rate of the deserializer is configured to be any one of the third rate configuration, the fourth rate configuration and the fifth rate configuration and the cyclic redundancy check result of the data header is incorrect, the third rate configuration is used as a rate configuration negotiation result, and after the connection is established for a period of normal communication, if the rate of the deserializer is configured to be any one of the fourth rate configuration, the fifth rate configuration and the cyclic redundancy check result of the deserializer is used as a plurality of rate configuration of the data header.
2. The data transmission rate configuration negotiation method of a serial deserializer according to claim 1, wherein said step of reconfiguring the rate configuration of the deserializer until a connection is established comprises:
If the serializer and the deserializer cannot establish connection after the starting process, and the speed configuration of the deserializer is any one of the third speed configuration, the fourth speed configuration and the fifth speed configuration, the speed configuration of the deserializer is adjusted to the second speed configuration;
if the serializer and the deserializer cannot establish connection after the starting process, and the speed configuration of the deserializer is the second speed configuration, the speed configuration of the deserializer is adjusted to the first speed configuration;
if the serializer and the deserializer cannot establish connection after the start-up flow, and the speed configuration of the deserializer is the first speed configuration, repeating the operations from the fifth speed configuration, the fourth speed configuration, the third speed configuration, the second speed configuration and the first speed configuration until the serializer and the deserializer establish connection.
3. The method for negotiating data transmission rate configuration of a serializer/deserializer according to claim 2, wherein,
The starting process comprises a training stage, wherein the step of reconfiguring the rate configuration of the deserializer until the connection is established is distributed to the training stage of one starting process, or distributed to a plurality of starting processes, and the steps of reconfiguring the rate configuration of the deserializer until the connection is established are sequentially completed by the plurality of starting processes.
4. The data transmission rate configuration negotiation method of a serializer-deserializer according to claim 1, wherein said step of reconfiguring the rate configuration of said serializer until a connection is established comprises:
If the serializer and the deserializer cannot establish connection after the start-up flow, and the speed configuration of the serializer is any one of the third speed configuration, the fourth speed configuration and the fifth speed configuration, the speed configuration of the serializer is adjusted to be the second speed configuration;
If the serializer and the deserializer cannot establish connection after the starting process, and the rate configuration of the serializer is the second rate configuration, the rate configuration of the serializer is adjusted to be the first rate configuration;
if the serializer and the deserializer cannot establish connection after the startup process, and the rate of the serializer is configured to be the first rate, the serializer reports errors and ends the negotiation process.
5. A data transmission rate configuration negotiation system for a serial deserializer, comprising:
a serializer module including a serializer;
The deserializing module comprises a deserializer;
The serial module and the deserializing module are in communication connection;
the method comprises the steps of configuring a serializer and a deserializer, wherein the serializer and the deserializer are configured on the highest rate configuration supported by the serializer and the deserializer respectively, if the serializer and the deserializer cannot establish connection after a starting process, reconfiguring the rate configuration of the serializer and the deserializer until the connection is established, and after the connection is established by the serializer and the deserializer, determining the rate configuration negotiation result of the serializer and the deserializer according to a cyclic redundancy check result of a data head if the rate configuration of the deserializer is any one of a third rate configuration, a fourth rate configuration and a fifth rate configuration;
After the connection is established, if the rate of the deserializer is configured to be the third rate configuration and the cyclic redundancy check result of the data header is correct, the third rate configuration is used as a rate configuration negotiation result, after the connection is established, if the rate of the deserializer is configured to be any one of the fourth rate configuration and the fifth rate configuration and the cyclic redundancy check result of the data header is correct, the serializer and the deserializer exchange configuration information, the highest rate configuration jointly supported by the serializer and the deserializer is used as a rate configuration negotiation result, and after the connection is established, if the rate of the deserializer is configured to be any one of the third rate configuration, the fourth rate configuration and the fifth rate configuration and the cyclic redundancy check result of the data header is incorrect, the third rate configuration is used as a rate configuration negotiation result, and after the connection is established for a period of normal communication, if the rate of the deserializer is configured to be any one of the fourth rate configuration, the fifth rate configuration and the cyclic redundancy check result of the deserializer is used as a plurality of rate configuration of the data header.
6. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method of any of claims 1 to 4.
7. An electronic terminal is characterized by comprising a processor and a memory;
the memory is used for storing a computer program;
The processor is configured to execute the computer program stored in the memory, so as to cause the terminal to perform the method according to any one of claims 1 to 4.
CN202211124576.XA 2022-09-15 2022-09-15 Data transmission rate configuration negotiation method, system, terminal and medium for serial deserializer Active CN115499100B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211124576.XA CN115499100B (en) 2022-09-15 2022-09-15 Data transmission rate configuration negotiation method, system, terminal and medium for serial deserializer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211124576.XA CN115499100B (en) 2022-09-15 2022-09-15 Data transmission rate configuration negotiation method, system, terminal and medium for serial deserializer

Publications (2)

Publication Number Publication Date
CN115499100A CN115499100A (en) 2022-12-20
CN115499100B true CN115499100B (en) 2025-02-28

Family

ID=84468731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211124576.XA Active CN115499100B (en) 2022-09-15 2022-09-15 Data transmission rate configuration negotiation method, system, terminal and medium for serial deserializer

Country Status (1)

Country Link
CN (1) CN115499100B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546229A (en) * 2012-07-09 2014-01-29 中兴通讯股份有限公司 Serdes rate matching method and device
CN103823784A (en) * 2014-03-24 2014-05-28 上海航天电子通讯设备研究所 FC-AE-1553 bus controller based on FPGA

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7684477B1 (en) * 2005-12-20 2010-03-23 Altera Corporation Multi-protocol low latency automatic speed negotiation architecture for an embedded high speed serial interface in a programmable logic device
US8051338B2 (en) * 2007-07-19 2011-11-01 Cray Inc. Inter-asic data transport using link control block manager
US8832336B2 (en) * 2010-01-30 2014-09-09 Mosys, Inc. Reducing latency in serializer-deserializer links
CN108924477B (en) * 2018-06-01 2021-06-01 北京图森智途科技有限公司 A long-distance video processing method and system, and video processing equipment
US10693568B2 (en) * 2018-07-27 2020-06-23 Advantest Corporation Adapting serdes receivers to a UFS receiver protocol
CN114153762B (en) * 2021-11-05 2023-07-18 苏州浪潮智能科技有限公司 Serdes multi-rate dynamic reconfiguration system and a field programmable gate array

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546229A (en) * 2012-07-09 2014-01-29 中兴通讯股份有限公司 Serdes rate matching method and device
CN103823784A (en) * 2014-03-24 2014-05-28 上海航天电子通讯设备研究所 FC-AE-1553 bus controller based on FPGA

Also Published As

Publication number Publication date
CN115499100A (en) 2022-12-20

Similar Documents

Publication Publication Date Title
US20160261375A1 (en) Packet format and coding method for serial data transmission
CN101964705A (en) Communication device, communication system, communication method, communication program and communication circuit
CN108733608B (en) USB link bridge
CN112286853B (en) FPGA system supporting multiple protocols and data processing method
US20240427724A1 (en) Spread spectrum clock negotiation method, and peripheral component interconnect express device and system
JP4815559B2 (en) Synchronous receiver
CN107066418A (en) A kind of SATA protocol power-up initializing control method and controller based on FPGA
US20020199051A1 (en) Transmitting and receiving circuit and transmitting and receiving method
US7865803B2 (en) Method for processing noise interference in data accessing device with serial advanced technology attachment (SATA) interface
CN115499100B (en) Data transmission rate configuration negotiation method, system, terminal and medium for serial deserializer
JP2002101084A (en) Method for synchronizing serial data and system for the same
CN101112069B (en) Communication device, communication system, communication method, communication circuit
CN117083820A (en) Data transmission method, communication equipment and system
CN101304296A (en) Network device and transmission method thereof
CN117493248A (en) USB data transmission method, device, system, electronic equipment and storage medium
CN113381836B (en) Line coding method and device
US8214716B2 (en) Method for processing noise interference in data accessing device with serial advanced technology attachment interface
US20060187960A1 (en) Network interface and computing system including the same
WO2021249260A1 (en) Data transmission method and apparatus, circuit board, storage medium and electronic apparatus
CN113835335B (en) Clock synchronization method and system based on optical unidirectional transmission
CN108024149A (en) TCON plates and its method to SoC chip transmission signal, television set
JP5532030B2 (en) Data communication method and data communication apparatus
US20250267045A1 (en) Link equalization training method for mobile device
WO2006080403A1 (en) Communication device, communication system, communication method, communication program, and communication circuit
CN118264359A (en) Data transmission method, device, electronic device and computer program product

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