A data transmission method, device, radio frequency serial interface and storage medium

By realizing the initialization and timing control of the data sending and receiving modules in the RF serial interface, the problem of lack of timing control in the JESD204 protocol is solved, and the efficiency and reliability of data transmission are improved.

CN115733706BActive Publication Date: 2024-11-08MORNINGCORE HLDG CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202111011165.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-31
Publication Date
2024-11-08
Estimated Expiration
2041-08-31

AI Technical Summary

Technical Problem

The lack of timing control requirements for data reception and transmission in the JESD204 protocol standard, which leads to difficulties in the RF serial interface in data transmission and reception, affecting the efficiency and reliability of data transmission.

Method used

The timing control of data transmission is ensured by implementing the initialization of the data transmission and reception module, repeated bit sequence transmission, synchronization signal acquisition and configuration information adjustment data frame format in the RF serial interface.

Benefits of technology

It effectively solves the problem of difficulty in data transmission and reception timing control of RF serial interface data, and improves the real-time and reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115733706B_ABST
    Figure CN115733706B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a data transmission method, device, radio frequency serial interface and storage medium. The method includes: initializing the first radio frequency serial interface; when the current mode is the transmission mode, enabling the first transmission module in the first radio frequency serial interface; repeatedly transmitting the bit sequence through the first transmission module; after obtaining the synchronization signal, transmitting configuration information, the synchronization signal is triggered based on the bit sequence, and the configuration information is used to adjust the data frame format; transmitting data. The method solves the technical problem of the difficulty of controlling the data transmission and reception of the existing radio frequency serial interface, can realize the effective timing control of the data transmission and reception of the radio frequency serial interface, facilitates the development of the radio frequency serial interface, and thus improves the real-time and reliability of the interface data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of data transmission processing, and in particular to a data transmission method, device, radio frequency serial interface and storage medium. Background Art

[0002] Data transmission refers to the process of transferring data between a data source and a data sink via one or more links according to appropriate procedures. For example, data transmission between a converter and a processor can be achieved through a data transmission interface.

[0003] To meet the ever-increasing bandwidth demands of higher-bandwidth converters, RF serial interfaces, such as JESD204, are currently the most commonly used data transmission interfaces. JESD204 is a high-speed RF serial interface based on the JESD204 protocol standard. Compared to traditional parallel low-voltage differential signaling (LVDS) and complementary metal oxide semiconductor (CMOS) interfaces, it offers advantages such as faster transmission speeds and fewer pins, making it ideal for high-speed data transmission in data acquisition systems.

[0004] However, although the JESD204 protocol standard describes the synchronization between interfaces and the method of data transmission, it does not provide the timing control requirements for data reception and transmission (i.e., data transmission and reception). This makes the timing control of data transmission and reception difficult during the development of the JESD204 interface. Summary of the Invention

[0005] The embodiments of the present invention provide a data transmission method, device, radio frequency serial interface and storage medium, which realize effective timing control of radio frequency serial interface data transmission and reception, facilitate the development of radio frequency serial interface, and thus improve the efficiency and reliability of interface data transmission.

[0006] In a first aspect, an embodiment of the present invention provides a data transmission method, applied to a first radio frequency serial interface, comprising:

[0007] Initializing the first radio frequency serial interface;

[0008] When the current mode is transmitting, enabling the first transmitting module in the first radio frequency serial interface;

[0009] Repeatedly sending a bit sequence through the first sending module;

[0010] After acquiring the synchronization signal, sending configuration information, wherein the synchronization signal is triggered based on the bit sequence, and the configuration information is used to adjust the data frame format;

[0011] Send data.

[0012] In a second aspect, an embodiment of the present invention further provides a data transmission method, applied to a second radio frequency serial interface, comprising:

[0013] Initializing the second radio frequency serial interface;

[0014] When the current mode is receiving, enabling a receiving module in the second radio frequency serial interface;

[0015] Acquiring a bit sequence through the receiving module;

[0016] performing a recovery operation in response to the acquired bit sequence;

[0017] After continuously acquiring a set number of the bit sequences, triggering a synchronization signal;

[0018] Acquire configuration information, and adjust the data frame format based on the configuration information, so that the adjusted data frame format is consistent with the data frame format of the first radio frequency interface sending module;

[0019] Get the data.

[0020] In a third aspect, an embodiment of the present invention further provides a data transmission device, configured on a first radio frequency serial interface, comprising:

[0021] A first interface initialization module, configured to initialize the first radio frequency serial interface;

[0022] A first enabling module, configured to enable a first transmitting module in the first RF serial interface when the current mode is transmitting;

[0023] a bit sequence sending module, configured to repeatedly send a bit sequence through the first sending module;

[0024] a configuration information sending module, configured to send configuration information after acquiring a synchronization signal, wherein the synchronization signal is triggered based on the bit sequence, and the configuration information is used to adjust a data frame format;

[0025] The data sending module is used to send data.

[0026] In a fourth aspect, an embodiment of the present invention further provides a data transmission device, configured on a second radio frequency serial interface, comprising:

[0027] A second interface initialization module, configured to initialize the second radio frequency serial interface;

[0028] A second enabling module, configured to enable a receiving module in the second RF serial interface when the receiving mode is currently selected;

[0029] A bit sequence acquisition module, configured to acquire a bit sequence through the receiving module;

[0030] A recovery module, configured to perform a recovery operation in response to the acquired bit sequence;

[0031] A synchronization signal triggering module, configured to trigger a synchronization signal after continuously acquiring a set number of the bit sequences;

[0032] a configuration information acquisition module, configured to acquire configuration information and adjust a data frame format based on the configuration information, wherein the adjusted data frame format is consistent with a data frame format of the first radio frequency interface sending module;

[0033] The data acquisition module is used to acquire data.

[0034] In a fifth aspect, an embodiment of the present invention further provides a radio frequency serial interface, including:

[0035] one or more processors;

[0036] a storage device for storing one or more programs;

[0037] The one or more programs are executed by the one or more processors, so that the one or more processors implement the data transmission method provided by the embodiment of the present invention.

[0038] In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the data transmission method provided by an embodiment of the present invention.

[0039] Embodiments of the present invention provide a data transmission method, apparatus, radio frequency serial interface, and storage medium. The method first initializes a first radio frequency serial interface; second, when the interface is in transmit mode, enables a first transmit module within the first radio frequency serial interface and repeatedly transmits a bit sequence through the first transmit module; then, after acquiring a synchronization signal, transmits configuration information, the synchronization signal being triggered based on the bit sequence, and the configuration information being used to adjust the data frame format; and finally, transmits the data. This embodiment solves the technical problem of the difficulty in controlling data transmission and reception in existing radio frequency serial interfaces, enables effective timing control of data transmission and reception in the radio frequency serial interface, facilitates the development of radio frequency serial interfaces, and thereby improves the real-time performance and reliability of interface data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1A A schematic diagram of a JESD204B interface layer specification and a basic data flow block diagram provided in Example 1 of the present invention;

[0041] Figure 1BA schematic diagram of the basic architecture of a JESD204B interface protocol standard provided in Example 1 of the present invention;

[0042] Figure 1C A schematic diagram of a block diagram of a JESD204B interface provided in a first embodiment of the present invention for data transmission between a processor and a converter;

[0043] Figure 2 A schematic diagram of a data transmission method according to the first embodiment of the present invention;

[0044] Figure 3 A schematic diagram of timing control for parameter reconfiguration provided in the first embodiment of the present invention;

[0045] Figure 4 A schematic diagram of a data transmission method according to a second embodiment of the present invention;

[0046] Figure 5 A schematic diagram of low-power timing control provided by the second embodiment of the present invention;

[0047] Figure 6 A schematic diagram of another low-power timing control method provided by the second embodiment of the present invention;

[0048] Figure 7 A flowchart of a data transmission method provided in Embodiment 3 of the present invention;

[0049] Figure 8 A schematic diagram of data transmission and reception timing control provided in the third embodiment of the present invention;

[0050] Figure 9 A schematic structural diagram of a data transmission device provided in a fourth embodiment of the present invention;

[0051] Figure 10 A schematic structural diagram of a data transmission device provided in Embodiment 5 of the present invention;

[0052] Figure 11 This is a structural diagram of a radio frequency serial interface provided in Example 6 of the present invention. DETAILED DESCRIPTION

[0053] The present invention will be further described in detail below with reference to the accompanying drawings and examples. It will be understood that the specific embodiments described herein are intended only to illustrate the present invention and are not intended to limit the present invention. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to the present invention, not all structures.

[0054] It should be mentioned before discussing exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although flow charts describe various operations (or steps) as sequential processes, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of various operations can be rearranged. When its operation is completed, the process can be terminated, but can also have additional steps not included in the accompanying drawings. The process can correspond to methods, functions, procedures, subroutines, subprograms, etc. In addition, the features in the embodiments of the present invention and the embodiments can be combined with each other without conflict.

[0055] The term "including" and its variations used in the present invention are open inclusions, that is, "including but not limited to." The term "based on" means "based at least in part on." The term "one embodiment" means "at least one embodiment."

[0056] It should be noted that the concepts such as "first" and "second" mentioned in the present invention are only used to distinguish the corresponding contents, and are not used to limit the order or mutual dependence.

[0057] It should be noted that the modifications of "one" and "multiple" mentioned in the present invention are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0058] Example 1

[0059] High-speed data transmission between the converter and the processor (Logic Device) can be achieved through a data transmission interface. As demand for data transmission efficiency continues to increase, data transmission interfaces are constantly improving. Currently, RF serial interfaces, such as the JESD204 interface, are commonly used. The JESD204 interface undergoes continuous iterations based on protocol standard changes and is currently updated to version B, namely, the JESD204B interface.

[0060] Figure 1A A schematic diagram of a JESD204B interface layer specification and a basic block diagram of data flow provided in Example 1 of the present invention. Figure 1AAs shown in the figure, TX represents the data transmitting end of the interface, which is used for data generation; RX represents the data receiving end of the interface, which can be used for data processing; SYSREF represents a system reference signal defined by the protocol standard within the JESD204B interface, which can be used to provide a reference base time for data transmission and reception of the interface; SYNC represents a synchronization signal, which can be used by the data receiving end RX to transmit the synchronization signal to the data transmitting end TX, and coordinate with the system reference signal to achieve the working synchronization of data transmission and reception of the interface; Device Clock represents the device clock, which can be used to provide an external working clock for the interface as a driving source to drive the various parts of the interface to start working. The JESD204B interface is mainly divided into the transport layer, link layer and physical layer. Among them, the transport layer mainly operates on the format of the transmitted and received data, such as data framing operations on the TX end and corresponding data deframing operations on the RX end. The link layer can be used to complete 8b / 10b encoding and decoding, multi-frame synchronization, and link alignment operations; such as data scrambling at the TX end (this step is optional, such as scrambling or not), calibration character generation, and 8b / 10b encoding operations; and data descrambling at the RX end (optional, if the data at the TX end is scrambled, the corresponding data at the TX end is descrambled), calibration character (i.e., bit sequence) monitoring, and 8b / 10b decoding operations. The physical layer can be used to implement serial-to-parallel / parallel-to-serial conversion (i.e., serial data is converted to parallel data / parallel data is converted to serial data) and to send and receive data at a certain rate; such as including parallel-to-serial conversion and a transmitter at the TX end, and including parallel-to-serial conversion and a receiver at the RX end. Figure 1A As shown in FIG, a high-speed serial channel is formed between the TX end and the RX end of the JESD204B interface, which can be used for high-speed data transmission.

[0061] Figure 1B This is a schematic diagram of the basic architecture of the JESD204B interface protocol standard provided in Example 1 of the present invention. Figure 1B As shown, the JESD204B interface is divided into two parts: TX and RX. These parts can be controlled independently and can also transmit and receive data simultaneously. In both TX and RX, the transport layer and link layer functions are implemented in the controller (CTL); transmitter and receiver functions are implemented in the physical layer (PHY). SERDOUT represents the output of the TX end, and SERDIN represents the input of the RX end. In the TX part, the CTL sends data to the PHY; in the RX part, the CTL receives data from the PHY in the TX part and passes it to its own PHY for further processing.

[0062] Figure 1C A schematic diagram of a block diagram of a JESD204B interface provided in the first embodiment of the present invention for data transmission between a processor and a converter. Figure 1C As shown, the processor and the converter can transmit data to each other through the JESD204B interface. Figure 1C The structural block diagrams of the JESD204BRX and JESD204B TX sections corresponding to the converter are the same as those in the processor and are therefore not shown in the figure. When the processor acts as the data TX terminal and the converter acts as the data RX terminal, the corresponding system reference signal is SYSREF0, and the corresponding synchronization signal is SYNC0. When the converter acts as the data transmitter and the processor acts as the data receiver, the corresponding system reference signal is SYSREF1, and the corresponding synchronization signal is SYNC1. SERIAL IF indicates that the signal between the PHYs at the TX and RX terminals is a serial signal. It should be noted that the process of the processor sending data to the converter as the data TX terminal and the process of the converter sending data to the processor as the TX terminal can be performed simultaneously and independently without interfering with each other.

[0063] On this basis, an embodiment of the present invention proposes a data transmission method, which adds a timing control part for data transmission and reception and a low power consumption mode to the radio frequency serial interface, thereby improving the efficiency and reliability of data transmission.

[0064] Figure 2 This is a flow chart of a data transmission method provided in Example 1 of the present invention. The method can be applied to situations where timing control of a data sending process is performed during data transmission. The method can be performed by a data transmission device, wherein the device can be implemented by software and / or hardware and is generally integrated on a radio frequency serial interface.

[0065] like Figure 2 As shown, a data transmission method provided in Embodiment 1 of the present invention is applied to a first radio frequency serial interface, and the method includes the following steps:

[0066] S110: Initialize the first radio frequency serial interface.

[0067] In this embodiment, the first RF serial interface may represent an interface at the TX end. The specific interface form of the first RF serial interface is not limited. Here, the JESD204B interface is used as an example of the first RF serial interface for data transmission.

[0068] Initialization can be considered to be setting the status of each part in the first RF serial interface to the default working state, such as starting and configuring the first RF serial interface, so that the first RF serial interface is ready to enter the working state at any time.

[0069] Optionally, initializing the first radio frequency serial interface includes: starting and configuring the first radio frequency serial interface.

[0070] Here, activation can be considered as triggering the first RF serial interface to switch from a closed state to an open state. Configuration can be considered as setting relevant parameters within the interface after the first RF serial interface is activated, so that the interface is ready to enter the working state at any time.

[0071] Optionally, starting the first RF serial interface includes: starting the working clock of the first RF serial interface; starting the physical layer of the first RF serial interface, resetting the physical layer, and setting the working rate of the physical layer; starting the controller of the first RF serial interface, and resetting the controller.

[0072] The working clock can be considered as the driving source that triggers the various parts of the first RF serial interface, such as the controller, physical layer, etc. to start; that is, after the first RF serial interface receives the working clock start signal, its internal parts begin to be triggered to start. Figure 1C As shown, the start signal of the working clock can be provided by DeviceClock.

[0073] De-resetting can be considered to mean releasing the reset state; that is, before the first RF serial interface is started, the controller and physical layer in the interface are in the reset state. After the interface is started, the reset state of the controller and physical layer needs to be released. The operating rate of the physical layer can be considered to be the rate defined by the protocol standard in the first RF serial interface. This is not limited here, and the operating rate can be set according to actual needs. In this step, after receiving the working clock start signal, the startup of the physical layer includes multiplying the internal clock of the physical layer through the internal phase-locked loop of the interface, resetting the physical layer, and on this basis, making the physical layer work at the set operating rate.

[0074] The controller boots up faster than the physical layer, requiring only the controller to be reset. After booting up, data can be transferred between the controller and the physical layer via a serial communication interface; the specific serial communication interface used is not specified.

[0075] Optionally, configuring the first RF serial interface includes: acquiring configuration parameters of a controller in the first RF serial interface; and configuring parameters of the controller based on the configuration parameters.

[0076] Configuration parameters can be considered to refer to parameters that determine the data frame format of data within the controller. A data frame format can be considered to refer to a data framing format specified in the protocol standard within the first RF serial interface; different parameter configurations may correspond to different data frame formats. In this step, the controller is configured based on the configuration parameters to process the data frame format of the controller's data. Based on this, the processed data is prepared for transmission via the first RF serial interface.

[0077] S120: When the current mode is a sending mode, enable a first sending module in the first radio frequency serial interface.

[0078] The transmit mode can be considered to refer to the mode of data transmission from the perspective of the TX end of the interface. Enabling can be considered to trigger a device to start operation; in other words, starting the first transmit module within the first RF serial interface to start operation. The first transmit module can be considered to be the controller and physical layer of the data TX end within the interface.

[0079] S130. Repeatedly send a bit sequence through the first sending module.

[0080] Among them, the bit sequence can be considered as a control code used to mark the start and end of the data frame and align the data stream during the data transmission process; commonly used bit sequences include K28.0 code, K28.1 code and K28.5 code, etc. In this step, there is no limitation on the type of bit sequence used.

[0081] In one embodiment, in order to make the RX end in the interface release the SYNC signal, the TX end in the interface can repeatedly send a bit sequence to the RX end. Generally, repeating at least 4 bit sequences to the RX end can trigger the RX end to release the SYNC signal.

[0082] S140: After acquiring the synchronization signal, send configuration information, where the synchronization signal is triggered based on the bit sequence, and the configuration information is used to adjust the data frame format.

[0083] The synchronization signal can be considered the SYNC signal released by the RX end of the interface after being triggered by the received bit sequence. The configuration information can be considered the relevant parameter information used to adjust the data frame format of the TX end of the interface. In this step, after receiving the synchronization signal, the TX end will send this configuration information to the RX end.

[0084] S150: Send data.

[0085] On the basis of the above embodiment, after the above operations are completed at the TX end in the interface, data in the data frame format may be sent to the RX end.

[0086] Optionally, the data transmission method further includes: sending useless data after the data transmission is completed; obtaining a stop signal; and shutting down the controller of the first sending module in response to the stop signal.

[0087] Among them, useless data can be considered as all "0" data or the data of the last transmission. The stop signal can be considered as the low-level signal of SYNC sent by the RX end, which is used to stop the working synchronization between the TX end and the RX end.

[0088] In one embodiment, after the data on the TX end is sent, useless data continues to be sent until a stop signal is received from the RX end; based on this, in response to the stop signal, the controller on the TX end is turned off to stop data transmission.

[0089] Optionally, when a parameter reconfiguration instruction is obtained, the controller of the first RF serial interface is shut down; the working clock of the first RF serial interface is adjusted; and the controller is reconfigured.

[0090] In this embodiment, if the first RF serial interface receives a command from the data acquisition system during operation requesting a change in the data transmission operating mode, the first RF serial interface must be parameter-reconfigured to achieve the change in the data transmission operating mode. The change in operating mode includes a change in the data frame format and the interface operating rate. The command requesting a change in the data transmission operating mode can be considered a parameter reconfiguration command.

[0091] Figure 3 This is a schematic diagram of a timing control of parameter reconfiguration provided by the first embodiment of the present invention. Figure 3 As shown, taking the processor as an example, the timing control of parameter reconfiguration during the interface operation process is performed.

[0092] In one embodiment, the parameter reconfiguration of the first RF serial interface during operation is mainly completed in the controller, and the specific process of timing control of the parameter reconfiguration is as follows: Figure 3 As shown, first, when the interface obtains the parameter reconfiguration instruction of the data acquisition system, the controllers of the TX and RX ends of the interface are turned off, which corresponds to the time period T CTL-disable ; Then adjust the working clock of the interface, which corresponds to the time period T clk-adjBy adjusting the working clock frequency, the working rate of the interface can be adjusted. At this time, the data frame format can be adjusted by adjusting other corresponding parameters. After that, the controller is reconfigured according to the corresponding parameter adjustment, corresponding to the time period T CTL-config Finally, after reconfiguring the parameters, enable the controllers at the TX and RX ends of the interface, which corresponds to the time period T CTL-en , continuing the next data transmission. In addition, during this process, the working state of the physical layer does not need to be changed. This embodiment can achieve flexible and efficient switching and control of the interface data transmission mode in terms of timing by controlling the timing of parameter reconfiguration during the interface operation.

[0093] A data transmission method provided in a first embodiment of the present invention first initializes a first radio frequency serial interface; second, when the interface is in transmit mode, enables a first transmit module within the first radio frequency serial interface and repeatedly transmits a bit sequence through the first transmit module; then, after acquiring a synchronization signal, transmits configuration information, where the synchronization signal is triggered based on the bit sequence, and the configuration information is used to adjust the data frame format; and finally, transmits the data. This method solves the technical problem of difficult data transmission control in existing radio frequency serial interfaces, enables effective timing control of radio frequency serial interface data transmission, facilitates the development of radio frequency serial interfaces, and thereby improves the real-time performance and reliability of interface data transmission.

[0094] Example 2

[0095] Figure 4 This is a flow chart of a data transmission method provided in the second embodiment of the present invention. This second embodiment is a refinement of the above embodiments. In this embodiment, the process of performing low-power timing control on the RF serial interface when the RF serial interface stops data transmission for a period of time is specifically described. It should be noted that any technical details not fully described in this embodiment can be referred to any of the above embodiments.

[0096] like Figure 4 As shown, a data transmission method provided in the second embodiment of the present invention includes the following steps:

[0097] S210: Turn off the controller of the first sending module.

[0098] S220: Reset the controller.

[0099] Resetting the controller can be considered to put the controller in a reset state when it is started next time.

[0100] S230: Turn off the working clock of the controller.

[0101] After the controller is turned off, in order to reduce the power consumption of the interface, the working clock that drives the controller can also be turned off.

[0102] S240: When the current mode is again the transmitting mode, return to executing the operation of enabling the first transmitting module in the first RF serial interface, and reset the controller to enable the working clock of the controller.

[0103] Figure 5 This is a schematic diagram of a low power consumption timing control provided by the third embodiment of the present invention. Figure 5 As shown, taking the processor TX end as an example, after one data transmission is completed, if it is necessary to wait for a period of time before the next transmission, then the processor TX end (i.e., the TX end of the first RF serial interface) can be subjected to low-power timing control. In addition, in the case of a short interface waiting time, since the physical layer starts slowly, the physical layer will not be shut down in order to ensure that the next data transmission can be executed quickly. The specific implementation process is as follows: First, shut down and reset the controller of the TX end, which corresponds to the time period T respectively. CTL-disable and T CTL-reset ; Then turn off the controller's working clock, which corresponds to the time period T clk-disable ; The interface waiting time period is T wait ; Finally, in T wait After the end, return to execute the operation of enabling the TX end controller (ie T CTL-en ) and reset the controller (ie T CTL-unreset ), enable the controller's working clock (ie T clk-en ) and continue to send the next data.

[0104] In one embodiment, if a long wait time is required before the next transmission after one data transmission is completed, and the waiting time range is not limited here, the entire TX end or RX end in the interface can be shut down. Therefore, S220 to S240 can be replaced by S250 to S280, which specifically include:

[0105] S250: Disable the physical layer of the first radio frequency serial interface.

[0106] S260: Reset the first radio frequency serial interface.

[0107] Resetting the first radio frequency serial interface includes resetting a controller and a physical layer in the interface.

[0108] S270: Turn off the working clock of the first radio frequency serial interface.

[0109] S280: When the current mode is the sending mode again, return to perform the operation of initializing the first radio frequency serial interface.

[0110] Figure 6 This is a schematic diagram of another low-power timing control provided by the second embodiment of the present invention. Figure 6 As shown, taking the processor TX end as an example, the specific implementation process is as follows: First, turn off the controller and physical layer of the TX end, which correspond to the time period T CTL-disable and T PHY-disable Then, reset the controller and physical layer of the TX end, corresponding to the time period T reset ; After that, turn off the working clock of TX end, corresponding to the time period T clk-disable ; The interface waiting time period is T wait ; Finally, in T wait After the end, return to the operation of initializing the TX port (ie T start-up 、T config and T CTL-en ) to continue with the next data transmission.

[0111] In this embodiment, according to Figure 3 、 Figure 5 、 Figure 6 and Figure 8 The various time periods for timing control shown in the figure can be considered to be set based on the actual data transmission requirements of the data acquisition system and are not limited here. Furthermore, a corresponding timing control logic circuit can be designed through hardware for each of the above time periods and integrated into the existing RF serial interface to achieve timing control for data transmission and reception and low power consumption. The method for adding the designed timing control time periods to the RF serial interface is also not limited here.

[0112] It should be noted that the interface data transmission and reception and low-power timing control operations in the above embodiments can be considered to be completed by the central processing unit (CPU) in the processor and the converter controlling the interface, which is not limited here.

[0113] A second embodiment of the present invention provides a data transmission method, which can avoid unnecessary power loss when the interface stops data transmission for a period of time by performing low-power timing control on the radio frequency serial interface; different interface low-power timing controls are set according to the length of the data transmission stop time to achieve flexible adjustment of the interface low-power timing control, thereby improving the real-time and reliability of interface data transmission.

[0114] Example 3

[0115] Figure 7This is a flow chart of a data transmission method provided in Embodiment 2 of the present invention. This method is applicable to situations where timing control of a data reception process is performed during data transmission. This method can be performed by a data transmission device, which can be implemented by software and / or hardware and is generally integrated into a radio frequency serial interface. It should be noted that technical details not fully described in this embodiment can be referred to any of the above embodiments.

[0116] like Figure 7 As shown, a data transmission method provided in the third embodiment of the present invention is applied to the second radio frequency serial interface, and the method includes the following steps:

[0117] S310: Initialize the second radio frequency serial interface.

[0118] In this embodiment, the second RF serial interface may represent an interface on the RX side. The specific interface form of the second RF serial interface is not limited. Here, the JESD204B interface is used as an example of the second RF serial interface for data transmission.

[0119] It should be noted that the data TX end and the data RX end are corresponding to each other, so the process of initializing the second RF serial interface is the same as that of initializing the first RF serial interface.

[0120] S320: When the current mode is a receiving mode, enable a receiving module in the second radio frequency serial interface.

[0121] The receiving mode can be considered to refer to the mode of data transmission from the perspective of the RX end of the interface. The receiving module can refer to the controller and physical layer of the RX end of the interface.

[0122] S330: Acquire a bit sequence through the receiving module.

[0123] The RX interface obtains the bit sequence sent by the first sending module, is triggered after obtaining 4 bit sequences in succession, and releases the SYNC signal to the TX interface.

[0124] S340: Perform a recovery operation in response to the acquired bit sequence.

[0125] The recovery operation may be considered to mean that the RX end of the interface recovers the data sent from the TX end, and recovers its own receiving clock according to the transmitting clock in the data sent from the TX end.

[0126] S350: After continuing to acquire a set number of bit sequences, trigger a synchronization signal.

[0127] The number of bit sequences to be obtained can be set according to actual needs, as long as the SYNC signal at the RX end of the interface is triggered.

[0128] S360: Acquire configuration information, and adjust the data frame format based on the configuration information, so that the adjusted data frame format is consistent with the data frame format of the first radio frequency interface sending module.

[0129] Among them, the interface RX end obtains the configuration information sent by the TX end, and adjusts its own data frame format based on the configuration information, so that the adjusted data frame format is consistent with the data frame format of the first RF interface sending module (i.e., the TX end), so as to facilitate subsequent reception of data sent by the TX end in the same data frame format.

[0130] S370: Obtain data.

[0131] On the basis of the above embodiment, after the RX end in the interface completes the above operations, it can start receiving data in the data frame format sent by the TX end.

[0132] Optionally, the data transmission method further includes: acquiring useless data; shutting down the controller of the second radio frequency serial interface in response to the acquired useless data; and sending a stop signal.

[0133] In one embodiment, the second RF serial interface RX end obtains useless data sent from the TX end, shuts down the controller of the RX end in response to the obtained useless data, and sends a stop signal to the TX end.

[0134] Figure 8 This is a schematic diagram of a data transmission and reception timing control provided by the third embodiment of the present invention. Figure 8 As shown, the range settings of each time period in the figure can be considered to be set according to the application requirements of the data acquisition system during actual application, and are not limited here.

[0135] like Figure 8 As shown in the figure, Start can represent the initialization phase of the RF serial interface; UL can represent the uplink data transmission process, that is, the processor acts as the TX end to send data to the converter; DL can represent the downlink data transmission process, that is, the converter acts as the TX end to send data to the processor; Time can represent the timing control process. The corresponding low levels of SYSREF0, SYSREF1, SYNC0, and SYNC1 can indicate that SYSREF and SYNC are in the off state during this period; the corresponding high levels can indicate that SYSREF and SYNC are in the on state during this period.

[0136] In one embodiment, during the initialization phase (i.e. Figure 8 In the start phase), both UL and DL need to initialize the interface controller and physical layer, which includes the interface startup and configuration operations, corresponding to the time period T start-upand time period T config In T start-up During this period, the working clock of the interface will be started first; then the physical layer in the interface will be started and reset to make it work at the set working frequency; finally, the controller in the interface will be started and reset. config During this process, the controller configuration parameters are obtained and the controller is configured based on the configuration parameters to determine the data frame format of the data in the controller. On this basis, the data in the determined data frame format in the controller is stored and prepared to wait for the interface to send it.

[0137] In one embodiment, the processor is used as the TX end and the converter is used as the RX end for data transmission (ie Figure 8 The specific implementation process is as follows: First, enable the controllers of the TX end and the RX end respectively, which corresponds to the time period T CTL-en After enabling, the TX end starts to repeatedly send a bit sequence, such as K28.5 code to the RX end, which corresponds to the time period T send-k Secondly, the RX end will keep the data sent for a period of time T CDR To recover the data frame format and its own receiving clock; send-k and T CDR After a period of time, the SYSREF0 signal is triggered to become a high level, which is used to provide a reference signal for the TX and RX ends to work synchronously. CDR After that, the RX end starts to receive the correct K28.5 code, which corresponds to the time period T rec-k ; Among them, after receiving 4 consecutive K28.5 codes, the SYNC0 signal is changed to a high level until the data transmission is completed. After that, after the TX end receives the high-level SYNC0 signal sent by the RX end, it stops sending the K28.5 code; and sends the configuration information to the RX end for reception, which corresponds to the time period T send-config and T rec-config Finally, the TX end sends the data to the RX end according to the data frame format, which corresponds to the time period T send-f and T rec-f In addition, after the TX end sends the valid data, if the TX end controller is still in working state and there is no new data to be sent, it will continue to send useless data, which corresponds to the time period T send-nu ; RX end receives useless data, which corresponds to the time period T rec-nu , until the controllers at the TX and RX ends are turned off. During the UL process, the controllers at the converter TX end and the processor RX end (i.e., the controllers in the DL process) are in a waiting state until the UL process ends, which corresponds to a time period T waitThis embodiment takes the uplink data receiving and transmitting timing control as an example to implement the control of switching data receiving and transmitting between different timings of the interface.

[0138] In one embodiment, take UL switching to DL as an example (ie Figure 8 The specific implementation process is as follows: First, after the processor TX end (i.e., the first RF interface TX end) in the UL starts to send useless data, in response to the useless data obtained by the converter RX end, the CPU in the processor notifies the converter RX end through other communication interfaces and shuts down the controller of the converter RX end, which corresponds to the time period T in the DL. CTL-disable At this time, the converter RX end sends a stop signal (ie, the SYNC0 signal is at a low level). Then, after the processor TX end receives the stop signal, the controller of the processor TX end is turned off, which corresponds to the time period T in the DL stage. CTL-disable Finally, while shutting down the controllers at the processor TX side and the converter RX side, start up the controllers at the processor RX side and the converter TX side (i.e., T CTL-en ), continue the DL process, which is the same as the UL process; at this time, after the DL process starts, the processor TX end and the converter RX end are in a waiting state until the next DL to UL process, which corresponds to the time period T under the DL phase wait This embodiment takes the timing control of converting uplink data transmission into downlink data transmission as an example, and implements the control of switching the data transmission mode between different timings of the interface.

[0139] A data transmission method provided by the third embodiment of the present invention first initializes the second RF serial interface; secondly, when the current mode is receiving, enables the receiving module in the second RF serial interface and obtains a bit sequence through the receiving module; then, in response to the obtained bit sequence, performs a recovery operation; after continuing to obtain a set number of bit sequences, triggers a synchronization signal; then obtains configuration information, adjusts the data frame format based on the configuration information, and the adjusted data frame format is consistent with the data frame format of the first RF interface sending module; finally, obtains data. This method solves the technical problem of the difficulty of data reception control in existing RF serial interfaces, can achieve effective timing control of RF serial interface data reception, facilitates the development of RF serial interfaces, and thus improves the real-time performance and reliability of interface data transmission.

[0140] Example 4

[0141] Figure 9 This is a structural diagram of a data transmission device provided by the fourth embodiment of the present invention, which can be implemented by software and / or hardware. Figure 9As shown, the apparatus includes: a first interface initialization module 410 , a first enabling module 420 , a bit sequence sending module 430 , a configuration information sending module 440 and a data sending module 450 .

[0142] The first interface initialization module 410 is configured to initialize the first radio frequency serial interface;

[0143] A first enabling module 420, configured to enable a first transmitting module in the first RF serial interface when the current mode is transmitting;

[0144] a bit sequence sending module 430, configured to repeatedly send a bit sequence via the first sending module;

[0145] a configuration information sending module 440, configured to send configuration information after acquiring a synchronization signal, wherein the synchronization signal is triggered based on the bit sequence, and the configuration information is used to adjust a data frame format;

[0146] The data sending module 450 is used to send data.

[0147] In this embodiment, the first RF serial interface is first initialized via the first interface initialization module 410. Secondly, the first enabling module 420 enables the first transmitting module within the first RF serial interface when the interface is currently in transmit mode, and the bit sequence transmitting module 430 causes the first transmitting module to repeatedly transmit a bit sequence. Then, after acquiring a synchronization signal, the configuration information transmitting module 440 transmits configuration information. The synchronization signal is triggered based on the bit sequence, and the configuration information is used to adjust the data frame format. Finally, data is transmitted via the data transmitting module 450. This method, by performing sequential logic design on the transmission process of data transmission on the RF serial interface, can achieve effective timing control of data transmission on the RF serial interface, facilitate the development of the RF serial interface, and thereby improve the real-time and reliability of data transmission on the interface.

[0148] Optionally, the device further includes:

[0149] A useless data sending module, configured to send useless data after the data sending is completed;

[0150] A stop signal acquisition module, used for acquiring a stop signal;

[0151] The first controller shutting down module is configured to shut down the controller of the first sending module in response to the stop signal.

[0152] Optionally, the method further includes:

[0153] A first reset module, configured to reset the controller;

[0154] The first clock shutoff module is configured to shut off the operating clock of the controller.

[0155] Optionally, the device further includes:

[0156] The first return execution module is used to return to the execution of the operation of enabling the first sending module in the first RF serial interface when the current mode is again the sending mode, and to reset the controller and enable the working clock of the controller.

[0157] Optionally, the device further includes:

[0158] A physical layer closing module, configured to close the physical layer of the first radio frequency serial interface;

[0159] An interface reset module, configured to reset the first radio frequency serial interface;

[0160] The second clock shutoff module is configured to shut down the working clock of the first radio frequency serial interface.

[0161] Optionally, the method further includes:

[0162] The second return execution module is configured to return to executing the operation of initializing the first radio frequency serial interface when the current mode is again in the sending mode.

[0163] Optionally, the first interface initialization module 410 includes:

[0164] The first startup configuration module is configured to start and configure the first radio frequency serial interface.

[0165] Optionally, the first startup configuration module includes:

[0166] A clock starting unit, configured to start a working clock of the first radio frequency serial interface;

[0167] A physical layer starting unit, configured to start the physical layer of the first radio frequency serial interface, reset the physical layer, and set the operating rate of the physical layer;

[0168] The controller reset unit is configured to start the controller of the first radio frequency serial interface and reset the controller.

[0169] Optionally, the first startup configuration module further includes:

[0170] a configuration parameter acquiring unit, configured to acquire configuration parameters of the controller in the first radio frequency serial interface;

[0171] A parameter configuration unit is used to configure parameters of the controller based on the configuration parameters.

[0172] Optionally, the device further includes:

[0173] a second controller shutting down module, configured to shut down the controller of the first radio frequency serial interface upon obtaining a parameter reconfiguration instruction;

[0174] A clock adjustment module, configured to adjust the operating clock of the first radio frequency serial interface;

[0175] A controller reconfiguration module is used to reconfigure the controller.

[0176] The above-mentioned data transmission device can execute the data transmission method provided by the first or second embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0177] Example 5

[0178] Figure 10 This is a structural diagram of a data transmission device provided by Embodiment 5 of the present invention, which can be implemented by software and / or hardware. Figure 10 As shown, the apparatus includes: a second interface initialization module 510 , a second enabling module 520 , a bit sequence acquisition module 530 , a recovery module 540 , a synchronization signal triggering module 550 , a configuration information acquisition module 560 and a data acquisition module 570 .

[0179] The second interface initialization module 510 is configured to initialize the second radio frequency serial interface;

[0180] A second enabling module 520 is configured to enable a receiving module in the second RF serial interface when the receiving mode is currently selected;

[0181] A bit sequence acquisition module 530, configured to acquire a bit sequence through the receiving module;

[0182] A recovery module 540 is configured to perform a recovery operation in response to the acquired bit sequence;

[0183] A synchronization signal triggering module 550 is configured to trigger a synchronization signal after continuously acquiring a set number of the bit sequences;

[0184] a configuration information acquisition module 560, configured to acquire configuration information and adjust a data frame format based on the configuration information, wherein the adjusted data frame format is consistent with a data frame format of the first radio frequency interface sending module;

[0185] The data acquisition module 570 is used to acquire data.

[0186] In this embodiment, the device first initializes the second RF serial interface through the second interface initialization module 510; secondly, through the second enabling module 520, when the current mode is receiving, the receiving module in the second RF serial interface is enabled, and through the bit sequence acquisition module 530, the receiving module acquires a bit sequence; then, through the recovery module 540, a recovery operation is performed in response to the acquired bit sequence; after continuously acquiring a set number of bit sequences, the synchronization signal is triggered through the synchronization signal trigger module 550; then, through the configuration information acquisition module 560, configuration information is acquired, and the data frame format is adjusted based on the configuration information, so that the adjusted data frame format is consistent with the data frame format of the first RF interface sending module; finally, data is acquired through the data acquisition module 570. This method solves the technical problem of the difficulty in controlling data transmission and reception in existing RF serial interfaces, can achieve effective timing control of data transmission and reception of RF serial interfaces, facilitates the development of RF serial interfaces, and thus improves the real-time and reliability of interface data transmission.

[0187] Optionally, the device further includes:

[0188] A useless data acquisition module, used to acquire useless data;

[0189] a third controller shutting down module, configured to shut down the controller of the second radio frequency serial interface in response to the acquired useless data;

[0190] The stop signal sending module is used to send a stop signal.

[0191] The above-mentioned data transmission device can execute the data transmission method provided in the third embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0192] Example 6

[0193] Figure 11 This is a structural diagram of a radio frequency serial interface provided by embodiment 6 of the present invention. Figure 11 As shown, the radio frequency serial interface provided by the sixth embodiment of the present invention includes: one or more processors 41 and a storage device 42; the processor 41 in the radio frequency serial interface can be one or more, Figure 11 Take a processor 41 as an example; the storage device 42 is used to store one or more programs; the one or more programs are executed by the one or more processors 41, so that the one or more processors 41 implement the data transmission method as described in any one of the embodiments of the present invention.

[0194] The radio frequency serial interface may further include: an input device 43 and an output device 44 .

[0195] The processor 41, storage device 42, input device 43 and output device 44 in the radio frequency serial interface can be connected through a bus or other means. Figure 11 The bus connection is taken as an example.

[0196] The storage device 42 in the radio frequency serial interface is a computer-readable storage medium that can be used to store one or more programs, which can be software programs, computer executable programs, and modules, such as the program instructions / modules corresponding to the data transmission method provided in the first embodiment of the present invention (for example, the attached Figure 9 The modules in the data transmission device shown include: a first interface initialization module 410, a first enabling module 420, a bit sequence sending module 430, a configuration information sending module 440, and a data sending module 450); or a program instruction / module corresponding to the data transmission method provided in the second embodiment of the present invention (for example, Figure 10 The modules in the data transmission device shown include: a second interface initialization module 510, a second enabling module 520, a bit sequence acquisition module 530, a recovery module 540, a synchronization signal triggering module 550, a configuration information acquisition module 560, and a data acquisition module 570. The processor 41 executes the software programs, instructions, and modules stored in the storage device 42 to perform various functional applications and data processing of the radio frequency serial interface, that is, to implement the data transmission method in the above method embodiment.

[0197] The storage device 42 may include a program storage area and a data storage area. The program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created based on the use of the radio frequency serial interface, etc. In addition, the storage device 42 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some examples, the storage device 42 may further include a memory remotely located relative to the processor 41, and these remote memories may be connected to the radio frequency serial interface via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0198] The input device 43 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the radio frequency serial interface. The output device 44 may include a display device such as a display screen.

[0199] Furthermore, when one or more programs included in the above-mentioned RF serial interface are executed by the one or more processors 41, the program performs the following operations: initializing the first RF serial interface; when currently in sending mode, enabling the first sending module in the first RF serial interface; repeatedly sending a bit sequence through the first sending module; after obtaining a synchronization signal, sending configuration information, the synchronization signal is triggered based on the bit sequence, and the configuration information is used to adjust the data frame format; and sending data.

[0200] Alternatively, when one or more programs included in the above-mentioned RF serial interface are executed by the one or more processors 41, the program performs the following operations: initialize the second RF serial interface; when currently in the receiving mode, enable the receiving module in the second RF serial interface; obtain a bit sequence through the receiving module; perform a recovery operation in response to the obtained bit sequence; after continuing to obtain a set number of the bit sequences, trigger a synchronization signal; obtain configuration information, and adjust the data frame format based on the configuration information, and the adjusted data frame format is consistent with the data frame format of the first RF interface sending module; obtain data.

[0201] Example 7

[0202] A seventh embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the program can be used to execute the data transmission method provided by any embodiment of the present invention.

[0203] Optionally, when the program is executed by the processor, it can be used to execute the data transmission method in embodiment 1 of the present invention, the method including: initializing the first RF serial interface; when currently in the sending mode, enabling the first sending module in the first RF serial interface; repeatedly sending a bit sequence through the first sending module; after obtaining a synchronization signal, sending configuration information, the synchronization signal is triggered based on the bit sequence, and the configuration information is used to adjust the data frame format; sending data.

[0204] Optionally, when the program is executed by the processor, it can be used to execute the data transmission method in embodiment 2 of the present invention, which method includes: initializing the second RF serial interface; when currently in receiving mode, enabling the receiving module in the second RF serial interface; obtaining a bit sequence through the receiving module; performing a recovery operation in response to the obtained bit sequence; after continuing to obtain a set number of the bit sequences, triggering a synchronization signal; obtaining configuration information, and adjusting the data frame format based on the configuration information, the adjusted data frame format is consistent with the data frame format of the first RF interface sending module; obtaining data.

[0205] The computer storage medium of the embodiment of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination thereof. The computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or device.

[0206] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0207] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, or radio frequency (RF), etc., or any suitable combination thereof.

[0208] The computer program code for performing the operations of the present invention can be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0209] Note that the above are only preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the concept of the present invention. The scope of the present invention is determined by the scope of the appended claims.

Claims

1. A data transmission method, characterized in that: Applied to a first radio frequency serial interface, the method comprises: Initializing the first radio frequency serial interface, wherein the first radio frequency serial interface is a JESD204B interface; When the current mode is a transmission mode, enabling a first transmission module in the first radio frequency serial interface; Repeatedly sending a bit sequence through the first sending module; After acquiring the synchronization signal, sending configuration information, the synchronization signal is triggered based on the bit sequence, and the configuration information is used to adjust the data frame format; Send data; The method further comprises: After the data transmission is completed, sending useless data; Get the stop signal; In response to the stop signal, shutting down the controller of the first sending module; resetting the controller; Turn off the working clock of the controller; When the current mode is the sending mode again, the operation of enabling the first sending module in the first radio frequency serial interface is returned to be executed, and the controller is reset to enable the working clock of the controller.

2. The method according to claim 1, characterized in that: Also includes: shutting down the physical layer of the first radio frequency serial interface; Resetting the first radio frequency serial interface; The working clock of the first radio frequency serial interface is turned off.

3. The method according to claim 2, characterized in that Also includes: When the current mode is the sending mode again, the operation of initializing the first radio frequency serial interface is returned to be executed.

4. The method according to claim 1, characterized in that: The initializing the first radio frequency serial interface includes: The first radio frequency serial interface is started and configured.

5. The method according to claim 4, characterized in that Starting the first radio frequency serial interface includes: Starting a working clock of the first radio frequency serial interface; Starting the physical layer of the first radio frequency serial interface, resetting the physical layer, and setting the working rate of the physical layer; The controller of the first radio frequency serial interface is started, and the controller is reset.

6. The method according to claim 4, characterized in that Configuring the first radio frequency serial interface includes: Obtaining configuration parameters of a controller in the first radio frequency serial interface; The controller is configured with parameters based on the configuration parameters.

7. The method according to claim 1, characterized in that Also includes: When the parameter reconfiguration instruction is obtained, shutting down the controller of the first radio frequency serial interface; Adjusting the working clock of the first radio frequency serial interface; Reconfigure the controller.

8. A data transmission method, characterized in that: Applied to the second radio frequency serial interface, the method comprises: Initialize the second radio frequency serial interface, wherein the second radio frequency serial interface is a JESD204B interface; When the current mode is receiving, enabling the receiving module in the second radio frequency serial interface; Acquire a bit sequence through the receiving module; In response to the acquired bit sequence, performing a recovery operation; After continuously acquiring a set number of the bit sequences, triggering a synchronization signal; Acquire configuration information, and adjust the data frame format based on the configuration information, so that the adjusted data frame format is consistent with the data frame format of the first radio frequency interface sending module; Get data; The method further comprises: Get useless data; In response to the acquired useless data, shutting down the controller of the second radio frequency serial interface; Send a stop signal.

9. A data transmission device, characterized in that: Configured on the first radio frequency serial interface, including: A first interface initialization module, used to initialize the first RF serial interface, wherein the first RF serial interface is a JESD204B interface; A first enabling module, used to enable a first sending module in the first RF serial interface when the current mode is a sending mode; A bit sequence sending module, used for repeatedly sending a bit sequence through the first sending module; A configuration information sending module, used to send configuration information after acquiring a synchronization signal, wherein the synchronization signal is triggered based on the bit sequence, and the configuration information is used to adjust the data frame format; A data sending module, used for sending data; The device also includes: A useless data sending module, used for sending useless data after the data sending is completed; A stop signal acquisition module, used for acquiring a stop signal; a first controller shutting down module, configured to shut down the controller of the first sending module in response to the stop signal; A first reset module, used for resetting the controller; A first clock shutoff module, used to shut down the working clock of the controller; The first return execution module is used to return to the execution of the operation of enabling the first sending module in the first radio frequency serial interface when the current mode is again the sending mode, and to reset the controller and enable the working clock of the controller.

10. A data transmission device, characterized in that: Configured on the second radio frequency serial interface, including: A second interface initialization module, used to initialize the second RF serial interface, wherein the second RF serial interface is a JESD204B interface; A second enabling module, used to enable a receiving module in the second RF serial interface when the receiving mode is currently in the receiving mode; A bit sequence acquisition module, used to acquire a bit sequence through the receiving module; A recovery module, configured to perform a recovery operation in response to the acquired bit sequence; A synchronization signal triggering module, used for triggering a synchronization signal after continuously acquiring a set number of the bit sequences; A configuration information acquisition module, used to acquire configuration information, and adjust the data frame format based on the configuration information, so that the adjusted data frame format is consistent with the data frame format of the first radio frequency interface sending module; A data acquisition module, used for acquiring data; The device also includes: A useless data acquisition module, used for acquiring useless data; a third controller shutting down module, configured to shut down the controller of the second radio frequency serial interface in response to the acquired useless data; The stop signal sending module is used to send a stop signal.

11. A radio frequency serial interface, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the data transmission method according to any one of claims 1 to 8.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the data transmission method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Inter-board high speed AD synchronous acquisition circuit based on JESD204B and synchronization method thereof

    CN108134607A

  • Data acquisition method and device

    CN109286483A

  • An FPGA verification method of a JESD204B controller

    CN109815099A

  • Meeting setup / hold times for a repetitive signal relative to a clock

    CN110366822A

  • Serial communication parameter automatic configuration method and system

    CN111737182A