Radio frequency device and control signal transmission method

By adopting a unidirectional transmission method with a daisy chain topology between the RF transceiver and the RF front-end module, the problem of limited communication rate between the RF transceiver and multiple RF front-end modules is solved, and efficient control signal transmission and Data readback reduces chip complexity.

WO2024174832A1PCT designated stage expired Publication Date: 2024-08-29HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/075281
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-24
Filing Date
2024-02-01
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

In the fifth-generation mobile communication technology, the communication rate between the radio frequency transceiver and multiple radio frequency front-end modules is limited. As the number of radio frequency front-end modules increases, the quality of the control signal is likely to deteriorate, resulting in a reduction in transmission efficiency.

Method used

The linear topology and ring topology of the daisy chain topology are used to couple the clock and data ports of the RF transceiver with the RF front-end module to achieve one-way transmission of control signals and data signals, improve the communication rate, and implement the RF transceiver in the Reduce clock input port design and save chip complexity.

Benefits of technology

The communication rate between the RF transceiver and multiple RF front-end modules is improved, ensuring that even when the number of RF front-end modules increases, the data readback rate remains at full rate, reducing chip complexity and port design requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024075281_29082024_PF_FP_ABST
    Figure CN2024075281_29082024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application relate to the technical field of chips, and provide a radio frequency device and a control signal transmission method capable of improving the communication rate between a radio frequency transceiver and a radio frequency front-end module. The specific solution comprises: a radio frequency transceiver comprises a master control interface, the master control interface comprising a first clock port and a first data port, and at least one radio frequency front-end module, each radio frequency front-end module comprising a slave control interface, and the slave control interface comprising a second clock port and a second data port; the first clock port is coupled with the second clock port of the at least one radio frequency front-end module by means of a control bus according to a daisy chain of a linear topology structure, and the first data port is coupled with the second data port of the at least one radio frequency front-end module by means of the control bus according to a daisy chain of a ring topology structure. The embodiments of the present application are applied to the process of programming the radio frequency front-end module by the radio frequency transceiver.
Need to check novelty before this filing date? Find Prior Art

Description

Radio frequency device and control signal transmission method

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on February 24, 2023, with application number 202310207289.3 and application name “A radio frequency device and a method for transmitting a control signal”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of chip technology, and in particular to a radio frequency device and a control signal transmission method. Background Art

[0003] Fifth-generation mobile communication technology (5G) terminals include a baseband processing unit and a radio frequency (RF) processing unit. The RF processing unit includes an RF transceiver and an RF front-end module (RFFEM). A service signal interface and a programming signal interface exist between the RF transceiver and the RFFEM. The programming signal interface is also called a control signal interface. An RF transceiver can couple with multiple RFFEMs, meaning that an RF transceiver can transmit service signals and control signals to multiple RFFEMs.

[0004] Typically, a control signal interface between an RF transceiver and multiple RF front-end modules (RFFEMs) is implemented using the Mobile Industry Processor Interface (MIPI) RF FEM protocol or the Serial Peripheral Interface (SPI). However, in this one-drive-to-many coupling mode, when using the MIPI RF FEM or SPI interface, the maximum communication rate supported by a single RF transceiver and multiple RF FEMs is limited, and the control signal quality tends to deteriorate as the number of RF FEMs increases.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a radio frequency device and a control signal transmission method, which can improve the communication rate between a radio frequency transceiver and multiple radio frequency front-end modules.

[0007] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions.

[0008] In a first aspect, a radio frequency device is provided, comprising: a radio frequency transceiver, comprising a control master interface, the control master interface comprising a first clock port and a first data port, at least one radio frequency front-end module, each radio frequency front-end module comprising a control slave interface, the control slave interface comprising a second clock port and a second data port; the first clock port is coupled to the second clock port of the at least one radio frequency front-end module in a daisy chain in a linear topology via a control bus, and the first data port is coupled to the second data port of the at least one radio frequency front-end module in a daisy chain in a ring topology via the control bus.

[0009] Among them, linear topology and ring topology are two network topologies of daisy chain topology. Among them, linear topology can be understood, for example, as the existence of nodes ABCDE, while ABCDE and CMNO (branching at C) are daisy chain linear topology. Ring topology can be understood as the existence of a loop connection from the last node to the first node, for example, ABCDEA, which is commonly referred to as a "daisy chain loop". That is, in this application, the clock port of the RF transceiver and the clock port of at least one RF front-end module form a linear topology in the daisy chain structure, and the data port of the RF transceiver and the data port of at least one RF front-end module form a ring topology in the daisy chain structure. In this way, the transmission direction of the data signal and clock signal of the control signal sent by the RF transceiver to the at least one RF front-end can be unidirectional, including the RF transceiver performing a write operation or a read operation on the RF front-end module, and the control signals transmitted by the control bus are all unidirectional. That is, the present application is different from the traditional solution in which the RF transceiver sends control signals to the RF front-end in a one-drive-many manner. In the traditional solution, the data output end of the RF transceiver is directly connected to the data input end of multiple RF front-end modules, and the clock output end of the RF transceiver is also directly connected to the clock input end of multiple RF front-end modules. However, as the number of RF front-end modules increases, the transmission efficiency of data signals and clock signals will be slower. The coupling method of the present application through the daisy-chain connection of the linear topology structure and the daisy-chain connection of the ring topology structure can increase the rate at which the RF transceiver sends control signals to the RF front-end module. Even as the number of RF front-ends increases, the data readback rate can be achieved at full rate.

[0010] In one possible design, the first clock port includes a first clock output port, and the second clock port includes a second clock input port. The first clock output port is sequentially cascade-coupled to the second clock input port of at least one RF front-end module via a clock line in a control bus, in a daisy-chain linear topology. Thus, when the RF transceiver sends a clock signal to a particular RF front-end module, the clock signal can be sent to the RF front-end module via the daisy-chain linear clock line. The clock signal can be transmitted unidirectionally to the RF front-end module in the chain structure, resulting in a relatively fast transmission rate. Even if the number of RF front-end modules increases, the transmission rate of the clock signal is not affected.

[0011] In one possible design, the first data port includes a first data output port and a first data input port, and the second data port includes a second data input port and a second data output port. The first data output port and the first data input port are coupled to the second data input port and the second data output port of at least one RF front-end module in a daisy-chain ring topology via data lines in a control bus, forming a data loopback link. That is, the clock output port of the last RF front-end module in the daisy-chain link can be uncoupled from the clock input port of the RF transceiver, thereby simplifying the port design of the RF transceiver. The clock line and the data line are combined to form a control bus, and the clock line and the data line use the same bus control protocol.

[0012] In one possible design, when at least one RF front-end module is a plurality of RF front-end modules, the plurality of RF front-end modules include at least one first RF front-end module and a second RF front-end module, and the second RF front-end module is the last RF front-end module on the daisy chain of the linear topology structure; wherein the control slave interface of each first RF front-end module also includes a second clock output port.

[0013] It can also be understood that the second data output port of the second RF front-end module is directly connected to the first data input port of the RF transceiver. The second RF front-end module may also have a second clock output port, but this second clock output port is unused, that is, it is not coupled to the first clock input port of the RF transceiver. In this way, when the readback data is transmitted to the first data input port of the RF transceiver, the clock logic circuit in the RF transceiver can be used to sample the readback data, and the RF transceiver does not need to have a first clock input port. For the RF transceiver, this can reduce the number of ports / pins configured, reducing chip complexity.

[0014] In one possible design, the control master interface transparently transmits a first control signal via a control bus. The first control signal includes a first clock signal and a first data signal. The first clock signal is used to instruct the RF front-end module to sample the received first data signal. The first clock port transparently transmits the first clock signal to the second clock port of each RF front-end module via a clock line in the control bus; and the first data port transparently transmits the first data signal to the second data port of each RF front-end module via a data line in the control bus.

[0015] That is to say, when the first control signal generated by the RF transceiver wants to access the target RF front-end module, each RF front-end module must first transparently transmit the first clock signal in the first control signal from the previous RF front-end module to the next RF front-end module. When each RF front-end module receives the data signal in the control signal from the previous RF front-end module, it must also first transparently transmit it to the next RF front-end module. In this way, the transmission efficiency of the first control signal can be improved. Of course, the last RF front-end module does not need to continue transparent transmission when it receives the first data signal and the first clock signal.

[0016] In one possible design, when a first control signal is used to instruct a target RF front-end module in at least one RF front-end module to perform a write operation, the first control signal includes an identifier of the target RF front-end module, data to be written, and a register address; the target RF front-end module is used to sample a first data signal according to a first clock signal to obtain data to be written and a register address, and write the data to be written into the register of the target RF front-end module according to the register address. That is, when the first data signal is transparently transmitted to the second data port of the target RF front-end module through a data line, the target RF front-end module must first transparently transmit the first data signal to the next-level RF front-end module. If the target RF front-end module recognizes that a write operation is required based on the identifier carried by the first data signal, the first data signal is transmitted to the target RF front-end module according to the register address, and the transmission efficiency is high when the first data signal is unidirectionally transmitted to the target RF front-end module in a daisy chain with a ring topology structure.

[0017] In one possible design, the first control signal is used to instruct a target RF front-end module in the at least one RF front-end module to perform a read operation, where the read operation is used to read back data written to a register of the target RF front-end module. The first control signal includes an identifier and a register address of the target RF front-end module.

[0018] The target RF front-end module is used to read the data corresponding to the register address after sampling the first data signal according to the first clock signal to obtain the register address, and generate a second control signal, the second control signal including the data corresponding to the register address; the second control signal is transparently transmitted to the RF transceiver through the target RF front-end module. This design takes into account the readback of whether the written data is correct after the write operation is performed on the target RF front-end module. That is, the target RF front-end module reads the written data through the read operation, and transmits the read data back to the RF transceiver through the second control signal, so that the RF transceiver can determine whether the data written by the write operation is correct. Among them, the second control signal is also transmitted back to the RF transceiver in one direction through the data line.

[0019] In one possible design, when the first control signal is used to instruct at least one RF front-end module to perform an identification initialization operation of the RF front-end module, the first control signal includes an identification of a first RF front-end module among the at least one RF front-end module;

[0020] Each RF front-end module is used to generate a third control signal after initializing the local identification of the RF front-end module. The third control signal includes the identification of the next RF front-end module, and sends the third control signal to the next RF front-end module through each RF front-end module. Among them, the first data signal and the first clock signal transmitted from the RF transceiver are first transmitted through each RF front-end module until they are transmitted through the last level of RF front-end module. Each RF front-end module also needs to perform local identification initialization based on the received data signal, generate the identification of the next level RF front-end module, and encapsulate it into a third control signal and send it to the next level RF front-end module. That is, the identification of the next level RF front-end module is notified by the previous level RF front-end module. In this way, the unidirectional transmission of control signals according to the ring link and the chain link is more efficient than the one-drive-many transmission method of the existing technology.

[0021] In one possible design, the first data signal includes a synchronization header field, a chip select field, an operating mode field, a burst length field, and an address field; wherein the synchronization header field is used to indicate that the first control signal starts transmission; the chip select field is used to indicate the identifier of the RF front-end module; the operating mode field is used to indicate that the first control signal is a write operation instruction or a read operation instruction or an identifier initialization instruction; the burst length field is used to indicate the register address length for a read operation or a write operation; and the address field is used to indicate the register address when performing a write operation or a read operation. The fields included in the data signal are not limited to these, and may also include other fields. The first data signal sent by the RF transceiver to at least one RF front-end module, and the data signal in the readback response sent by the RF front-end module to the RF transceiver can be transmitted in the format of the first data signal.

[0022] In one possible design, the control signal includes a synchronization header field. The synchronization header field occupies N consecutive bits, and the bit value of the N consecutive bits is 1. The remaining fields of the first data signal, except the synchronization header field, do not contain N consecutive bits, where N is an integer greater than or equal to 5. Among all the bits occupied by the remaining fields in the first data signal, the bit value of the first bit of every N-1 consecutive bits is 0.

[0023] In a traditional RF transceiver and at least one RF front-end module (RFFEM) driving multiple devices, the length of the synchronization header field is typically less than 5 bits, for example, 4 bits. This application sets the length of the synchronization header field to N bits with a bit value of 1, where N is an integer greater than or equal to 5, and sets the remaining fields to have no consecutive N bits with a bit value of 1. This allows the receiving side to quickly identify the start of transmission of the first control signal based on the synchronization header field.

[0024] In one possible design, the bits occupied by the synchronization header field are 5 consecutive bits, and the bit value of the 5 consecutive bits is 1. Among all the bits occupied by the remaining fields in the first data signal except the synchronization header field, the bit value of the first bit of every 4 consecutive bits is 0. That is, the present application can enable the receiving side to quickly identify the first control signal to start transmission based on the synchronization header field by having the bits occupied by the synchronization header field be 5 consecutive bits with a value of 1, and the remaining fields do not have 5 consecutive bits with a value of 1. Moreover, when a bit with a value of 0 is inserted every 4 bits, it can be ensured that the number of clock cycles is greater than the number of data cycles, that is, the clock is always transmitted when there is no data transmission. In this way, when reading back data, the clock can continue to be provided to the RF front-end module even if the RF front-end module has not completed initialization, and the RF front-end module does not need to return the read-back data immediately.

[0025] In one possible design, the working mode field is used to indicate that when the first control signal is a write operation instruction, the first data signal also includes a switching number field and a data field; the switching number field is used to indicate the number of registers when performing a write operation to the same register address in the first data signal; the data field is used to indicate the data to be written to the register address indicated by the address field. Among them, the switching number field can be understood as performing a write operation on the same address by multiple exchanges, and can be used in conjunction with the burst length field. For example, first perform a write operation by performing multiple exchanges on the same address, and then perform a write operation in a two-dimensional configuration with increasing burst length. For example, when the burst length field indicates 3 addresses, each address can write 4 registers to each address continuously according to the switching number field, which is a two-dimensional write operation. Compared with traditional write operations, one address is used to indicate the bit value of a register, and it is impossible to write repeatedly on one address.

[0026] In one possible design, when the operating mode field is used to indicate that the first data signal is a read operation instruction, a write operation instruction, or an identifier initialization instruction: the first data output port of the RF transceiver is used to send the first data signal to the second data input port of at least one RF front-end module via a data line in a control bus; the first clock output port of the RF transceiver is used to send the first clock signal to the second clock input port of at least one RF front-end module via a clock line in the control bus; in the case where the at least one first RF front-end module is a plurality of first RF front-end modules, for each first RF front-end module, the second data input port of the first RF front-end module is used to transparently transmit the received first data signal to the second data output port of the first RF front-end module; the second data output port of the first RF front-end module is used to send the first data signal to the second data input port of the next-stage first RF front-end module via the data line in the control bus; for each first RF front-end module, the second clock input port of the first RF front-end module is used to transparently transmit the received first clock signal to the second clock output port of the first RF front-end module; and the second clock output port of the first RF front-end module is used to send the first clock signal to the second clock input port of the next-stage first RF front-end module via the clock line in the control bus.

[0027] That is, regardless of whether the first control signal is a read operation instruction, a write operation instruction, or an identifier initialization instruction, each RF front-end module that receives the first data signal first unconditionally transparently transmits the received first data signal and the first clock signal to the next-level RF front-end module. The RF front-end module that receives the first control signal then determines whether a response is required based on the first data signal. This improves the efficiency of the RF transceiver accessing the RF front-end module when the first control signal is transmitted unidirectionally.

[0028] In one possible design, the working mode field is used to indicate that the first control signal is a read operation instruction, and the chip select field is used to indicate the identifier of the kth RF front-end module in at least one RF front-end module, when k is a natural number: the kth RF front-end module is used to read data information according to the burst length field, the address field and the switching number field, generate a read response instruction, and transmit the data signal in the read response instruction to the first data input port of the RF transceiver through the second data output port of the kth RF front-end module, the data port between the second data output port of the kth RF front-end module and the second data output port of the second RF front-end module, and the second data output port of the second RF front-end module; transmit the clock signal in the read response instruction to the second clock input port of the second RF front-end module through the second clock output port of the kth RF front-end module and the clock port between the second clock output port of the kth RF front-end module and the second clock input port of the second RF front-end module; the RF transceiver is used to sample the data signal in the read response instruction inputted from the first data input port through the clock recovery circuit in the RF transceiver.

[0029] That is, the readback response sent by the RF front-end module to the RF transceiver is also transmitted in a single direction. The readback process does not need to be slowed down, and full-rate readback can be achieved, thereby improving readback efficiency.

[0030] In one possible design, the working mode field is used to indicate that when the first data signal is the first identification initialization instruction, the first data signal of the first identification initialization instruction includes the identification of the first RF front-end module in at least one RF front-end module; in the case where at least one RF front-end module is a plurality of RF front-end modules, the first RF front-end module is used to configure the identification of the first RF front-end according to the first identification initialization instruction received by the second data input port and the second clock input port of the first RF front-end module, and generate a second identification initialization instruction, the second identification initialization instruction includes the identification of the second RF front-end module in at least one RF front-end module, and transmits the second identification initialization instruction to the second RF front-end module through the second data output port and the second clock output port of the first RF front-end module. The RF front-end module sends a second identification initialization instruction; the kth RF front-end module among at least one RF front-end module is used to receive the kth identification initialization instruction sent by the k-1th RF front-end module through the second data input port and the second clock input port of the kth RF front-end module, the kth identification initialization instruction including the identification of the kth RF front-end module, and configure the identification of the kth RF front-end module according to the kth identification initialization instruction; generate the k+1th identification initialization instruction, the k+1th identification initialization instruction including the identification of the k+1th RF front-end module among at least one RF front-end module, and send the k+1th identification initialization instruction to the k+1th RF front-end module through the second data output port and the second clock output port of the kth RF front-end module.

[0031] That is, when the first data signal is the first identification initialization instruction, the first identification initialization instruction can be transparently transmitted through each RF front-end module first, and each RF front-end module can know in advance that identification initialization is required. Moreover, each RF front-end module can configure its own identification according to the received identification initialization instruction, and at the same time generate an identification initialization instruction to instruct the next-level RF front-end module and send it to the next-level RF front-end module. In this way, the identification initialization process can trigger the identification configuration process through only one initialization instruction, and the same RF front-end module can be used on the same chain. This is different from the existing system that does not support two completely identical RF front-end modules on the same chain.

[0032] In one possible design, the clock line between the first clock output port of the RF transceiver and the second clock input port of the first RF front-end module in at least one RF front-end module is equal to the length of the data line between the first data output port of the RF transceiver and the second data input port of the first RF front-end module; for two adjacent RF front-end modules in at least one RF front-end module, the clock line between the second clock output port of the previous RF front-end module and the second clock input port of the next RF front-end module is equal to the length of the data line between the second data output port of the previous RF front-end module and the second data input port of the next RF front-end module.

[0033] This way, if both control signal transmission and data readback are unidirectional and each clock and data line segment is of equal length, the phase relationship between the clock and data between any two nodes can be maintained, facilitating timing closure. This also eliminates the need for speed reduction during the readback process, allowing for full-rate readback. Furthermore, there are no constraints on the distance between adjacent devices, as long as the data and clock lines between the devices are of equal length and the signal drive requirements are met.

[0034] In a second aspect, a method for transmitting a control signal is applied to a radio frequency device, which includes a radio frequency transceiver; the radio frequency transceiver includes a control master interface, the control master interface includes a first clock port and a first data port; at least one radio frequency front-end module, each radio frequency front-end module includes a control slave interface, the control slave interface includes a second clock port and a second data port; the first clock port is coupled to the second clock port of at least one radio frequency front-end module in a daisy chain in a linear topology through a control bus, and the first data port is coupled to the second data port of at least one radio frequency front-end module in a daisy chain in a ring topology through the control bus; the method includes: the first clock port in the control master interface sends a first clock signal of a first control signal to the second clock port of each radio frequency front-end module through a clock line in the control bus; the first data port in the control master interface sends a first data signal of the first control signal to the second data port of each radio frequency front-end module through a data line in the control bus, and the first clock signal is used for each radio frequency front-end module to sample the received first data signal.

[0035] The beneficial effects of the second aspect can be found in the description of the first aspect.

[0036] In one possible design, the first clock port includes a first clock output port, the second clock port includes a second clock input port, and the first clock output port is cascade-coupled in sequence with the second clock input port of at least one RF front-end module in a daisy chain in a linear topology through a clock line in a control bus.

[0037] In one possible design, the first data port includes a first data output port and a first data input port, and the second data port includes a second data input port and a second data output port; the first data output port and the first data input port are coupled to the second data input port and the second data output port of at least one RF front-end module in a daisy chain with a ring topology through a data line in a control bus to form a data loopback link.

[0038] In one possible design, when at least one RF front-end module is a plurality of RF front-end modules, the plurality of RF front-end modules include at least one first RF front-end module and a second RF front-end module, and the second RF front-end module is the last RF front-end module on the daisy chain of the linear topology structure; wherein the control slave interface of each first RF front-end module also includes a second clock output port.

[0039] In one possible design, when the first control signal is used to instruct a target RF front-end module in at least one RF front-end module to perform a write operation, the first control signal includes an identifier of the target RF front-end module, data to be written, and a register address; the target RF front-end module samples the first data signal according to the first clock signal to obtain the data to be written and the register address, and writes the data to be written into the register of the target RF front-end module according to the register address.

[0040] In one possible design, a first control signal is used to instruct a target RF front-end module in at least one RF front-end module to perform a read operation. When the read operation is used to read back the data written into the register of the target RF front-end module, the first control signal includes the identifier and register address of the target RF front-end module; after the target RF front-end module samples the first data signal according to the first clock signal to obtain the register address, it reads the data corresponding to the register address and generates a second control signal, the second control signal including the data corresponding to the register address; the second control signal is transparently transmitted to the RF transceiver through the target RF front-end module.

[0041] In one possible design, when the first control signal is used to instruct at least one RF front-end module to perform an identification initialization operation of the RF front-end module, the first control signal includes the identification of the first RF front-end module in the at least one RF front-end module; after each RF front-end module performs local identification initialization of the RF front-end module, it generates a third control signal, the third control signal includes the identification of the next RF front-end module, and sends the third control signal to the next RF front-end module.

[0042] In one possible design, the first data signal includes a synchronization header field, a chip select field, an operating mode field, a burst length field and an address field; wherein the synchronization header field is used to indicate that the first control signal starts to be transmitted; the chip select field is used to indicate the identifier of the RF front-end module that executes the first control signal; the operating mode field is used to indicate that the first control signal is a write operation instruction or a read operation instruction or an identifier initialization instruction; the burst length field is used to indicate the register address length for a read operation or a write operation; and the address field is used to indicate the register address when performing a write operation or a read operation.

[0043] In one possible design, the synchronization header field occupies 5 consecutive bits, and the bit value of the 5 consecutive bits is 1. Among all the bits occupied by the remaining fields in the first data signal except the synchronization header field, the bit value of the first bit of every 4 consecutive bits is 0.

[0044] In one possible design, the working mode field is used to indicate that when the first control signal is a write operation instruction, the first data signal also includes a switching number field and a data field; the switching number field is used to indicate the number of registers in the first data signal when a write operation is performed on the same register address; the data field is used to indicate the data to be written to the register address indicated by the address field.

[0045] In one possible design, the operating mode field is used to indicate that the first control signal is a read operation instruction, a write operation instruction, or an identification initialization instruction:

[0046] The first data port in the main interface sends a first data signal of a control signal to the second data port of each RF front-end module through the data line in the control bus, including: the first data output port of the RF transceiver sends the first data signal to the second data input port of at least one RF front-end module through the data line in the control bus; the first clock output port of the RF transceiver sends the first clock signal to the second clock input port of at least one RF front-end module through the clock line in the control bus; in the case where at least one first RF front-end module is a plurality of first RF front-end modules, for each first RF front-end module, the second data input port of the first RF front-end module transparently transmits the received first data signal to the first RF front-end The second data output port of the module; the second data output port of the first RF front-end module sends the first data signal to the second data input port of the first RF front-end module of the next level through the data line in the control bus; the first clock port in the main interface sends the clock signal of the control signal to the second clock port of each RF front-end module through the clock line in the control bus, including: for each first RF front-end module, the second clock input port of the first RF front-end module transmits the received first clock signal to the second clock output port of the first RF front-end module; the second clock output port of the first RF front-end module sends the first clock signal to the second clock input port of the first RF front-end module of the next level through the clock line in the control bus.

[0047] In one possible design, when the working mode field is used to indicate that the first data signal is a read operation instruction, and the chip select field is used to indicate the identifier of the kth RF front-end module in at least one RF front-end module, the method also includes: the kth RF front-end module reads data information according to the burst length field, the address field and the switching number field, generates a read response instruction, and transmits the data signal in the read response instruction to the first data input port of the RF transceiver through the second data output port of the kth RF front-end module, the data port between the second data output port of the kth RF front-end module and the second data output port of the second RF front-end module, and the second data output port of the second RF front-end module; transmits the clock signal in the read response instruction to the second clock input port of the second RF front-end module through the second clock output port of the kth RF front-end module and the clock port between the second clock output port of the kth RF front-end module and the second clock input port of the second RF front-end module; and the RF transceiver samples the data signal in the read response instruction inputted from the first data input port through the clock recovery circuit in the RF transceiver.

[0048] In one possible design, the working mode field is used to indicate that when the first control signal is the first identification initialization instruction, the first data signal of the first identification initialization instruction includes the identification of the first RF front-end module in at least one RF front-end module; the method also includes: in the case where at least one RF front-end module is a plurality of RF front-end modules, the first RF front-end module configures the identification of the first RF front-end according to the first identification initialization instruction received by the second data input port and the second clock input port of the first RF front-end module, and generates a second identification initialization instruction, the second identification initialization instruction includes the identification of the second RF front-end module in at least one RF front-end module, and sends the second identification initialization instruction to the first RF front-end module through the second data output port and the second clock output port of the first RF front-end module. 2 RF front-end modules send a 2nd identification initialization instruction; the kth RF front-end module among at least one RF front-end module is used to receive the kth identification initialization instruction sent by the k-1th RF front-end module through the second data input port and the second clock input port of the kth RF front-end module, the kth identification initialization instruction includes the identification of the kth RF front-end module, and configure the identification of the kth RF front-end module according to the kth identification initialization instruction; generate the k+1th identification initialization instruction, the k+1th identification initialization instruction includes the identification of the k+1th RF front-end module among at least one RF front-end module, and send the k+1th identification initialization instruction to the k+1th RF front-end module through the second data output port and the second clock output port of the kth RF front-end module.

[0049] In one possible design, the clock line between the first clock output port of the RF transceiver and the second clock input port of the first RF front-end module in at least one RF front-end module is equal to the length of the data line between the first data output port of the RF transceiver and the second data input port of the first RF front-end module; for two adjacent RF front-end modules in at least one RF front-end module, the clock line between the second clock output port of the previous RF front-end module and the second clock input port of the next RF front-end module is equal to the length of the data line between the second data output port of the previous RF front-end module and the second data input port of the next RF front-end module.

[0050] In a third aspect, a communication device is provided, comprising a radio frequency device of any possible design described above and at least one processor, the at least one processor being connected to a memory, and the at least one processor being used to read and execute a program stored in the memory, so that the communication device executes a method as described in the second aspect or any one of the second aspects described above.

[0051] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the control signal sending method in the above-mentioned second aspect and any possible implementation method.

[0052] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a computer or a processor, it enables the computer or the processor to execute the control signal sending method in the above-mentioned second aspect and any possible implementation method.

[0053] In a sixth aspect, an embodiment of the present application provides a radio frequency module, which includes an antenna and a radio frequency device as in the first aspect and any possible design of the first aspect.

[0054] It can be understood that any of the radio frequency devices, communication devices, computer-readable storage media or computer program products provided above can be applied to the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods and will not be repeated here.

[0055] These and other aspects of the present application will become more readily apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] FIG1 is a schematic diagram of a terminal device according to an embodiment of the present application;

[0057] FIG2 is a schematic diagram of an architecture including a radio frequency transceiver and a radio frequency front end provided in an embodiment of the present application;

[0058] FIG3 is a schematic diagram of a MIPI RFFE topology structure provided in an embodiment of the present application;

[0059] FIG4 is a schematic diagram of an SPI topology structure provided in an embodiment of the present application;

[0060] FIG5 is a schematic structural diagram of a radio frequency device provided in an embodiment of the present application;

[0061] FIG6 is a schematic structural diagram of a radio frequency device provided in an embodiment of the present application;

[0062] FIG7 is a schematic diagram of a frame format of a first data signal in a first control signal provided by an embodiment of the present application;

[0063] FIG8 is a schematic diagram of a frame format of a first data signal in a first control signal provided by an embodiment of the present application;

[0064] FIG9 is a flow chart of a control signal transmission method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] For ease of understanding, some examples of concepts related to the embodiments of this application are provided for reference as follows:

[0066] Mobile Industry Processor Interface-Radio Frequency Front End (MIPI-RFFE): A control interface standard for the RF front-end of mobile terminals. The MIPI RFFE protocol bus consists of a power line (VIO) and two control lines (SCLK and SDATA). It is simple to implement and deploy, enabling near-real-time control within required timing requirements. SCLK can be understood as the clock line, and SDATA as the data line.

[0067] Serial Peripheral Interface (SPI): A high-speed, full-duplex, synchronous communication bus that occupies only four lines (SCLK, MOSI, MISO, and CS) on the chip pins, saving chip pins and space on the PCB layout. MOSI can be understood as the data input line, MISO can be understood as the data output line, and CS can be understood as the chip select signal line.

[0068] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0069] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.

[0070] Figure 1 shows a schematic diagram of the terminal device framework. A mobile terminal includes an antenna, radio frequency circuit, baseband processor (BP), application processor (AP), memory, power management module, and other peripheral circuits (such as audio module, display module, and camera module).

[0071] The antenna is a device in a mobile terminal for receiving signals.

[0072] The RF circuit may include a RF transceiver and a RF front-end (RFFE) device. The RF transceiver may also be referred to as a RF integrated circuit (RFIC). An RF integrated circuit can be understood as a RF transceiver semiconductor that can be composed of a logic area and an analog circuit area. The RF transceiver can convert digital signals from a modem chip (baseband processor) into analog signals, and then convert them into radio frequencies usable by the user and transmit them through the RF front-end module and antenna. At the same time, the RF transceiver can convert external signals received through the RF front-end module into digital signals and transmit them to the modem chip. The RF front-end module is the part between the baseband processor and the antenna. It can convert binary signals into high-frequency radio electromagnetic wave signals during signal transmission and convert received electromagnetic wave signals into binary digital signals during signal reception. The RF front-end module typically includes components such as a power amplifier (PA), a filter, a duplexer, an RF switch, and a low-noise amplifier.

[0073] The baseband processor can be thought of as a wireless modem. Communication between the application processor and the baseband processor can be accomplished through traditional AT (attention) commands or the mobile broadband interface model (MBIM) to facilitate functions such as calls, short messages, and mobile internet access. The application processor primarily implements terminal device functions, while the baseband chip provides communication.

[0074] It's understood that the radio frequency circuitry described above is generally responsible for transmitting and receiving information. The baseband processor is generally responsible for processing information. The baseband processor can be used to synthesize the baseband signal to be transmitted or decode the received baseband signal.

[0075] In the fifth generation mobile communication technology (5G), as shown in FIG2 , there is a schematic diagram of the architecture of a radio frequency device 20 including a radio frequency transceiver and a radio frequency front-end module. There are a service signal interface and a control signal interface between the radio frequency transceiver and the radio frequency front-end module. The service signal interface is used to transmit service signals, and the control signal interface is used to transmit control signals. Moreover, multiple radio frequency front-end modules are often connected to one radio frequency transceiver. Since the duration of the 5G signal symbol is short, the transmission of the control signal is also relatively frequent. Especially for the 5G high frequency (HF) scenario, when the terminal device adjusts the amplitude and phase of the antenna array of the antenna array to perform beamforming, there is also a need for the radio frequency integrated circuit to refresh the code book to the radio frequency front-end module during the service communication process. The code book is used to indicate the amplitude and phase of the antenna array. The code book can also be regarded as a control signal sent by the radio frequency transceiver to the radio frequency front-end module. This process requires a larger control signal bandwidth. Of course, the type of the control signal can also be other types of signals besides the code book, which is not limited in this application.

[0076] In a traditional solution, a standard MIPI RFFE protocol interface can be used between the RF transceiver and the RF front-end module to transmit control signals. Figure 3 shows a schematic diagram of a MIPI RFFE topology structure, which includes a RF transceiver (RFIC) 31 and multiple RF front-end modules 32 (for example, RFFE_1, RFFE_2, ..., RFFE_N, where N is an integer greater than or equal to 1). The RF transceiver 31 may include an RF transceiver circuit, and the RF front-end module 32 may include a low-noise amplifier, a power amplifier, an RF switch, and a bandpass filter. Among them, the RF transceiver 31 can be understood as a master device (master), and the RF front-end module 32 can be understood as a slave device (slave). Based on this, the RF transceiver 31 also includes a main interface 311, which can be used for bus mastering of the MIPI RFFE bus. The master interface 311, which transmits a port for the clock signal SCLK and a port for the data signal SDATA, can communicate with the slave interfaces 321 of multiple RFFE modules 32, which transmit a port for the clock signal SCLK and a port for the data signal SDATA. The MIPI RFFE bus also has its own external and switchable power supply voltage for the I / O interface. In a traditional RFFE bus system, each RFFE module is identified by a slave identifier: a unique source identifier (USID), a manufacturer ID, and a product ID. The MIPI specification allows up to 15 RFFEs on the bus and specifies the address range for component types. The manufacturer ID is defined by the MIPI Alliance, and the product ID is defined by the manufacturer. However, if two identical RFFEs (for example, two devices of the same type produced by the same manufacturer) are coupled to the same SCLK and SDATA signals, a bus conflict will occur, and the master interface 311 may not be able to distinguish between the two identical RFFE devices. In some conventional implementations, this situation can be addressed by using additional pins to independently enable, disable, or address the same RFFE to distinguish between multiple RFFEs.

[0077] The port for transmitting the clock signal SCLK is referred to as the clock port SCLK, and the port for transmitting the data signal SDATA is referred to as the data segment port SDATA. The clock port SCLK and the data port SDATA can be used to transmit control signals. When the RF transceiver 31 sends a control signal to an RF front-end module 32 among multiple RF front ends, the RF transceiver 31 synchronously sends the clock signal of the control signal and the data portion signal of the control signal (referred to as the data signal in this application) through the clock port SCLK and the data port SDATA. The data signal can carry the identifier of the RF front-end module 32 to communicate. Among them, the data port SDATA of the RF transceiver 31 and the RF front-end module 32 can provide a bidirectional signal, that is, the read-back data can also be sent to the data port SDATA of the RF transceiver 31.

[0078] It can be understood that the above-mentioned MIPI RFFE topology structure is equivalent to one RF transceiver driving multiple RF front-end modules. Configuring multiple RF front-end modules (for example, refreshing the codebook) can easily lead to the following problems.

[0079] 1) The clock rate of the clock port SCLK is limited, for example, it can support a maximum of 52M. The rate at which the RF transceiver configures the RF front-end module is slow, which easily affects the startup and service switching time.

[0080] 2) Generally, during the readback process, the data needs to be read back at half the rate of 52M, which takes a long time. The readback operation has a significant impact on the real-time performance of the configuration operation, thereby reducing the real-time performance.

[0081] 3) The aforementioned MIPI RFFE topology is equivalent to a star link, which places high demands on signal drivers. As the number of downstream RF front-end modules increases, the quality of control signals tends to deteriorate, making convergence difficult.

[0082] 4) The maximum distance between the RF transceiver and the RF front-end module, and between RF front-end modules is limited, for example, to 15 cm, which restricts the layout and routing of the printed circuit board (PCB).

[0083] 5) During power-on initialization, the USIDs of multiple RF front-end modules also need to be modified via control signals. This is achieved by programming each RF front-end module independently at the same time, which is inefficient. Moreover, if at least two of the multiple RF front-end modules are identical, programming the USIDs of at least two identical RF front-end modules will not be possible.

[0084] In another traditional solution, an SPI protocol interface can be used between the RF transceiver and the RF front-end module to transmit control signals. As shown in (a) in Figure 4, a schematic diagram of an SPI topology structure is shown, which includes a RF transceiver (RFIC) 41 and multiple RF front-end modules 42 (for example, RFFE_1, RFFE_2, ..., RFFE_N, where N is an integer greater than or equal to 1). The RF transceiver 41 includes a control master interface 411, which includes a clock port SCLK, a master output slave input (MOSI) port, a master input slave output (MISO) port, and N chip select (CS) ports (CS1, CS2, ..., CS N ). Each RF front-end module 42 includes a control slave interface 421, and the control slave interface 421 includes a clock port SCLK, a MOSI port, a MISO port, and a CS port, wherein the MOSI and MISO ports are used to transmit the data portion of the control signal. The clock port SCLK of the control master interface 411 is coupled with the clock port SCLK of each control slave interface 421, the MOSI port of the control master interface 411 is coupled with the MOSI port of each control slave interface 421, the MISO port of the control master interface 411 is coupled with the MISO port of each control slave interface 421, the CS1 port of the control master interface 411 is coupled with the CS port of the control slave interface 421 of RFFE_1, the CS2 port of the control master interface 411 is coupled with the CS port of the control slave interface 421 of RFFE_2, and so on. N The port is coupled to the CS port of the control slave interface 421 of RFFE_N.

[0085] It can be understood that in the SPI topology shown in (a) of Figure 4, the RF transceiver 41 requires multiple CS ports, occupying multiple hardware pins. Moreover, in the case of one drive multiple, the maximum rate supported when the RF transceiver 41 and multiple RF front-end modules 42 transmit control signals is also limited. Moreover, the requirements for signal driving are high, and as the number of RF front-end modules 42 increases, the signal quality is prone to deterioration. At the same time, in this topology, there is also the problem of limited maximum distance between the RF transceiver and the RF front-end module, and between the RF front-end modules and the RF front-end modules.

[0086] FIG4(b) shows another schematic diagram of an SPI topology. Unlike the SPI topology shown in FIG4(b), the MOSI port of the master interface 411 transmitting the data portion of the control signal and the MOSI port of the slave interface 421 of the multiple RF front-end modules 42 are coupled in series, and the MISO port of the slave interface 421 of the Nth RF front-end module RFFE_N is coupled to the MISO of the master interface 411 of the RF transceiver 41, which is equivalent to the data portion of the transmission control signal being transmitted sequentially under the condition of series coupling. If readback is to be achieved, the readback data can be sent to the MISO of the frequency integrated circuit through the MISO port of the Nth RF front-end module RFFE_N. However, the clock port SCLK of the RF transceiver and multiple RF front-end modules is still a one-drive-many structure. There are also problems such as limited maximum supported rate, easy deterioration of signal quality, and limited maximum distance.

[0087] To this end, the present application provides a radio frequency device for a terminal device. The clock and data terminals between the radio frequency transceiver and multiple radio frequency front-end modules in the radio frequency device are coupled using a daisy-chain scheme. That is, the clock output terminal SCLK_o and the data output terminal SDATA_o of the radio frequency transceiver serving as the master device output a control signal to the clock input terminal SCLK_i and the data input terminal SDATA_i of the radio frequency front-end module serving as the first-level slave device. The control signal is then output from the clock output terminal SCLK_o and the data output terminal SDATA_o of the radio frequency front-end module serving as the first-level slave device, sequentially passing through multiple stages of radio frequency front-end modules connected in series, and finally output to the clock input terminal SCLK_i and the data input terminal SDATA_i of the radio frequency front-end module serving as the last-level slave device. At the same time, the data output terminal SDATA_o of the radio frequency front-end module serving as the last-level slave device can also transmit readback data to the data input terminal SDATA_i of the radio frequency transceiver serving as the master device.

[0088] In this way, when the clock end and data end used by the RF transceiver and multiple RF front-end modules for transmitting control signals are coupled in the form of a daisy chain, the RF transceiver sends a control signal to any RF front-end module among the multiple RF front-end modules, and a certain RF front-end module sends readback data to the RF transceiver. Both are transmitted in a single direction, which can avoid the situation in the traditional solution where one RF transceiver drives multiple RF front-end modules, and can improve the communication rate between the RF transceiver and multiple RF front-end modules.

[0089] The terminal device in the embodiment of the present application may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal device in the embodiment of the present application may be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a terminal device in 5G network or a terminal device in the future evolved public land mobile communication network (PLMN), etc. The embodiment of the present application does not limit the application scenario. The methods and steps implemented by the terminal device in this application can also be implemented by components (such as chips or circuits) that can be used in the terminal device. In this application, the aforementioned terminal device and the components (such as chips or circuits) that can be set in the aforementioned terminal device are collectively referred to as terminal devices.

[0090] FIG5 is a schematic structural diagram of a radio frequency device 50 provided in the present application.

[0091] The radio frequency device 50 includes a radio frequency transceiver (RFIC) 501 and at least one radio frequency front-end module 502 (RFFE). The at least one radio frequency front-end module 502 may be identical or not identical.

[0092] The RF transceiver 501 includes a control master interface 5011, and each RF front-end module 502 in at least one RF front-end module 502 includes a control slave interface 5021. The control master interface 5011 includes a first clock port and a first data port, and the control slave interface includes a second clock port and a second data port.

[0093] The first clock port in the control master interface 5011 is coupled to the second clock port in the control slave interface 5021 of at least one RF front-end module 502 through the control bus 511 in a daisy chain with a linear topology structure, and the first data port in the control master interface 5011 is coupled to the second data port in the control slave interface 5021 of at least one RF front-end module through the control bus in a daisy chain with a ring topology structure.

[0094] Linear and ring topologies are two types of daisy chain network topologies. For example, a linear topology can be understood as nodes ABCDE, with ABCDE and CMNO (branching at C) forming a daisy chain linear topology. A ring topology can be understood as a cascade of multiple nodes, with a loop connection from the last node to the first node, for example, ABCDEA, often referred to as a "daisy chain loop."

[0095] In addition to the star-shaped network, the daisy chain topology allows for the addition or reduction of nodes within each daisy chain. Direct communication is possible only between adjacent nodes, with each node connected to at most two other nodes. When a node in a daisy chain acts as a transmitter, it can sequentially transmit signals to subsequent nodes along the daisy chain.

[0096] In some embodiments, the RF transceiver 501 may include a transceiver (not shown in FIG. 5 ) and a main control interface 5011, and the RF front-end module 502 may include a RF front-end device (not shown in FIG. 5 ) and a slave control interface 5021. The transceiver may receive a digital signal of a control signal from the processor, convert it into an analog signal, and then convert it into a radio frequency usable by the user. The analog signal is then sent to the slave control interface 5021 of the RF front-end module 502 via the main control interface 5011. The RF front-end device in the RF front-end module 502 converts the radio frequency into a radio electromagnetic wave signal in conjunction with the antenna for transmission. Simultaneously, the main control interface 5011 of the RF transceiver 501 may convert external signals received through the slave control interface 5021 of the RF front-end module and the RF front-end device into digital signals and transmit them to the modem chip. The RF front-end module 502 is the component between the baseband processor and the antenna, and may convert binary signals into high-frequency radio electromagnetic wave signals during signal transmission and convert received electromagnetic wave signals into binary digital signals during signal reception. The RF front-end components in the RF front-end module 502 may generally include a power amplifier (PA), a filter, a duplexer, a RF switch, a low noise amplifier, and other components.

[0097] 5 , the first clock port includes a first clock output port SCLKm_o, the first data port includes a first data output port SDATAm_o and a first data input port SDATAm_i, and the second clock port includes a second clock input port SCLK_i, a second data input port SDATA_i, and a second data output port SDATA_o.

[0098] The first clock output port SCLKm_o of the RF transceiver 501 is cascade-coupled in sequence with the second clock input port SCLK_i of at least one RF front-end module 502 in a daisy-chain linear topology via a clock line in the control bus;

[0099] The first data output port SDATAm_o and the first data input port SDATAm_i of the RF transceiver 501 are coupled to the second data input port SDATA_i and the second data output port SDATA_o of at least one RF front-end module 502 in a daisy chain of a ring topology through the data line in the control bus to form a data loopback link.

[0100] In this application, a control bus can be understood as a bus that transmits control signals. The control bus includes a clock line and a data line, and the control signal includes a clock signal and a data signal. The data signal can be transmitted via the data line coupled to the first data output port SDATAm_o and the first data input port SDATAm_i of the host interface 5011, as well as the data line coupled to the second data input port SDATA_i and the second data output port SDATA_o. The clock signal can be transmitted via the data line coupled to the first clock output port SCLKm_o and the data line coupled to the second clock input port SCLK_i.

[0101] In which, the above-mentioned "cascade coupling in sequence" can be understood as, the first clock output port SCLKm_o of the RF transceiver 501 is connected to the second clock input port SCLK_i of the first-stage RF front-end module 502, the second clock output port SCLK_o of the first-stage RF front-end module 502 is connected to the second clock input port SCLK_i of the second-stage RF front-end module 502, the second clock output port SCLK_o of the second-stage RF front-end module 502 is connected to the second clock input port SCLK_i of the third-stage RF front-end module 502, and so on, connected in sequence until connected in series / cascade to the second clock input port SCLK_i of the last-stage RF front-end module 502, so that the first clock output port SCLKm_o of the RF transceiver 501 is coupled in series / cascade with the second clock input port SCLK_i and second clock output port SCLK_o of multiple RF front-end modules 502.

[0102] In this way, when the RF transceiver 501 generates a clock signal in the control signal, starting from the first clock output port SCLKm_o of the RF transceiver 501, the clock signal is output to the second clock input port SCLK_i of the first-stage RF front-end module 502, and the second clock input port SCLK_i of the first-stage RF front-end module 502 transparently transmits the clock signal to the second clock output port SCLK_o of the first-stage RF front-end module 502, and the second clock output port SCLK_o of the first-stage RF front-end module 502 transparently transmits the clock signal to the second clock input port SCLK_i of the second-stage RF front-end module 502. In this way, the clock signal is unidirectionally transparently transmitted in the cascade (series) order of the RF front-end modules 502 until the clock signal is transparently transmitted to the second clock input port SCLK_i of the last-stage RF front-end module 502.

[0103] In some embodiments, the first data output port SDATAm_o and the first data input port SDATAm_i of the RF transceiver 501 form a data loopback link through a control bus and the second data input port SDATA_i and the second data output port SDATA_o of at least one RF front-end module 502, which is equivalent to the data port of the RF transceiver 501 and the data port of at least one RF front-end module 502 forming a closed-loop link. When the RF transceiver 501 sends a control signal to a certain RF front-end module 502, the data information of the control signal can be transmitted unidirectionally on the data loopback link.

[0104] Among them, the above-mentioned "data loopback link" can be understood as that the first data output port SDATAm_o of the RF transceiver 501 is connected to the second data input port SDATA_i of the first-stage RF front-end module 502, the second data output port SDATA_o of the first-stage RF front-end module 502 is connected to the second data input port SDATA_i of the second-stage RF front-end module 502, and the second data output port SDATA_o of the second-stage RF front-end module 502 is connected to the second data input port SDATA_i of the third-stage RF front-end module 502, and so on. After being connected in series to the second data output port SDATA_o of the last-stage RF front-end module 502, the second data output port SDATA_o of the last-stage RF front-end module 502 is connected to the first data input port SDATAm_i of the RF transceiver 501, so that the first data input port SDATAm_i and the first data output port SDATAm_o of the RF transceiver 501 and the second data input port SDATA_i and the second data output port SDATA_o of multiple RF front-end modules 502 form a data loopback link.

[0105] In this way, when the RF transceiver 501 generates a data signal in the control signal, starting from the first data output port SDATAm_o of the RF transceiver 501, the data signal is output to the second data input port SDATA_i of the first-stage RF front-end module 502, and the second data input port SDATA_i of the first-stage RF front-end module 502 transparently transmits the data signal to the second data output port SDATA_o of the first-stage RF front-end module 502, and the second data output port SDATA_o of the first-stage RF front-end module 502 transparently transmits the data signal to the second data input port SDATA_i of the second-stage RF front-end module 502, until the data signal is transparently transmitted to the second data input port SDATA_i of the last-stage RF front-end module 502.

[0106] If a certain level of RF front-end module 502 generates a response signal (for example, a read response signal), starting from the second data output port SDATA_o of the starting level RF front-end module 502, the data signal in the response signal is unidirectionally transparently transmitted to the first data input port SDATAm_i of the RF transceiver 501 through the second data input port SDATA_i and the second data output port SDATA_o of the subsequently cascaded RF front-end module 502.

[0107] In some embodiments, if the number of at least one RF front-end module 502 is two or more, the at least one RF front-end module 502 includes at least one first RF front-end module 503 and a second RF front-end module 504, where the second RF front-end module 504 is the last RF front-end module in the daisy chain of the linear topology. The at least one first RF front-end module 503 may be identical or may not be identical.

[0108] The slave interface 5021 of each first RF front-end module 503 of at least one first RF front-end module 503 includes a second clock input port SCLK_i, a second clock output port SCLK_o, a second data input port SDATA_i, and a second data output port SDATA_o.

[0109] The slave interface 5021 of the second RF front-end module 504 includes a second clock input port SCLK_i, a second data input port SDATA_i, and a second data output port SDATA_o.

[0110] Among them, the last-level slave device: the second RF front-end module 504 may include a second clock output port SCLK_o, but the second clock output port SCLK_o of the second RF front-end module 504 is not used. In this way, the RF transceiver 501 does not need to set a clock input port. The RF transceiver 501 can, for example, use an internal clock sampling circuit to perform data sampling of readback data.

[0111] In some embodiments, the control main interface of the RF transceiver 501 can transparently transmit a first control signal through a control bus. The first control signal includes a first clock signal and a first data signal. The first clock signal is used to instruct each RF front-end module 502 to sample the received first data signal.

[0112] The first clock port transparently transmits the first clock signal to the second clock port of each RF front-end module via the clock line in the control bus; and the first data port transparently transmits the first data signal to the second data port of each RF front-end module via the data line in the control bus. That is, even if the first control signal accesses a specific RF front-end module in the at least one RF front-end module 502, the first data signal and the first clock signal in the first control signal must first be transparently transmitted to each RF front-end module.

[0113] Specifically, in some embodiments, if the first control signal is used to instruct a target RF front-end module in at least one RF front-end module to perform a write operation, the first control signal includes an identifier of the target RF front-end module, the data to be written, and a register address. The target RF front-end module is configured to sample the first data signal according to the first clock signal to obtain the data to be written and the register address, and write the data to be written into a register in the target RF front-end module according to the register address.

[0114] In other words, the second data input port SDATA_i of the control slave interface 5021 of each of the at least one RF front-end module 502 will receive the first data signal, which is equivalent to transparent transmission of the first data signal. Only the target RF front-end module 502 that executes the write operation instruction needs to perform the write operation. At the same time, the second clock input port SCLK_i of the control slave interface 5021 will also receive the first clock signal, that is, the first clock signal of the write operation instruction is also transparently transmitted.

[0115] The storage space of a register may include multiple storage addresses, and the register address here can be used to address different storage locations in a register, for example.

[0116] If the first control signal is used to instruct a target RF front-end module in at least one RF front-end module 502 to perform a read operation, and the read operation is used to read back the data written into the register of the target RF front-end module, the first control signal includes the identifier and register address of the target RF front-end module.

[0117] The target RF front-end module is used to read the data corresponding to the register address after sampling the first data signal according to the first clock signal to obtain the register address, and generate a second control signal, the second control signal including the data corresponding to the register address; and transmit the second control signal to the RF transceiver through the target RF front-end module.

[0118] In other words, the second data input port SDATA_i of the slave interface 5021 of each RF front-end module 502 in at least one RF front-end module 502 will receive the first data information during the read operation, which is equivalent to the first data information being transparently transmitted, and only the target RF front-end module that performs the read operation needs to perform the read operation. At the same time, the target RF front-end module that executes the read operation instruction can generate a read response instruction (second control signal) and transmit the data information in the read response instruction back to the RF transceiver 501 through the data port of the subsequent cascaded RF front-end module 502. Similarly, if the first control signal is a read operation instruction, the first clock signal is also transparently transmitted through the clock port of the control slave interface 5021 of each RF front-end module 502 in at least one RF front-end module 502, that is, each RF front-end module 502 will receive the first clock information of the read operation instruction.

[0119] However, when the second clock signal in the read response instruction (second control signal) is transparently transmitted to the last-stage RF front-end module 502 of at least one RF front-end module, and the second clock output port SCLK_o of the last-stage RF front-end module 502 is not used, the slave interface 5021 of the last-stage RF front-end module 502 may not need to transmit the second clock signal in the read response instruction back to the RF transceiver 501.

[0120] In some embodiments, a configuration identification initialization instruction, ie, a control signal for programming the USID, may also be transmitted between the RF transceiver 501 and the at least one RF front-end module 502 .

[0121] For example, when the first control signal is used to instruct at least one RF front-end module 502 to perform an identification initialization operation of the RF front-end module, the first control signal includes the identification of the first RF front-end module in the at least one RF front-end module 502.

[0122] Each RF front-end module 502 is configured to generate a third control signal after initializing the local identifier of the RF front-end module, the third control signal including the identifier of the next RF front-end module, and send the third control signal to the next RF front-end module.

[0123] That is, the first data signal and the first clock signal transmitted from the RF transceiver 501 are first transparently transmitted in each RF front-end module 502 until they are transparently transmitted to the last-level RF front-end module. Each RF front-end module 502 is also required to initialize the local identification according to the received data signal, generate the identification of the next-level RF front-end module and encapsulate it as a third control signal and send it to the next-level RF front-end module. That is, the identification of the next-level RF front-end module is notified by the previous-level RF front-end module. In this way, the unidirectional transmission of control signals according to the ring link and the chain link is more efficient than the one-drive-many transmission method of the existing technology.

[0124] In some embodiments, the control signal (or control instruction) in this application can be understood as an RFFE Bus signal transmitted by the RF transceiver 501 to at least one RF front-end module 502, which is used to configure the switch or gain of a device in a certain RF front-end module 502. For example, taking the device in a certain RF front-end module 502 as an LNA, when the service signal is input from the LNA and then amplified and output by the LNA, the amplification gain of the LNA for the service signal, such as 6dB or 10dB, can be configured through the RFFE Bus signal in this application. That is, the RFFE Bus signal is transmitted to a certain RF front-end module 502 through the data port and clock port in this application to configure the amplification gain.

[0125] It should be noted that at least one RF front-end module 502 includes a case where there is only one RF front-end module 502. In the case where a traditional RF transceiver and multiple RF front-end modules are one-drive-many, the data signal is not transmitted unidirectionally on the data line. The data signal can be sent and received on the data line. The sending and receiving need to be time-division multiplexed on the data line, and the data transmission efficiency is low. In the present application, when the data ports of the RF transceiver 501 and the RF front-end module 502 form a loopback link, the data signal is also transmitted unidirectionally on the data line. Even if data is to be read back and the data is transmitted back to the RF transceiver 501, the data transmission direction remains unchanged and is still transmitted unidirectionally to the RF transceiver 501 through the loopback link, and the data readback efficiency is high.

[0126] Therefore, in the RF device 50 provided by the present application, the first clock output port SCLKm_o of the RF transceiver 501 is cascade-coupled in sequence through the control bus and the second clock input port SCLK_i of at least one RF front-end module. When the first data output port SDATAm_o and the first data input port SDATAm_i of the RF transceiver 501 form a data loopback link through the control bus and the second data input port SDATA_i and the second data output port SDATA_o of at least one RF front-end module, the signal transmission direction of the control signal sent by the RF transceiver 501 to at least one RF front-end module 502 can be unidirectional. For example, the signals for executing write operations and data readback are both unidirectionally transmitted. This is different from the traditional solution in which the RF transceiver sends control signals to the RF front-end module in a one-drive-to-many manner. The present application can improve the rate at which the RF transceiver sends control signals to at least one RF front-end module, and even as the number of RF front-end modules increases, the data readback rate can be achieved at full rate.

[0127] For example, assuming that the number of the at least one RF front end is m, and the value of m is greater than or equal to 3, FIG6 is a schematic structural diagram of a RF device 50 provided in an embodiment of the present application.

[0128] The RF device 50 includes a RF transceiver 501 (RFIC) and m RF front-end modules (RFFE_1, RFFE_2, ..., RFFE_m), where the m RF front-end modules are identical or not identical.

[0129] Among them, the second clock input port SCLK_i of the kth RF front-end module is coupled with the second clock output port SCLK_o of the k-1th RF front-end module, and the second clock output port SCLK_o of the kth RF front-end module is coupled with the second clock input port SCLK_i of the k+1th RF front-end module; k is an integer less than or equal to 2.

[0130] The second data input port SDATA_i of the kth RF front-end module is coupled with the second data output port SDATA_o of the k-1th RF front-end module, and the second data output port SDATA_o of the kth RF front-end module is coupled with the second data input port SDATA_i of the k+1th RF front-end module.

[0131] Among them, the first clock output port SCLKm_o of the RF transceiver 501 is coupled with the second clock input port SCLK_i of the first RF front-end module RFFE_1, the first data output port SDATAm_o of the RF transceiver 501 is coupled with the second data input port SDATA_i of the first RF front-end module RFFE_1, and the second data output port SDATA_o of the mth RF front-end module RFFE_m is coupled with the first data input port SDATAm_i of the RF transceiver 501.

[0132] The RF transceiver 501 may not have a clock input pin. Thus, the second clock output port SCLK_o of the mth RF front-end module RFFE_m is not coupled to the clock input of the RF transceiver 501. This reduces the number of clock input pins for the RF transceiver 501, thus conserving pins. In some embodiments, the clock logic circuit in the RF transceiver 501 may be used for data sampling during data readback. The specific implementation will be described later.

[0133] In some embodiments, the frame formats of the data signals transmitted on the data lines in the control bus are the same.

[0134] FIG7 is a schematic diagram of a frame format of a first data signal in a first control signal. The first data signal in the first control signal may include a command frame portion. The frame type of the command frame portion may include a sync header field, a chip select field, an operation mode field, a burst length field, and an address frame.

[0135] The synchronization header field is used to indicate the start of transmission of the first control signal;

[0136] The chip select field is used to indicate the identifier of the radio frequency front-end module that executes the first control signal;

[0137] The working mode field is used to indicate whether the first control signal is a write operation instruction, a read operation instruction, or an identification initialization instruction.

[0138] The burst length field is used to indicate the register address length for a read or write operation;

[0139] The address field is used to indicate the register address during a write or read operation.

[0140] If the working mode field is used to indicate that the first data signal is a write operation instruction, the first data signal further includes a switch number field and a data field (data frame).

[0141] The switching number field is used to indicate the number of registers when a write operation is performed on the same register address in the first data signal;

[0142] The data information field is used to indicate the data to be written to the register address indicated by the address field.

[0143] Exemplarily, referring to FIG8 , there is shown a schematic diagram of a frame format of a first data signal in a control signal, including a schematic introduction to the frame structure of each field.

[0144] Among them, the bits occupied by the synchronization header field are consecutive 5 bits, and the bit value of the consecutive 5 bits is 1 (111111). Among all the bits occupied by the remaining fields in the control signal except the synchronization header field, the bit value of the first bit of every consecutive 4 bits is 0.

[0145] The chip select field occupies 5 bits, and Figure 8 shows "X4X3X2X1X0", which is used to indicate the USID of the RF front-end module to be accessed by the RF transceiver 501. If the value of the 5 bits of the chip select field is 0, it can indicate that the first control signal is a broadcast instruction. For example, when the first control signal is a read operation instruction, it can be used to read data from the address field of each RF front-end module in at least one RF front-end module 502, or when the first control signal is a write operation instruction, it can be used to write data to the address field of each RF front-end module in at least one RF front-end module 502.

[0146] In some embodiments, up to 31 RF front-end modules can be cascaded.

[0147] Bit 2 "M1M0" in the operating mode field can be used to indicate operating mode 1 of the selected RF front-end module, and bit "RW" can be used to indicate whether the control signal is a read operation instruction or a write operation instruction. Among them, there can be multiple operating modes, such as writing without taking effect first or taking effect immediately after writing, etc., which are not limited in this application.

[0148] The burst length field occupies 4 bits, which is shown as "B3B2B1B0", indicating that burst reading and writing of a maximum of 16 register addresses are supported.

[0149] The address field occupies 16 bits, which is represented as "A0~A15", that is, it can support the reading and writing of a maximum of 16 register addresses.

[0150] The switching times field occupies 4 bits, which is shown as "N3N2N1N0", which means that a maximum of 16 switching times can be supported. In other words, when the first control signal is a write instruction, the maximum number of registers that can be written to the same register address is 16.

[0151] The data field may occupy 8 bits, indicated as "D0 to D7", and is used to indicate the data to be written.

[0152] In addition, if the first control signal is a write instruction, the RF transceiver 501 may also send an activation indicator (activate indicator), or a trigger instruction, to the RF front-end module to which data is to be written each time after sending the first control signal. Referring to Figure 8, the trigger instruction may occupy 6 bits, all of which are 1. For example, when the "M1M0" in the working mode field indicates that writing first is not effective, when the RF front-end module receives the control signal, after performing the write operation, the written data will not be effective first. Only when the RF front-end module receives the trigger instruction can the data written to the register take effect.

[0153] Referring to FIG8 , FIG8 also shows that when the RF transceiver 501 has no instructions to send to the RF front-end module, an IDLE frame may be sent to at least one RF front-end module, and the values ​​of the IDLE frame are all 0s.

[0154] In some embodiments, the operating mode field is used to indicate that the first control signal is a read operation instruction, a write operation instruction, or an identification initialization instruction:

[0155] The first data output port SDATAm_o of the RF transceiver 501 is used to send the first data signal in the first control signal to the second data input port SDATA_i of at least one RF front-end module through the data line in the control bus;

[0156] The first clock output port SCLKm_o of the RF transceiver 501 is used to send the first clock signal in the first control instruction to the second clock input port SCLK_i of at least one RF front-end module through the clock line in the control bus;

[0157] In the case where the at least one first RF front-end module is a plurality of first RF front-end modules, for each first RF front-end module, the second data input port SDATA_i of the first RF front-end module is used to transparently transmit the received first data signal to the second data output port SDATA_o of the first RF front-end module; the second data output port SDATA_o of the first RF front-end module is used to send the first data signal in the first control instruction to the second data input port SDATA_i of the next-level first RF front-end module through the data line in the control bus;

[0158] For each first RF front-end module, the second clock input port SCLK_i of the first RF front-end module is used to transparently transmit the received first clock signal to the second clock output port SCLK_o of the first RF front-end module; the second clock output port SCLK_o of the first RF front-end module is used to send the first clock signal in the first control signal to the second clock input port SCLK_i of the next-level first RF front-end module through the clock line in the control bus.

[0159] That is, when each RF front-end module receives a read operation instruction, a write operation instruction, or an identification initialization instruction, it directly transparently transmits the read operation instruction, the write operation instruction, or the identification initialization instruction to the next-level RF front-end module.

[0160] For example, after the second data input port SDATA_i of the kth RF front-end module RFFE_k receives the synchronization header field of the first control signal from the second data output port SDATA_o of the k-1th RF front-end module RFFE_k-1, the first data signal received can be transmitted to the second data output port SDATA_o of the kth RF front-end module, starting from the synchronization header field. The first data signal is then sent to the second data input port SDATA_i of the k+1th RF front-end module RFFE_k+1 through the second data output port SDATA_o of the kth RF front-end module RFFE_k. This is equivalent to immediately transparently transmitting the first data signal to the next-level RF front-end module upon receiving the first data signal at the second data input port SDATA_i of each RF front-end module.

[0161] For the first clock signal in the read operation instruction, write operation instruction or identification initialization instruction, similar to the first data signal, when the clock input port SCLK_i of each RF front-end module receives the first clock signal, it starts to transmit the clock signal to the next-level RF front-end module synchronously with the first data signal.

[0162] In some embodiments, when the operating mode field in the first data signal is used to indicate that the first control signal is a write operation instruction, if the chip select field in the first data signal is used to indicate the identifier of the kth RF front-end module RFFE_k, it is equivalent to the RF transceiver 501 performing a write operation to the kth RF front-end module RFFE_k.

[0163] The kth RF front-end module RFFE_k is also used to collect the first data signal (address field and data field) input through the second clock input port SCLK_i of the kth RF front-end module RFFE_k, and perform write operations on the data field according to the burst length field, address field, and switching number field.

[0164] In some embodiments, the operating mode field in the first control signal is used to indicate that the first control signal is a read operation instruction, and the chip select field is used to indicate the identifier of the kth RF front-end module RFFE_k in at least one RF front-end module, where k is a natural number:

[0165] The kth RF front-end module RFFE_k is configured to read data information according to the burst length field, the address field, and the switching number field, generate a read response instruction, and transmit the data signal in the read response instruction to the first data input port SDATAm_i of the RF transceiver 501 through the second data output port SDATA_o of the kth RF front-end module, the data port between the second data output port SDATA_o of the kth RF front-end module RFFE_k and the second data output port SDATA_o of the second RF front-end module RFFE_m, and the second data output port SDATA_o of the second RF front-end module RFFE_m;

[0166] The clock signal in the read response instruction is transmitted to the second clock input port SCLK_i of the second RF front-end module RFFE_m through the second clock output port SCLK_o of the kth RF front-end module RFFE_k and the clock end between the second clock output port SCLK_o of the kth RF front-end module RFFE_k and the second clock input port SCLK_i of the second RF front-end module RFFE_m;

[0167] The RF transceiver 501 is configured to sample the data signal in the read response instruction inputted through the first data input port SCLKm_i through a clock recovery circuit in the RF transceiver 501 .

[0168] That is, when the kth RF front-end module RFFE_k generates a read response instruction, it can transmit the data signal in the read response instruction to the RF transceiver 501 through all subsequent RF front-end modules of the kth RF front-end module RFFE_k in the loop.

[0169] When the RF transceiver 501 does not have a clock input pin, only the first data input port SDATAm_i can be retained. The RF transceiver 501 can consider the first data input port SDATAm_i of the RF transceiver 501 to be an asynchronous input. For example, clock data recovery (CDR) technology can be used to acquire data signals. This is equivalent to acquiring the phase of the data signal, without recovering the clock signal of the data signal. For example, data acquisition can be performed using the falling edge, and data acquisition can be started by identifying data with a bit value of 5 consecutive bits.

[0170] Of course, in some embodiments, the RF transceiver 501 may also be designed with a clock input terminal for receiving a clock signal, which is not limited in this application.

[0171] In some embodiments, after the RF transceiver 501 and at least one RF front-end module are powered on, a USID may be initialized for the at least one RF front-end module to ensure that each RF front-end module has a different USID. When the at least one RF front-end module and the RF transceiver 501 in this application are cascade-coupled, the USID initialization operation may be performed according to the actual hardware topology.

[0172] Exemplarily, when the working mode field is used to indicate that the first control signal is the first identification initialization instruction, the first data signal of the first identification initialization instruction includes the identification of the first RF front-end module RFFE_1 in at least one RF front-end module.

[0173] In the case where at least one RF front-end module is a plurality of RF front-end modules, the first RF front-end module RFFE_1 is configured to configure the identification of the first RF front-end module RFFE_1 according to the first identification initialization instruction received through the second data input port SDATA_i and the second clock input port SCLK_i of the first RF front-end module RFFE_1, generate a second identification initialization instruction including the identification of the second RF front-end module RFFE_2 in the at least one RF front-end module, and send the second identification initialization instruction to the second RF front-end module RFFE_2 through the second data output port SDATA_o and the second clock output port SCLK_o of the first RF front-end module RFFE_1. In this way, the second RF front-end module RFFE_2 can perform its own identification configuration according to the received second identification initialization instruction.

[0174] Based on the above example, generally speaking, the kth RF front-end module RFFE_k in at least one RF front-end module is used to receive the kth identification initialization instruction sent by the k-1th RF front-end module RFFE_k-1 through the second data input port SDATA_i and the second clock input port SCLK_i of the kth RF front-end module RFFE_k, the kth identification initialization instruction including the identification of the kth RF front-end module RFFE_k, and the identification of the kth RF front-end module RFFE_k is configured according to the kth identification initialization instruction.

[0175] The kth RF front-end module RFFE_k generates a k+1th identification initialization instruction, which includes the identification of the k+1th RF front-end module RFFE_k+1 among at least one RF front-end module. The k+1th identification initialization instruction is sent to the k+1th RF front-end module RFFE_k+1 via the second data output port SDATA_o and the second clock output port SCLK_o of the kth RF front-end module RFFE_k. In this way, the k+1th RF front-end module RFFE_k+1 can configure its own identification according to the k+1th identification initialization instruction.

[0176] For example, when the bit value of "M1M0" in the above-mentioned working mode field is "00", it indicates that the control signal is for initializing the USID operation of the RF front-end. The data content carried by the data field in the control signal can indicate the initialization identifier of the first RF front-end module RFFE_1, for example, the initialization identifier of the first RF front-end module RFFE_1 is "1". When the control signal (first identifier initialization instruction) is received through the second data input port SDATA_i and the second clock input port SCLK_i of the first RF front-end module RFFE_1, when it is recognized that the control signal is for initializing the USID operation of the RF front-end, the control signal can be directly transmitted to the second RF front-end module RFFE_2 through the second data output port SDATA_o and the second clock output port SCLK_o. Then, the first RF front-end module RFFE_1 can perform the USID configuration operation of the first RF front-end module RFFE_1 according to the data content carried by the data field in the control signal, and configure the USID of the first RF front-end module RFFE_1 to "1". The first RF front-end module RFFE_1 then sends a second identification initialization instruction to the second RF front-end module RFFE_2, and the second identification initialization instruction carries the USID of the second RF front-end module RFFE_2.

[0177] The above process can also be understood as follows: each first RF front-end module that receives the identification initialization instruction (the first identification initialization instruction) not only needs to transparently transmit the identification initialization instruction, but also each first RF front-end module needs to generate an instruction indicating the identification of the next-level RF front-end module and transmit it to the next-level RF front-end module. The second RF front-end module only needs to configure its own identification according to the identification initialization instruction generated by the first RF front-end module of the previous level, and does not need to transparently transmit the first identification initialization instruction.

[0178] In some embodiments, the identification initialization instruction generated by each first RF front-end module itself may also carry its own identification. The next-level RF front-end module needs to first calculate the identification of the next-level RF front-end module itself based on the received identification and then perform identification configuration.

[0179] Thus, compared to the traditional solution where USID programming cannot be performed when two identical RF front-end modules exist, in this application, at least two identical RF front-end modules can exist among the m RF front-ends. That is, through the above-mentioned USID initialization process, USID configuration can also be performed on two identical RF front-end modules on the RF front-end module link.

[0180] In some embodiments, the clock line between the first clock output port SCLKm_o of the RF transceiver 501 and the second clock input port SCLK_i of the first RF front-end module RFFE_1 in at least one RF front-end module is equal to the length of the data line between the first data output port SDATAm_o of the RF transceiver 501 and the second data input port SDATA_i of the first RF front-end module.

[0181] For two adjacent RF front-end modules in at least one RF front-end module, the clock line between the second clock output port SCLK_o of the previous-level RF front-end module and the second clock input port SCLK_i of the next-level RF front-end module is equal to the length of the data line between the second data output port SDATA_o of the previous-level RF front-end module and the second data input port SDATA_i of the next-level RF front-end module.

[0182] For example, the length of the data line between the data port SDATA_i between the RF transceiver 501 and RFFE_1 is equal to the length of the clock line between the clock port SCLK_o between the RF transceiver 501 and RFFE_1, the length of the data line between the data ports between RFFE_1 and RFFE_2 is equal to the length of the clock line between the clock ports between RFFE_1 and RFFE_2, and so on.

[0183] This allows the clock and data lines between RF devices to be of equal length, ensuring the phase relationship between the clock and data between any two RF devices remains constant, facilitating timing closure. Furthermore, the distance between RF devices is not restricted, as long as the clock and data lines are of equal length. Furthermore, when daisy-chaining is used for unidirectional control signal transmission, data readback can be performed at full rate without reducing the data rate, improving the control signal transmission rate between the RF transceiver and the RF front-end module.

[0184] Based on the introduction of the radio frequency device 50 in the above embodiment, FIG9 is a flow chart of a control signal transmission method further provided in an embodiment of the present application.

[0185] 901. A radio frequency transceiver generates a first control signal, where the first control signal includes a first clock signal and a first data signal.

[0186] 902. The first clock port in the control main interface of the RF transceiver sends the first clock signal of the first control signal to the second clock port of each RF front-end module in at least one RF front-end module through the clock line in the control bus, and the first data port in the main interface of the RF transceiver sends the first data signal of the first control signal to the second data port of each RF front-end module in at least one RF front-end module through the data line in the control bus.

[0187] In some embodiments, the operating mode field is used to indicate that the first control signal is a read operation instruction, a write operation instruction, or an identification initialization instruction:

[0188] The first data output port of the RF transceiver sends a first data signal of a first control signal to the second data input port of at least one RF front-end module through a control bus, including:

[0189] The first data output port of the RF transceiver sends the first data signal in the first control instruction to the second data input port of at least one RF front-end module through the data line in the control bus;

[0190] For each first RF front-end module, the second data input port of the first RF front-end module transparently transmits the received first data signal to the second data output port of the first RF front-end module; the second data output port of the first RF front-end module sends the first data signal in the first control instruction to the second data input port of the next-level first RF front-end module through the data line in the control bus;

[0191] The first clock output port of the RF transceiver sends a first clock signal of a first control signal to the second clock input port of at least one RF front-end module through a control bus, including:

[0192] The first clock output port of the RF transceiver sends the first clock signal in the first control instruction to the second clock input port of at least one RF front-end module through the clock line in the control bus;

[0193] For each first RF front-end module, the second clock input port of the first RF front-end module transparently transmits the received first clock signal to the second clock output port of the first RF front-end module; the second clock output port of the first RF front-end module sends the first clock signal in the first control instruction to the second clock input port of the next-level first RF front-end module via the clock line in the control bus. When the working mode field is used to indicate that the first control signal is a read operation instruction, and the chip select field is used to indicate the identifier of the kth first RF front-end module in at least one RF front-end module, the method also includes:

[0194] The kth first RF front-end module reads the data information according to the burst length field, the address field, and the switching number field, generates a read response instruction, and transmits the data signal in the read response instruction to the first data input port of the RF transceiver through the second data output port of the kth first RF front-end module, the data port between the second data output port of the kth first RF front-end module and the second data output port of the second RF front-end module, and the second data output port of the second RF front-end module;

[0195] Transmitting the clock signal in the read response instruction to the second clock input port of the second RF front-end module through the second clock output port of the kth first RF front-end module and a clock port between the second clock output port of the kth first RF front-end module and the second clock input port of the second RF front-end module;

[0196] The radio frequency transceiver samples the data signal in the read response instruction inputted from the first data input port through a clock recovery circuit in the radio frequency transceiver.

[0197] In some embodiments, when the operating mode field is used to indicate that the first control signal is a first identification initialization instruction, the first data signal of the first identification initialization instruction includes an identification of a first RF front-end module in at least one RF front-end module; the method further includes:

[0198] The first RF front-end module configures the identifier of the first RF front-end according to the first identifier initialization instruction received through the second data input port and the second clock input port of the first RF front-end module, and generates a second identifier initialization instruction, where the second identifier initialization instruction includes the identifier of the second RF front-end module in the at least one RF front-end module, and sends the second identifier initialization instruction to the second RF front-end module through the second data output port and the second clock output port of the first RF front-end module;

[0199] a kth RF front-end module among the at least one RF front-end module, configured to receive, through the second data input port and the second clock input port of the kth RF front-end module, a kth identification initialization instruction sent by the (k-1)th RF front-end module, the kth identification initialization instruction including an identification of the kth RF front-end module, and configure the identification of the kth RF front-end module according to the kth identification initialization instruction;

[0200] Generate the k+1th identification initialization instruction, which includes the identification of the k+1th RF front-end module in at least one RF front-end module, and send the k+1th identification initialization instruction to the k+1th RF front-end module through the second data output port and the second clock output port of the kth RF front-end module.

[0201] The implementation of steps 901 and 902 may also refer to the above description of the radio frequency device 50 .

[0202] In this way, when the control signal is transmitted unidirectionally in a daisy chain form, even if data is read back, the rate does not need to be reduced, and full-rate readback can be used, thereby improving the rate of the control signal between the RF transceiver and the RF front-end.

[0203] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0204] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0205] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0206] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0207] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0208] The above content is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A radio frequency device, It is characterized in that The radio frequency device comprises: A radio frequency transceiver, comprising a control main interface, wherein the control main interface comprises a first clock port and a first data port; At least one RF front-end module, each RF front-end module comprising a control slave interface, wherein the control slave interface comprises a second clock port and a second data port; The first clock port is coupled to the second clock port of the at least one RF front-end module through a control bus in a daisy chain with a linear topology structure, and the first data port is coupled to the second data port of the at least one RF front-end module through the control bus in a daisy chain with a ring topology structure.

2. The radio frequency device according to claim 1, It is characterized in that The first clock port includes a first clock output port, and the second clock port includes a second clock input port. The first clock output port is cascade-coupled in sequence through a clock line in the control bus, in a daisy chain of the linear topology structure, and in sequence with the second clock input port of the at least one RF front-end module.

3. The radio frequency device according to claim 1 or 2, It is characterized in that The first data port includes a first data output port and a first data input port, and the second data port includes a second data input port and a second data output port; The first data output port and the first data input port are coupled to the second data input port and the second data output port of the at least one RF front-end module through the data line in the control bus according to the daisy chain of the ring topology structure to form a data loopback link.

4. The radio frequency device according to claim 2 or 3, It is characterized in that In the case where the at least one RF front-end module is a plurality of RF front-end modules, the plurality of RF front-end modules include at least one first RF front-end module and a second RF front-end module, and the second RF front-end module is the last RF front-end module on the daisy chain of the linear topology structure; Wherein, the control slave interface of each first RF front-end module also includes a second clock output port.

5. The radio frequency device according to any one of claims 1 to 4, It is characterized in that The control main interface transparently transmits a first control signal through the control bus, where the first control signal includes a first clock signal and a first data signal, and the first clock signal is used to instruct the RF front-end module to sample the received first data signal; Wherein, the first clock port transparently transmits the first clock signal to the second clock port of each RF front-end module through the clock line in the control bus; The first data port transparently transmits the first data signal to the second data port of each RF front-end module through a data line in the control bus.

6. The radio frequency device according to claim 5, It is characterized in that When the first control signal is used to instruct a target RF front-end module among the at least one RF front-end module to perform a write operation, the first control signal includes an identifier of the target RF front-end module, data to be written, and a register address; The target RF front-end module is used to sample the first data signal according to the first clock signal to obtain the data to be written and the register address, and write the data to be written into the register in the target RF front-end module according to the register address.

7. The radio frequency device according to claim 5, It is characterized in that The first control signal is used to instruct a target RF front-end module among the at least one RF front-end module to perform a read operation, and when the read operation is used to read back data written into a register of the target RF front-end module, the first control signal includes an identifier and a register address of the target RF front-end module; The target RF front-end module is used to read the data corresponding to the register address after sampling the first data signal according to the first clock signal to obtain the register address, and generate a second control signal, wherein the second control signal includes the data corresponding to the register address; The second control signal is transparently transmitted to the RF transceiver through the target RF front-end module.

8. The radio frequency device according to claim 5, It is characterized in that When the first control signal is used to instruct the at least one RF front-end module to perform an identification initialization operation of the RF front-end module, the first control signal includes an identification of a first RF front-end module in the at least one RF front-end module; Each RF front-end module is used to generate a third control signal after initializing the local identification of the RF front-end module, the third control signal including the identification of the next RF front-end module, and send the third control signal to the next RF front-end module.

9. The radio frequency device according to any one of claims 5 to 8, It is characterized in that The first data signal includes a synchronization header field, a chip select field, an operating mode field, a burst length field and an address field; The synchronization header field is used to indicate that the first control signal starts to be transmitted; The chip select field is used to indicate an identifier of a radio frequency front-end module that executes the first control signal; The working mode field is used to indicate that the first control signal is a write operation instruction or a read operation instruction or an identification initialization instruction; The burst length field is used to indicate the register address length for a read operation or a write operation; The address field is used to indicate the register address when performing a write operation or a read operation.

10. The radio frequency device according to claim 9, It is characterized in that The synchronization header field occupies 5 consecutive bits, and the bit value of the consecutive 5 bits is 1. Among all the bits occupied by the remaining fields in the first data signal except the synchronization header field, the bit value of the first bit of every consecutive 4 bits is 0.

11. The radio frequency device according to claim 9 or 10, It is characterized in that When the working mode field is used to indicate that the first control signal is a write operation instruction, the first data signal further includes a switching times field and a data field; The switching times field is used to indicate the number of registers when a write operation is performed on the same register address; the data field is used to indicate the data to be written to the register address indicated by the address field.

12. The radio frequency device according to any one of claims 9 to 11, It is characterized in that The working mode field is used to indicate that when the first control signal is the read operation instruction, the write operation instruction, or the identification initialization instruction: The first data output port of the RF transceiver is used to send the first data signal to the second data input port of the at least one RF front-end module through the data line; The first clock output port of the RF transceiver is used to send the first clock signal to the second clock input port of the at least one RF front-end module through the clock line; In the case where the at least one first RF front-end module is a plurality of first RF front-end modules, for each first RF front-end module, the second data input port of the first RF front-end module is used to transparently transmit the received first data signal to the second data output port of the first RF front-end module; The second data output port of the first RF front-end module is used to send the first data signal to the second data input port of the first RF front-end module of the next stage through the data line; The second clock input port of the first RF front-end module is used to transparently transmit the received first clock signal to the second clock output port of the first RF front-end module; The second clock output port of the first RF front-end module is used to send the first clock signal to the second clock input port of the first RF front-end module of the next stage through the clock line.

13. The radio frequency device according to claim 11, It is characterized in that The working mode field is used to indicate that the first data signal is a read operation instruction, and the chip select field is used to indicate the identifier of the kth RF front-end module in the at least one RF front-end module, when k is a natural number: The kth RF front-end module is used to read data information according to the burst length field, the address field and the switching number field, generate a read response instruction, and transmit the data signal in the read response instruction to the first data input port of the RF transceiver through the second data output port of the kth RF front-end module, the data port between the second data output port of the kth RF front-end module and the second data output port of the second RF front-end module, and the second data output port of the second RF front-end module; Transmitting the clock signal in the read response instruction to the second clock input port of the second RF front-end module through the second clock output port of the kth RF front-end module and a clock port between the second clock output port of the kth RF front-end module and the second clock input port of the second RF front-end module; The radio frequency transceiver is used to sample the data signal in the read response instruction inputted from the first data input port through a clock recovery circuit in the radio frequency transceiver.

14. The radio frequency device according to any one of claims 9 to 11, It is characterized in that The working mode field is used to indicate that when the first data signal is a first identification initialization instruction, the first data signal of the first identification initialization instruction includes an identification of a first RF front-end module among the at least one RF front-end module; In the case where the at least one RF front-end module is a plurality of RF front-end modules, the first RF front-end module is used to configure the identifier of the first RF front-end according to the first identifier initialization instruction received by the second data input port and the second clock input port of the first RF front-end module, and generate a second identifier initialization instruction, wherein the second identifier initialization instruction includes the identifier of the second RF front-end module in the at least one RF front-end module, and sends the second identifier initialization instruction to the second RF front-end module through the second data output port and the second clock output port of the first RF front-end module; The kth RF front-end module among the at least one RF front-end module is used to receive the kth identification initialization instruction sent by the k-1th RF front-end module through the second data input port and the second clock input port of the kth RF front-end module, wherein the kth identification initialization instruction includes the identification of the kth RF front-end module, and configure the identification of the kth RF front-end module according to the kth identification initialization instruction; Generate a k+1th identification initialization instruction, wherein the k+1th identification initialization instruction includes the identification of the k+1th RF front-end module among the at least one RF front-end module, and send the k+1th identification initialization instruction to the k+1th RF front-end module through the second data output port and the second clock output port of the kth RF front-end module.

15. The radio frequency device according to any one of claims 4 to 14, It is characterized in that A clock line between the first clock output port of the RF transceiver and the second clock input port of the first RF front-end module among the at least one RF front-end module is equal in length to a data line between the first data output port of the RF transceiver and the second data input port of the first RF front-end module; For two adjacent RF front-end modules among the at least one RF front-end module, the clock line between the second clock output port of the previous-level RF front-end module and the second clock input port of the next-level RF front-end module is equal to the length of the data line between the second data output port of the previous-level RF front-end module and the second data input port of the next-level RF front-end module.

16. A method for transmitting a control signal, It is characterized in that The method is applied to a radio frequency device, the radio frequency device includes a radio frequency transceiver, the radio frequency transceiver includes a control main interface, and the control main interface includes a first clock port and a first data port; At least one RF front-end module, each RF front-end module comprising a control slave interface, wherein the control slave interface comprises a second clock port and a second data port; The first clock port is coupled to the second clock port of the at least one RF front-end module through a control bus in a daisy chain of a linear topology structure, and the first data port is coupled to the second data port of the at least one RF front-end module through the control bus in a daisy chain of a ring topology structure; the method includes: The first clock port in the control main interface sends a first clock signal of a first control signal to the second clock port of each RF front-end module through a clock line in the control bus; The first data port in the control main interface sends the first data signal of the first control signal to the second data port of each RF front-end module through the data line in the control bus, and the first clock signal is used by each RF front-end module to sample the received first data signal.

17. The method according to claim 16, It is characterized in that The first clock port includes a first clock output port, and the second clock port includes a second clock input port. The first clock output port is cascade-coupled in sequence through a clock line in the control bus, in a daisy chain of the linear topology structure, and in sequence with the second clock input port of the at least one RF front-end module.

18. The method according to claim 16 or 17, It is characterized in that The first data port includes a first data output port and a first data input port, and the second data port includes a second data input port and a second data output port; The first data output port and the first data input port are coupled to the second data input port and the second data output port of the at least one RF front-end module through the data line in the control bus according to the daisy chain of the ring topology structure to form a data loopback link.

19. The method according to claim 17 or 18, It is characterized in that In the case where the at least one RF front-end module is a plurality of RF front-end modules, the plurality of RF front-end modules include at least At least one first RF front-end module and a second RF front-end module, wherein the second RF front-end module is the last RF front-end module on the daisy chain of the linear topology structure; Wherein, the control slave interface of each first RF front-end module also includes a second clock output port.

20. The method according to any one of claims 16 to 19, It is characterized in that The control main interface transparently transmits a first control signal through the control bus, where the first control signal includes a first clock signal and a first data signal, and the first clock signal is used to instruct the RF front-end module to sample the received first data signal; Wherein, the first clock port transparently transmits the first clock signal to the second clock port of each RF front-end module through the clock line in the control bus; The first data port transparently transmits the first data signal to the second data port of each RF front-end module through a data line in the control bus.

21. The method according to claim 20, It is characterized in that When the first control signal is used to instruct a target RF front-end module among the at least one RF front-end module to perform a write operation, the first control signal includes an identifier of the target RF front-end module, data to be written, and a register address; The target RF front-end module samples the first data signal according to the first clock signal to obtain the data to be written and the register address, and writes the data to be written into the register of the target RF front-end module according to the register address.

22. The method according to claim 20, It is characterized in that The first control signal is used to instruct a target RF front-end module among the at least one RF front-end module to perform a read operation, and when the read operation is used to read back data written into a register of the target RF front-end module, the first control signal includes an identifier and a register address of the target RF front-end module; After sampling the first data signal according to the first clock signal to obtain the register address, the target RF front-end module reads the data corresponding to the register address and generates a second control signal, wherein the second control signal includes the data corresponding to the register address; The second control signal is transparently transmitted to the RF transceiver through the target RF front-end module.

23. The method according to claim 20, It is characterized in that When the first control signal is used to instruct the at least one RF front-end module to perform an identification initialization operation of the RF front-end module, the first control signal includes an identification of a first RF front-end module in the at least one RF front-end module; After initializing the local identification of the RF front-end module, each RF front-end module generates a third control signal, the third control signal including the identification of the next RF front-end module, and sends the third control signal to the next RF front-end module.

24. The method according to any one of claims 20 to 23, It is characterized in that The first data signal includes a synchronization header field, a chip select field, an operating mode field, a burst length field and an address field; The synchronization header field is used to indicate that the first control signal starts to be transmitted; The chip select field is used to indicate an identifier of a radio frequency front-end module that executes the first control signal; The working mode field is used to indicate that the first control signal is a write operation instruction or a read operation instruction or an identification initialization instruction; The burst length field is used to indicate the register address length for a read operation or a write operation; The address field is used to indicate the register address when performing a write operation or a read operation.

25. The method according to claim 24, It is characterized in that The synchronization header field occupies 5 consecutive bits, and the bit value of the consecutive 5 bits is 1. Among all the bits occupied by the remaining fields in the first data signal except the synchronization header field, the bit value of the first bit of every consecutive 4 bits is 0.

26. The method according to claim 24 or 25, It is characterized in that When the working mode field is used to indicate that the first control signal is a write operation instruction, the first data signal further includes a switching times field and a data field; The switching times field is used to indicate the number of registers when a write operation is performed on the same register address; the data field is used to indicate the data to be written to the register address indicated by the address field.

27. The method according to any one of claims 19 to 26, It is characterized in that A clock line between the first clock output port of the RF transceiver and the second clock input port of the first RF front-end module among the at least one RF front-end module is equal in length to a data line between the first data output port of the RF transceiver and the second data input port of the first RF front-end module; For two adjacent RF front-end modules among the at least one RF front-end module, the clock line between the second clock output port of the previous-level RF front-end module and the second clock input port of the next-level RF front-end module is equal to the length of the data line between the second data output port of the previous-level RF front-end module and the second data input port of the next-level RF front-end module.

28. A computer readable storage medium, It is characterized in that The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method according to any one of claims 16 to 27.

Citation Information

Patent Citations

  • Radio frequency device and control signal transmission method

    CN118554967A

  • Distributed data acquisition and transmission system based on annular daisy-chain Ethernet topology

    CN114338276A

  • Interface circuit and control method thereof, signal transmission system and electronic equipment

    CN115408321A

  • Extensible daisy-chain topology for compute devices

    US20130179621A1