Detailed Description
In order to enable those skilled in the art to better understand the technical scheme of the present application, the switching configuration circuit and the configuration method provided by the present application are described in detail below with reference to the accompanying drawings.
Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the application to those skilled in the art.
The embodiments of the application and features of the embodiments may be combined with each other without conflict.
As used herein, the term "and/or" includes any and all combinations of at least one of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of at least one other feature, integer, step, operation, element, component, and/or group thereof.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present application and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The switching configuration circuit of the embodiment of the application can be included in a terminal or a base station, for example in a radio frequency transceiver module of the terminal or the base station, and supports switching configuration in multi-channel and multi-working modes.
Fig. 1 is a block diagram of a switching configuration circuit according to an embodiment of the present application.
In a first aspect, referring to FIG. 1, one embodiment of the present application provides a switching configuration circuit comprising at least one transceiving configuration unit 101 and at least one transceiving working channel 102.
Wherein a transceiver configuration unit 101 is connected to a transceiver working channel 102.
Wherein the transceiver configuration unit 101 is configured to save configuration parameters of at least one working mode of at least one subunit of the transceiver working channel 102 connected to the transceiver configuration unit 101, and send the configuration parameters of the working mode of at least one subunit of the transceiver working channel 102 that is currently required to be validated to the transceiver working channel 102 connected to the transceiver configuration unit 101 if a configuration validation condition is satisfied.
The transceiving working channel 102 is configured to switch configuration validation of configuration parameters of a currently active mode of operation of at least one subunit of the transceiving working channel 102.
In some exemplary embodiments, further comprises a processor 103, a bus scheduler 104, at least one bus bridge 105.
Wherein a bus bridge 105 is connected to a transceiver unit 101.
Wherein the processor 103 is configured to issue a parameter configuration command, wherein the parameter configuration command comprises configuration parameters of at least one operation mode of at least one subunit of the at least one transceiving operation channel 102.
The bus scheduling unit 104 is configured to forward the parameter configuration commands to the corresponding bus bridge 105.
The bus bridge 105 is configured to send configuration parameters of at least one operation mode of at least one subunit of the transceiving operating channel 102 to a transceiving configuration unit 101 connected to the transceiving operating channel 102.
In some exemplary embodiments, processor 103 is a device having data processing capabilities including, but not limited to, a Central Processing Unit (CPU) or the like.
In some exemplary embodiments, meeting the configuration validation condition includes reaching a configuration validation time, or receiving a state switch interrupt.
In some exemplary embodiments, the bus scheduler 104 is specifically configured to distribute bus addresses and translate protocol to parameter configuration commands and forward the commands to the corresponding bus bridges 105.
In some exemplary embodiments, the parameter configuration command sent by the bus scheduler 104 to the bus bridge 105 includes configuration parameters of at least one operating mode of at least one subunit of the transceiving operating channel 102 coupled to the bus bridge 105.
In some exemplary embodiments, the parameter configuration commands sent by the bus scheduler 104 to the bus bridge 105 include configuration parameters for all modes of operation of at least one subunit of the transceiving working channel 102 coupled to the bus bridge 105.
In some exemplary embodiments, the parameter configuration command sent by the bus scheduler 104 to the bus bridge 105 includes a configuration parameter of one operating mode of at least one subunit of the transceiving operating channel 102 coupled to the bus bridge 105.
In some exemplary embodiments, the bus bridge 105 is specifically configured to send configuration parameters of at least one operational mode of at least one subunit of the transception-working channel 102 to the transception-configuration unit 101 connected to the transception-working channel 102 in a handshake manner.
In some exemplary embodiments, the processor 103 is specifically configured to issue a parameter configuration command to the bus scheduling unit 104 before receiving the state switch interrupt, and to issue a switch configuration validation instruction to the bus scheduling unit 104 in the event that a state switch interrupt is received.
The bus scheduler 104 is further configured to forward the switch configuration validation instruction to the corresponding bus bridge 105.
The bus bridge 105 is further configured to forward a switch configuration validation instruction to the transceiving configuration unit 101 connected to the bus bridge 105.
The transceiver configuration unit 101 is specifically configured to save the configuration parameters of at least one operation mode of at least one subunit of the transceiver operation channel 102 connected to the transceiver configuration unit 101 before receiving the switch configuration validation instruction, and to send the configuration parameters of the operation mode currently required to be validated of at least one subunit of the transceiver operation channel 102 to the transceiver operation channel 102 connected to the transceiver configuration unit 101 when receiving the switch configuration validation instruction.
In some exemplary embodiments, the bus scheduling unit 104 is specifically configured to implement forwarding the switch configuration validation instruction to the corresponding bus bridge 105 in such a manner that the switch configuration validation instruction is forwarded to the corresponding bus bridge 105 after bus address allocation and protocol conversion.
In some exemplary embodiments, the processor 103 is specifically configured to issue a parameter configuration command to the bus scheduling unit 104 upon receipt of a state switch interrupt, wherein the state switch interrupt includes a switch validation time, and to issue a switch configuration validation instruction to the bus scheduling unit 104 upon reaching the switch validation time.
The bus scheduler 104 is further configured to forward the switch configuration validation instruction to the corresponding bus bridge 105.
The bus bridge 105 is further configured to forward a switch configuration validation instruction to the transceiving configuration unit 101 connected to the bus bridge 105.
The transceiver configuration unit 101 is specifically configured to save configuration parameters of at least one operation mode of at least one subunit of the transceiver operation channel 102 connected to the transceiver configuration unit 101, and send, when receiving a switch configuration validation instruction, configuration parameters of an operation mode of at least one subunit of the transceiver operation channel 102 that is currently required to be validated to the transceiver operation channel 102 connected to the transceiver configuration unit 101.
In some exemplary embodiments, the transceiver configuration unit 101 includes a master-slave switch enable register, a mode select register, Y slave table multiplexers, Y master table registers, and Y group slave table registers, where Y is an integer greater than or equal to 1.
Each standby table register comprises at least one standby table register, and a main table register is connected with one standby table register through a standby table multiplexer.
Wherein the mode selection register is configured to hold information characterizing the currently required operating mode to be validated.
A set of look-up table registers is configured to hold configuration parameters of a subunit of the transceiving working channel 102 connected to the transceiving configuration unit 101.
A standby table register is configured to hold configuration parameters of the functional circuit corresponding to one operation mode of one sub-unit of the transceiving operation channel 102 connected to the transceiving configuration unit 101.
The standby table multiplexer is configured to select a standby table register corresponding to a current operating mode to be validated from a set of standby table registers connected to the standby table multiplexer to be connected to a master table register connected to the standby table multiplexer.
The master/slave switch enable register is configured to synchronize the configuration parameters stored in the selected slave table register to a master table register connected to the slave table multiplexer if the configuration validation condition is satisfied.
The transceiving working channel 102 is specifically configured to effect a switch configuration of configuration parameters stored in a master table register.
In some exemplary embodiments, the standby table multiplexer may select a standby table register corresponding to the current operation mode to be validated from a set of standby table registers connected to the standby table multiplexer to be connected to the main table register connected to the standby table multiplexer based on the information representing the current operation mode to be validated stored in the mode selection register.
In some exemplary embodiments, the active-standby switch enable register is configured to store configuration parameters of all operating modes of an i-th subunit of the transmit-receive operating channel 102 in a parameter configuration command into an i-th set of standby table registers after receiving the parameter configuration command, where i is an integer greater than or equal to 1 and less than or equal to Y.
The state switch interrupt includes information characterizing the current mode of operation that needs to be validated.
The switch configuration validation instruction includes information characterizing the current operating mode that needs to be validated.
The master/slave switching enabling register is further configured to store information representing a working mode currently required to be validated into the mode selection register after receiving a switching configuration validation instruction, control the slave table multiplexer to select a slave table register corresponding to the working mode currently required to be validated from a group of slave table registers connected with the slave table multiplexer to be connected with the master table register connected with the slave table multiplexer based on the information representing the working mode currently required to be validated stored in the mode selection register, and synchronize configuration parameters stored in the selected slave table register into the master table register connected with the slave table multiplexer.
In some exemplary embodiments, the master-slave switch enable register is configured to store configuration parameters of all operating modes of an i-th subunit of the transceiving operating channel 102 in a parameter configuration command into an i-th set of slave table registers after the parameter configuration command is received and before a switch configuration validation instruction is received, wherein i is an integer greater than or equal to 1 and less than or equal to Y.
The state switching interrupt includes information characterizing the current operating mode that needs to be validated and configuration validation time.
The switching configuration validation instruction comprises information representing the working mode which needs to be validated currently and configuration validation time.
The master/slave switching enabling register is further configured to store information representing a currently required working mode to be validated into the mode selection register after receiving a switching configuration validation instruction and before reaching a configuration validation time, control the slave table multiplexer to select a slave table register corresponding to the currently required working mode from a group of slave table registers connected with the slave table multiplexer to be connected with the master table register connected with the slave table multiplexer based on the information representing the currently required working mode stored in the mode selection register, and synchronize configuration parameters stored in the selected slave table register into the master table register connected with the slave table multiplexer when reaching the configuration validation time.
In some exemplary embodiments, the master-slave switch enable register is configured to store configuration parameters of all operating modes of an i-th subunit of the transceiving operating channel 102 in a parameter configuration command into an i-th set of slave table registers after the parameter configuration command is received and before a switch configuration validation instruction is received, wherein i is an integer greater than or equal to 1 and less than or equal to Y.
The state switching interrupt includes information characterizing the current operating mode that needs to be validated and configuration validation time.
The switching configuration validation instruction comprises information representing the working mode which needs to be validated currently and configuration validation time.
The master/slave switching enabling register is further configured to store information representing a working mode currently required to be effective into the mode selection register after receiving a switching configuration effective instruction and when configuration effective time is reached, control the slave table multiplexer to select a slave table register corresponding to the working mode currently required to be effective from a group of slave table registers connected with the slave table multiplexer to be connected with the master table register connected with the slave table multiplexer based on the information representing the working mode currently required to be effective stored in the mode selection register, and synchronize configuration parameters stored in the selected slave table register into the master table register connected with the slave table multiplexer.
In some exemplary embodiments, the transceiving configuration unit comprises a master-slave switch enable register, Y master table registers and Y slave table registers, wherein Y is an integer greater than or equal to 1.
Wherein a master table register is coupled to a slave table register.
A standby table register is configured to store configuration parameters of the functional circuit corresponding to an operation mode of a subunit of the transmit-receive operation channel.
The master/slave switch enable register is configured to synchronize configuration parameters stored in the slave table register to a master table register connected to the slave table register in the event that a configuration validation condition is satisfied.
The transceiving working channel 102 is specifically configured to effect a switch configuration of configuration parameters stored in a master table register.
In some exemplary embodiments, the master/slave switch enable register is configured to store, upon receiving a parameter configuration command, a configuration parameter of a working mode of one subunit of the transmit-receive working channel 102 in the parameter configuration command that is currently required to be validated, in a corresponding slave table register, where i is an integer greater than or equal to 1 and less than or equal to Y.
The master/slave switch enable register is further configured to synchronize configuration parameters stored in the slave table register to a master table register connected to the slave table register upon receiving a switch configuration validation instruction.
In some exemplary embodiments, the master-slave switch enable register is configured to store configuration parameters of a current operating mode that needs to be validated for one of the sub-units of the transmit-receive operating channel 102 in the parameter configuration command into a corresponding slave table register after the parameter configuration command is received and before the switch configuration validation command is received, where i is an integer greater than or equal to 1 and less than or equal to Y.
The state switch interrupt includes configuring an effective time.
The switch configuration validation instruction includes a configuration validation time.
The master/slave switch enable register is further configured to synchronize configuration parameters stored in the selected slave table register to a master table register connected to the slave table multiplexer upon receipt of a switch configuration validation instruction and upon reaching a configuration validation time.
In some exemplary embodiments, as shown in fig. 4, when implementing the transceiver configuration unit 101 using the circuit described in fig. 2, the master/slave switching enable register stores configuration parameters of all operation modes of the ith subunit of the transceiver operation channel 102 in the parameter configuration command in the ith set of standby table registers in a period of T0, where i is an integer greater than or equal to 1 and less than or equal to Y. And in the T1 time period, the master/slave switching enabling register controls the slave table multiplexer to store information representing the working mode which is required to be validated currently into the mode selection register, selects a slave table register corresponding to the working mode which is required to be validated currently from a group of slave table registers connected with the slave table multiplexer to be connected with the master table register connected with the slave table multiplexer based on the information representing the working mode which is required to be validated currently stored in the mode selection register, and synchronizes the configuration parameters stored in the selected slave table register into the master table register connected with the slave table multiplexer. During the period T2, the transceiver working channel 102 performs switching configuration validation on the configuration parameters of the working mode of at least one subunit of the transceiver working channel 102 that is currently required to be validated.
In some exemplary embodiments, as shown in fig. 4, when implementing the transceiver configuration unit 101 by using the circuit shown in fig. 2, in the period of T0, the master/slave switching enable register stores configuration parameters of all working modes of the ith subunit of the transceiver working channel 102 in the parameter configuration command into the ith group of standby table registers, where i is an integer greater than or equal to 1 and less than or equal to Y, stores information representing the working mode currently required to be validated into the mode selection register, and controls the standby table multiplexer to select a standby table register corresponding to the working mode currently required to be validated from a group of standby table registers connected to the standby table multiplexer to be connected to the master table register connected to the standby table multiplexer based on the information representing the working mode currently required to be validated stored in the mode selection register. During the T1 period, the master-slave switch enable register synchronizes the configuration parameters stored in the selected slave table register into the master table register connected to the slave table multiplexer. During the period T2, the transceiver working channel 102 performs switching configuration validation on the configuration parameters of the working mode of at least one subunit of the transceiver working channel 102 that is currently required to be validated.
In some exemplary embodiments, as shown in fig. 4, when implementing the transceiver configuration unit 101 with the circuit described in fig. 3, the master/slave switching enable register stores the configuration parameters of the working mode currently required to be validated of one subunit of the transceiver working channel 102 in the parameter configuration command into the corresponding group table register in the period of T0, where i is an integer greater than or equal to 1 and less than or equal to Y. During the T1 period, the master-slave switch enable register synchronizes the configuration parameters stored in the selected slave table register into the master table register connected to the slave table multiplexer. During the period T2, the transceiver working channel 102 performs switching configuration validation on the configuration parameters of the working mode of at least one subunit of the transceiver working channel 102 that is currently required to be validated.
In the embodiment of the present application, as shown in fig. 5, the processor performs switching configuration on the transceiver working channel according to the following flow:
Pulling down the soft reset work_rst of the working channel, and switching to a working clock work_clk corresponding to the current working mode;
configuring a mode selection register work_mode and a master/slave switching enabling register work_switch;
the soft reset work _ rst of the working channel is released.
The switching configuration circuit provided by the embodiment of the application firstly transmits the configuration parameters to the transceiver configuration unit for storage, and under the condition that the configuration validation condition is met, the configuration parameters are directly subjected to switching configuration validation, so that the time for validating the switching configuration is shortened, the switching configuration process is simplified, and the introduced area and power consumption cost are smaller.
Fig. 6 is a flowchart of a configuration method according to another embodiment of the present application.
In a second aspect, referring to fig. 6, another embodiment of the present application provides a configuration method, which may be performed by a terminal or a base station, the method comprising:
Step 600, saving configuration parameters of at least one working mode of at least one subunit of a transceiving working channel connected to a transceiving configuration unit into said transceiving configuration unit.
And step 601, under the condition that the configuration validation condition is met, the transceiving configuration unit sends the configuration parameters of the working mode of at least one subunit of the transceiving working channel, which is currently required to be validated, to the transceiving working channel connected with the transceiving configuration unit.
In some exemplary embodiments, meeting the configuration validation condition includes reaching a configuration validation time, or receiving a state switch interrupt.
In some exemplary embodiments, the transceiving configuration unit comprises a master-slave switch enable register, a mode select register, Y slave table multiplexers, Y master table registers and Y group slave table registers, wherein Y is an integer greater than or equal to 1.
Each standby table register comprises at least one standby table register, and a main table register is connected with one standby table register through a standby table multiplexer.
The method comprises the steps that a receiving and transmitting configuration unit sends configuration parameters of a working mode which is needed to be effective currently of at least one subunit of a receiving and transmitting working channel to the receiving and transmitting configuration unit, wherein the receiving and transmitting working channel connected with the receiving and transmitting configuration unit comprises the steps of storing information representing the working mode which is needed to be effective currently in a mode selection register, storing configuration parameters of one subunit of the receiving and transmitting working channel connected with the receiving and transmitting configuration unit in a group of standby table registers, storing configuration parameters of a functional circuit corresponding to one working mode of one subunit of the receiving and transmitting working channel connected with the receiving and transmitting configuration unit in one standby table register, selecting a standby table register corresponding to the working mode which is needed to be effective currently from a group of standby table registers connected with the standby table multiplexer to be connected with the standby table multiplexer, and synchronizing the configuration parameters stored in the selected standby table register into a main table register connected with the standby table multiplexer when the configuration effective condition is met.
In some exemplary embodiments, the transceiving configuration unit comprises a master-slave switch enable register, Y master table registers and Y slave table registers, wherein Y is an integer greater than or equal to 1.
Wherein a master table register is coupled to a slave table register.
The receiving and transmitting configuration parameters of the working modes of at least one subunit of the receiving and transmitting working channel, which are required to be validated currently, are transmitted to the receiving and transmitting working channel connected with the receiving and transmitting configuration unit, wherein the receiving and transmitting configuration unit stores the configuration parameters of a functional circuit corresponding to one working mode of one subunit of the receiving and transmitting working channel in a standby table register, and the main standby switching enabling register synchronizes the configuration parameters stored in the standby table register into a main table register connected with the standby table register under the condition that the configuration validation condition is met.
Step 602, a transceiver working channel performs switching configuration validation on configuration parameters of a working mode of at least one subunit of the transceiver working channel, which is currently required to be validated, in the transceiver working channel.
In some exemplary embodiments, the transmit-receive working channel validates the switch configuration of the configuration parameters stored in the master table register.
The specific implementation process of the configuration method is the same as that of the switching configuration circuit in the foregoing embodiment, and will not be repeated here.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components, for example, one physical component may have a plurality of functions, or one function or step may be cooperatively performed by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a generic and descriptive sense only and not for purpose of limitation. In some instances, it will be apparent to one skilled in the art that features, characteristics, and/or elements described in connection with a particular embodiment may be used alone or in combination with other embodiments unless explicitly stated otherwise. It will therefore be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the scope of the present application as set forth in the following claims.