A radio frequency transceiving method and related components
By combining encoders and interface control circuits, the control system of the RF transceiver is simplified, solving the problems of high complexity and high cost in the existing technology, and achieving higher integration and reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGXIN MICROELECTRONICS (SUZHOU) CO LTD
- Filing Date
- 2022-12-08
- Publication Date
- 2026-06-16
AI Technical Summary
Existing radio frequency transceivers have complex control systems, are difficult to develop, costly, and have low reliability, especially in applications such as remote controls, which require complex programming.
By employing a combination of encoder, interface control circuit, non-volatile memory module, RF transceiver and keyboard controller, configuration information is obtained through encoder and the operation of RF transceiver is controlled based on key commands, which simplifies program design and increases system integration and reliability.
It reduces the complexity and development difficulty of the radio frequency transceiver process, improves security and reliability, reduces overall cost, and simplifies the control system.
Smart Images

Figure CN115882891B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of radio frequency technology, and in particular to a radio frequency transceiver method and related components. Background Technology
[0002] With the continuous development of wireless transmission technology, radio frequency transceivers are widely used in fields such as identity recognition, wireless remote control systems, remote control, telemetry, and digital image transmission. How to control the working process of radio frequency transceivers is also a major development direction at present.
[0003] In existing technologies, the control of RF transceivers is mainly achieved using processors. This requires additional programming of the RF transceiver during application to develop corresponding functional programs to control it. Especially when the RF transceiver is used in fields such as remote controls, GPIOs need to be set up to form a button matrix to achieve different functions and form a complete remote control implementation scheme. However, processor development is difficult, program design is complex, the overall cost of the RF transceiver and the integrated RF chip of the developed processor is relatively high, the complexity of the control system is high, and the reliability of the entire scheme is low. Summary of the Invention
[0004] The purpose of this invention is to provide a radio frequency transceiver method and related components. The encoder is relatively easy to develop and does not require complex programming. The control system is simple and effective. The entire chip has high integration, low cost, and small size, which can reduce the complexity and development difficulty of the entire radio frequency transceiver process and improve the safety and reliability of the entire radio frequency transceiver process.
[0005] To address the aforementioned technical problems, this invention provides a radio frequency (RF) transceiver method applied to an RF chip. The RF chip includes an encoder, an interface control circuit, a non-volatile memory module, an RF transceiver, and a keyboard controller. The encoder is connected to the RF transceiver and the non-volatile memory module via the interface control circuit, and the encoder is connected to the keyboard controller. The method includes:
[0006] After the encoder obtains the configuration information of the RF chip from the non-volatile memory module through the interface control circuit, it performs information configuration based on the configuration information, which includes the working status and / or working parameters of the RF chip.
[0007] After the information configuration is completed, determine whether a key command from the keyboard controller has been received;
[0008] If so, the RF transceiver is controlled to perform the corresponding operation based on the button command through the interface control circuit.
[0009] Preferably, the RF chip further includes a power management module, which is connected to the encoder, the interface control circuit, the RF transceiver, and the keyboard controller; after configuring the information based on the configuration information, it further includes:
[0010] Determine whether the radio frequency chip meets the sleep conditions;
[0011] If so, the power management module will disconnect the power to the encoder, the interface control circuit, and the RF transceiver.
[0012] Preferably, the RF chip further includes a key wake-up module connected to the keyboard controller; after the power management module disconnects the power to the encoder, the interface control circuit, and the RF transceiver, the chip further includes:
[0013] The keyboard controller determines whether it has received a wake-up command from the key wake-up module;
[0014] If so, the power management module is controlled to turn on the power to the encoder, the interface control circuit, and the RF transceiver. After the encoder obtains the configuration information of the RF chip from the non-volatile memory module through the interface control circuit, the information configuration is performed based on the configuration information.
[0015] Preferably, determining whether the radio frequency chip meets the sleep conditions includes:
[0016] Determine whether no key press command has been received from the keyboard controller within a preset time period;
[0017] If so, the radio frequency chip is determined to meet the sleep condition;
[0018] If not, the radio frequency chip is determined not to meet the sleep conditions.
[0019] Preferably, before controlling the RF transceiver to perform the corresponding operation through the interface control circuit based on the button command, the method further includes:
[0020] Determine whether the calibration completion command of the RF transceiver has been received through the interface control circuit;
[0021] If so, proceed to the step of controlling the RF transceiver to perform the corresponding operation based on the key command through the interface control circuit.
[0022] Preferably, it further includes a processor connected to the radio frequency chip; and also includes:
[0023] After the information configuration is completed, it is determined whether the control command of the processor has been received through the interface control circuit;
[0024] If so, the RF transceiver is controlled to perform the corresponding operation through the interface control circuit based on the control command.
[0025] Preferably, before determining whether a control instruction from the processor has been received through the interface control circuit, the method further includes:
[0026] Determine whether a manual calibration command from the processor has been received through the interface control circuit;
[0027] If so, the RF transceiver is calibrated by the interface control circuit, and after receiving the calibration completion instruction from the RF transceiver through the interface control circuit, the process proceeds to the step of determining whether the control instruction from the processor has been received through the interface control circuit.
[0028] If not, proceed to the step of determining whether the processor's control instructions have been received through the interface control circuit.
[0029] To address the aforementioned technical problems, the present invention also provides a radio frequency chip, comprising:
[0030] Encoder, interface control circuit, non-volatile memory module, RF transceiver and keyboard controller;
[0031] The encoder is connected to the RF transceiver and the non-volatile memory module respectively through the interface control circuit, and the encoder is also connected to the keyboard controller.
[0032] The encoder is used to implement the steps of the radio frequency transceiver method as described above.
[0033] To address the aforementioned technical problems, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the radio frequency transceiver method described above.
[0034] To address the aforementioned technical problems, the present invention also provides a radio frequency transceiver system applied to a radio frequency chip. The radio frequency chip includes an encoder, an interface control circuit, a non-volatile memory module, a radio frequency transceiver, and a keyboard controller. The encoder is connected to the radio frequency transceiver and the non-volatile memory module respectively through the interface control circuit, and the encoder is connected to the keyboard controller. The system includes:
[0035] An information configuration unit is used for the encoder to obtain the configuration information of the radio frequency chip from the non-volatile memory module through the interface control circuit, and then to perform information configuration based on the configuration information, wherein the configuration information includes the working status and / or working parameters of the radio frequency chip;
[0036] The instruction receiving unit is used to determine whether a key instruction from the keyboard controller has been received after the information configuration is completed; if so, the execution unit is triggered.
[0037] The execution unit is used to control the radio frequency transceiver to perform corresponding operations based on the key command through the interface control circuit.
[0038] This invention provides a radio frequency (RF) transceiver method applied to an RF chip. The RF chip includes an encoder, an interface control circuit, a non-volatile memory module, an RF transceiver, and a keyboard controller. The encoder can obtain the configuration information of the RF chip from the non-volatile memory module through the interface control circuit and perform information configuration operations. Then, it controls the RF transceiver through key commands received from the keyboard controller. The encoder is relatively easy to develop and does not require complex programming. The control system is simple and effective. The entire chip has high integration, low cost, and small size, which can reduce the complexity and development difficulty of the entire RF transceiver process and improve the security and reliability of the entire RF transceiver process.
[0039] The present invention also provides an RF chip, a computer-readable storage medium, and an RF transceiver system, which have the same beneficial effects as the RF transceiver method described above. Attached Figure Description
[0040] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the prior art and embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0041] Figure 1 A schematic flowchart of a radio frequency transceiver method provided by the present invention;
[0042] Figure 2 A schematic diagram of the structure of an radio frequency chip provided by the present invention;
[0043] Figure 3 A schematic diagram of the structure of a radio frequency transceiver system provided by the present invention;
[0044] Figure 4 This is a schematic diagram of another radio frequency transceiver system provided by the present invention;
[0045] Figure 5 A flowchart illustrating another radio frequency transceiver method provided by the present invention;
[0046] Figure 6 This is a flowchart illustrating another radio frequency transceiver method provided by the present invention. Detailed Implementation
[0047] The core of this invention is to provide a radio frequency transceiver method and related components. The encoder is relatively easy to develop and does not require complex programming. The control system is simple and effective. The entire chip has high integration, low cost, and small size, which can reduce the complexity and development difficulty of the entire radio frequency transceiver process and improve the safety and reliability of the entire radio frequency transceiver process.
[0048] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0049] Please refer to Figure 1 , Figure 1 A schematic flowchart of a radio frequency transceiver method provided by the present invention;
[0050] A radio frequency (RF) transceiver method is applied to an RF chip, the RF chip including an encoder 21, an interface control circuit 22, a non-volatile memory module 23, an RF transceiver 24, and a keyboard controller 25. The encoder 21 is connected to the RF transceiver 24 and the non-volatile memory module 23 via the interface control circuit 22, and the encoder 21 is connected to the keyboard controller 25. The method includes:
[0051] S11: After the encoder 21 obtains the configuration information of the RF chip from the non-volatile memory module 23 through the interface control circuit 22, it performs information configuration based on the configuration information, which includes the working status and / or working parameters of the RF chip.
[0052] Understandably, after the chip is powered on, the encoder 21 will first read the pre-programmed configuration information from the non-volatile memory module 23 through the interface control circuit 22, and perform information configuration operations on the RF chip based on the read configuration information. After the information configuration is completed, the RF chip enters a standby state, also known as an idle state or IDLE state, waiting for subsequent operation instructions. The configuration information of the RF chip in the non-volatile memory module 23 mainly includes the operating status and / or operating parameters of the RF chip, which may include the carrier frequency or frequency point of the wireless signal of the RF transceiver 24, the transmit power or receive bandwidth of the RF transceiver 24, etc., which are not specifically limited in this application.
[0053] In practical applications, the configuration information of the RF chip in the non-volatile memory module 23 is pre-written into the non-volatile memory module 23 using an external programmer configured for the module. This operation can also be accomplished using other data writing tools; this application does not impose any specific limitations on this. The content of the pre-configured information is mainly related to factors such as the application environment of the RF chip and can be adjusted according to the actual application. This application does not impose any specific limitations on the specific content and setting method of the pre-configured information; it can be set and adjusted manually or through other control devices.
[0054] It should be noted that the non-volatile memory module 23 can be an NVM (Non-volatile Memory) memory module, such as OTP (One Time Programmable), MTP (Multi-time Programmable), EEPROM (Electrically Erasable Programmable Read Only Memory), etc. When an NVM memory module is used, the corresponding programmer should be an NVM programmer. This application does not make any special restrictions on the specific selection and capacity of the non-volatile memory module 23 and the programmer.
[0055] S12: After the information configuration is completed, determine whether a key command from the keyboard controller 25 has been received;
[0056] Generally, after information configuration is completed, the RF chip enters standby mode. In standby mode, the RF chip detects key commands from the keyboard controller 25 to determine whether it has received the key command sent by the keyboard controller 25, so as to execute the corresponding operation subsequently. Specifically, after information configuration is completed, key commands can be detected in real time or at a preset period. This application does not impose any special limitations on the frequency or objects of detection. The preset period is a preset value pre-set in the encoder 21 and can be adjusted according to actual application. This application does not impose any special limitations on the specific setting method and content of the preset period.
[0057] It is understood that the keyboard controller 25 is connected to an external keyboard. This application does not make any special restrictions on the specific model and setting method of the keyboard, nor does it make any special restrictions on the connection method between the keyboard controller 25 and the keyboard. The choice can be made according to the actual application requirements.
[0058] S13: If so, the RF transceiver 24 is controlled by the interface control circuit 22 to perform the corresponding operation based on the button command.
[0059] It should be noted that if the judgment result indicates that a key command from the keyboard controller 25 has been received, i.e., a key command from the keyboard controller 25 has been detected, the encoder 21 will execute the corresponding operation according to the key value corresponding to the key command, which can control the RF transceiver 24 to transmit corresponding data, etc. This application does not impose any special limitations on the specific setting method and implementation of the key commands corresponding to each key value of the keyboard controller 25. The operation corresponding to the key command can be a transmission or reception operation completed by the encoder 21 controlling the RF transceiver 24, a prompt operation implemented by the encoder 21 controlling the prompt module, or a power-on or power-off operation implemented by the power module, etc. This application does not impose any special limitations on the function and specific implementation of each key of the keyboard controller 25.
[0060] If the judgment result is that no key command was received from the keyboard controller 25, that is, no key command was detected from the keyboard controller 25, the encoder 21 can make a judgment again after a preset time period, or it can perform other operations. This application does not make any special limitations on the subsequent operations of the encoder 21 when no key command was received from the keyboard controller 25. Specifically, the corresponding operation can be that the radio frequency transceiver 24 completes the corresponding transmission or reception operation, or it can be some prompt operation or power-on operation of other modules, etc. This application does not make any special limitations on the specific corresponding operation content and specific setting method.
[0061] It is understood that the main execution entity of S11, S12 and S13 is the encoder 21. The encoder 21 directly or indirectly controls other modules in the RF chip through the interface control circuit 22. The encoder 21 can be a commonly used encoder 21 such as 1527 / 2262, or it can be other types of encoder 21. The specific selection and shape of the RF transceiver 24 can also be selected according to actual needs. The specific implementation circuit and specific devices used in the interface control circuit 22 and the keyboard controller 25 can also be adjusted. This application does not make any special restrictions on the specific implementation circuit or device model of each module of the RF chip, such as the encoder 21, RF transceiver 24, interface control circuit 22 and keyboard controller 25. They can be adjusted and selected according to the actual application needs of the RF chip.
[0062] It should be noted that the radio frequency chip using the radio frequency transceiver method provided by this invention can be applied to various frequency bands, such as 315MHz, 433MHz, 868MHz, 915MHz, 2.4GHz, 5.8GHz, etc., and the configuration information in the non-volatile memory module 23 can be adjusted according to actual needs to achieve a wider range of applications for the radio frequency chip.
[0063] This invention provides a radio frequency (RF) transceiver method applied to an RF chip. The RF chip includes an encoder 21, an interface control circuit 22, a non-volatile memory module 23, an RF transceiver 24, and a keyboard controller 25. The encoder 21 can obtain the configuration information of the RF chip from the non-volatile memory module 23 through the interface control circuit 22 and perform information configuration operations. Then, it controls the RF transceiver 24 through the key commands received from the keyboard controller 25. The encoder 21 is relatively easy to develop and does not require complex programming. The control system is simple and effective. The entire chip has high integration, low cost, and small size, which can reduce the complexity and development difficulty of the entire RF transceiver process and improve the security and reliability of the entire RF transceiver process.
[0064] Based on the above embodiments,
[0065] Please refer to Figure 4 , Figure 4 This is a schematic diagram of another radio frequency transceiver system provided by the present invention;
[0066] In a preferred embodiment, the RF chip further includes a power management module, which is connected to the encoder 21, the interface control circuit 22, the RF transceiver 24, and the keyboard controller 25, respectively; after configuring the information based on the configuration information, it also includes:
[0067] Determine whether the radio frequency chip meets the sleep conditions;
[0068] If so, the power management module will disconnect the power to the encoder 21, the interface control circuit 22, and the RF transceiver 24.
[0069] Considering that continuous operation or standby mode of the RF chip leads to high power consumption and wasted resources, the RF chip is put into a sleep state, also known as a sleep state, when the sleep conditions are met. This can be achieved by the encoder 21 controlling the power management module to disconnect the power supply to the encoder 21, interface control circuit 22, and RF transceiver 24. Alternatively, other operations can be used to put the RF chip into a sleep state. For example, if the encoder 21 contains configuration information that needs to be saved without power interruption, the encoder 21 can control the power management module to disconnect the power supply to only the interface control circuit 22 and RF transceiver 24. This application does not impose any special limitations on the specific implementation method or the specific settings of the sleep state, which can be adjusted according to the actual application requirements of the RF chip.
[0070] It is understandable that there are many criteria for determining whether the RF chip meets the sleep conditions. It could be that the encoder 21 has not received any instructions within a preset time, or that there are no other operations within a preset time period after the encoder 21 has specified an operation. This application does not make any special limitations on the specific criteria and methods for determining whether the RF chip meets the sleep conditions. In the judgment process, the working status of the RF chip can be detected in real time and its sleep conditions can be determined. Alternatively, the working status of the RF chip can be detected and determined according to a preset period. This application does not make any special limitations on the frequency and object of the judgment. The preset period and preset time period are preset values set in the encoder 21 in advance and can be adjusted according to actual applications. This application does not make any special limitations on the specific setting methods and contents of the preset values such as the preset period and preset time period.
[0071] Specifically, if the RF chip does not meet the sleep conditions, it can be re-evaluated after a preset time, or other operations can be performed. This application does not impose any special limitations on subsequent operations for RF chips that do not meet the sleep conditions. It is understood that in sleep mode, only a small amount of data that needs to be continuously stored consumes power; most data is stored in the non-volatile memory module 23. This application does not impose any special limitations on which specific data needs to be continuously stored; the selection can be adjusted according to the actual needs of the RF chip.
[0072] Specifically, the operating status of the RF chip is detected to determine whether the RF chip meets the sleep conditions. The encoder 21 and the power management module work together to control the RF chip to enter the sleep state, which reduces the power consumption of the RF chip during application, improves the lifespan of each module of the RF chip, and enhances the safety and reliability of the entire RF chip.
[0073] In a preferred embodiment, the RF chip further includes a key wake-up module connected to the keyboard controller 25; after the power management module disconnects the power to the encoder 21, interface control circuit 22, and RF transceiver 24, it also includes:
[0074] The keyboard controller 25 determines whether it has received a wake-up command from the key wake-up module;
[0075] If so, the power management module controls the power supply to the encoder 21, the interface control circuit 22 and the RF transceiver 24, and then the encoder 21 obtains the configuration information of the RF chip from the non-volatile memory module 23 through the interface control circuit 22, and performs information configuration based on the configuration information.
[0076] Considering that the RF chip needs to be woken up to return to working state after entering sleep state, a key wake-up module has been added. Since only the keyboard controller 25 is still powered on after the RF chip enters sleep state, the keyboard controller 25 can determine whether it has received a wake-up command from the key wake-up module. If the wake-up command is received, the keyboard controller 25 controls the power management module to turn on the power to the encoder 21, interface control circuit 22 and RF transceiver 24, so that the other modules of the RF chip can be powered on again and enter the subsequent working state such as acquiring configuration information.
[0077] It is understandable that there are many ways to set the wake-up command of the key wake-up module. It can be a fixed key on the keyboard corresponding to the keyboard controller 25, or any key on the keyboard corresponding to the keyboard controller 25. This application does not make any special restrictions on the specific settings and implementation methods of the wake-up command. It can be that the power is turned on immediately after receiving the wake-up command, or it can be started after a preset time period. The wake-up command and the key command can also be implemented at the same time. After being woken up, the encoder 21 immediately detects the key value corresponding to the wake-up command, determines the key command corresponding to the key value, and executes the corresponding operation.
[0078] Specifically, when determining whether a wake-up command from the button wake-up module has been received, the determination can be made in real time or at a preset period. This application does not impose any special limitations on the frequency or object of the determination. The preset period and preset time period are preset values set in advance in the encoder 21 or the keyboard controller 25, and can be adjusted according to the actual application. This application does not impose any special limitations on the specific setting method and content of the preset values such as the preset period and preset time period.
[0079] It should be noted that the power management module can be a PMU (Power Management Unit) or other types of power management modules. This application does not make any special restrictions on the specific implementation of the power management module.
[0080] Considering that the RF chip in sleep mode needs to re-enter the working state, a key wake-up module has been added. Through the cooperation of the keyboard controller 25 and the power management module, the RF chip can be controlled to switch from sleep mode to other working states. This ensures that the RF chip in sleep mode can quickly enter the working state and perform subsequent operations, improves the working efficiency and response speed of the RF chip, expands the application range of the RF chip, and ensures the safety and reliability of the entire RF chip.
[0081] As a preferred embodiment, determining whether the radio frequency chip meets the sleep conditions includes:
[0082] Determine whether no key input command has been received from the keyboard controller 25 within a preset time period;
[0083] If so, the RF chip is determined to meet the sleep conditions;
[0084] If not, the RF chip is determined not to meet the sleep conditions.
[0085] Specifically, the determination of whether the RF chip meets the sleep condition can be achieved by judging whether no key command is received from the keyboard controller 25 within a preset time period. If the encoder 21 does not receive a key command from the keyboard controller 25 within the preset time period, the RF chip has no corresponding operation to perform and can enter the sleep state to reduce power consumption, thus the RF chip meets the sleep condition. If the encoder 21 receives a key command from the keyboard controller 25 within the preset time period, the RF chip needs to specify the corresponding operation and needs to remain in the working state, thus the RF chip does not meet the sleep condition.
[0086] Specifically, when determining whether a key command from the keyboard controller 25 has not been received within a preset time period, the determination can be made in real time or according to a preset cycle. This application does not impose any special limitations on the frequency or object of the determination. The preset cycle and preset time period are preset values set in advance in the encoder 21 and can be adjusted according to actual applications. This application does not impose any special limitations on the specific setting method and content of the preset values such as the preset cycle and preset time period.
[0087] As a specific embodiment, the determination of whether the RF chip meets the sleep conditions is achieved by judging whether no key command is received from the keyboard controller 25 within a preset time period. The judgment method is simple and quick, and can effectively and quickly determine whether the RF chip meets the sleep conditions and can enter the sleep state so that the RF chip can carry out subsequent work. This improves work efficiency, meets the requirements of reducing power consumption, expands the application range of the RF chip, and ensures the safety and reliability of the entire RF chip.
[0088] As a preferred embodiment, before controlling the RF transceiver 24 to perform the corresponding operation based on the button command via the interface control circuit 22, the method further includes:
[0089] Determine whether the calibration completion command of the RF transceiver 24 has been received through the interface control circuit 22;
[0090] If so, proceed to the step of controlling the RF transceiver 24 to perform the corresponding operation based on the button command via the interface control circuit 22.
[0091] Considering that the RF transceiver 24 needs to be calibrated before application, a judgment on whether the RF transceiver 24 needs to be calibrated is added before the interface control circuit 22 controls the RF transceiver 24 to perform the corresponding operation based on the button command. The encoder 21 can determine whether the interface control circuit 22 has received a calibration completion command from the RF transceiver 24. If the calibration completion command sent by the RF transceiver 24 is received, the step of controlling the RF transceiver 24 to perform the corresponding operation based on the button command through the interface control circuit 22 can be entered to complete the corresponding transmission or reception operation. If the calibration completion command sent by the RF transceiver 24 is not received, the RF transceiver 24 can be calibrated by controlling the encoder 21, or by manual calibration, or by pre-calibration. In this case, it can be put into use directly. This application does not make special restrictions on the subsequent operation when the calibration completion command sent by the RF transceiver 24 is not received, and it can be adjusted according to the actual application.
[0092] It is understandable that the calibration of the RF transceiver 24 includes many types and aspects of calibration, such as AFC (automatic frequency control) calibration, ADC (analog to digital converter) calibration, etc. The parameter values corresponding to each calibration can also be adjusted. This application does not make any special restrictions on how to calibrate the RF transceiver 24, what calibrations to perform, and the specific parameter settings for calibration.
[0093] Considering that the RF transceiver 24 needs to be calibrated before application, a judgment on whether the RF transceiver 24 needs to be calibrated is added before the RF transceiver 24 is controlled to perform the corresponding operation based on the button command through the interface control circuit 22. The judgment on whether the RF transceiver 24 has completed calibration is realized by the encoder 21. Completing the calibration of the RF transceiver 24 can effectively reduce parameter errors caused by external environment or internal components, improve the accuracy and reliability of the RF transceiver process, and ensure the safety of the RF transceiver process.
[0094] In a preferred embodiment, it further includes a processor connected to the radio frequency chip; and also includes:
[0095] After the information configuration is completed, it is determined whether the processor's control command has been received through the interface control circuit 22;
[0096] If so, the RF transceiver 24 is controlled by the interface control circuit 22 to perform the corresponding operation based on the control command.
[0097] Considering that the RF chip needs the assistance of a processor to perform some complex functions, a processor connected to the RF chip is added. The encoder 21 can realize information interaction with the processor through the interface control circuit 22. When the encoder receives the control command from the processor through the interface control circuit 22, it controls the RF transceiver 24 to perform the corresponding operation based on the control command, so as to realize the more complex functions of the RF chip.
[0098] Specifically, the processor can be an MCU (Microcontroller Unit) or other types of processors. The processor can be programmed with different functions corresponding to the RF chip. This application does not impose any special restrictions on the specific model of the processor and its internal program design, which can be adjusted according to the actual application environment of the RF chip. This application does not impose any special restrictions on the connection method between the processor and the RF chip, which can be implemented through communication buses or interfaces such as I2C (Inter-Integrated Circuit) or SPI (Serial Peripheral Interface).
[0099] It is understandable that the processes of determining whether a control command from the processor has been received through the interface control circuit 22 and determining whether a key command from the keyboard controller 25 has been received are not conflicting and can be performed simultaneously or in a preset order. This application does not impose any special limitations on this, and adjustments can be made according to the actual application needs of the RF chip.
[0100] Specifically, when determining whether a control command from the processor has been received through the interface control circuit 22, the determination can be made in real time or according to a preset period. This application does not make any special limitations on the frequency or object of the determination. The preset period and preset time period are preset values set in advance in the encoder 21 or the processor, and can be adjusted according to the actual application. This application does not make any special limitations on the specific setting method and content of the preset values such as the preset period and preset time period.
[0101] Considering that the RF chip requires the assistance of a processor to perform some complex functions, a processor connected to the RF chip is added. The encoder 21 controls other modules through the control instructions of the processor to realize more functions of the RF chip, thereby expanding the functional types and application range of the RF chip. Operators can further control the RF chip through the processor.
[0102] As a preferred embodiment, before determining whether a control instruction from the processor has been received through the interface control circuit 22, the method further includes:
[0103] Determine whether a manual calibration command from the processor has been received through the interface control circuit 22;
[0104] If so, the interface control circuit 22 controls the RF transceiver 24 to perform calibration, and after receiving the calibration completion instruction from the RF transceiver 24 through the interface control circuit 22, it proceeds to the step of determining whether the processor's control instruction has been received through the interface control circuit 22.
[0105] If not, proceed to the step of determining whether control instructions from the processor have been received through the interface control circuit 22.
[0106] When a processor connected to the RF chip is present, the operator can send a manual calibration command through the processor. When the encoder 21 receives the manual calibration command from the processor through the interface control circuit 22, it can control the RF transceiver 24 to perform calibration through the interface control circuit 22, thus completing the manual calibration process. It is understood that both the manual calibration process and the calibration process can be performed, or only one calibration process can be performed. This application does not impose any special limitations on the specific implementation methods of the manual calibration process and the manual calibration command.
[0107] Specifically, when determining whether a manual calibration command from the processor has been received through the interface control circuit 22, the determination can be made in real time or according to a preset period. This application does not make any special limitations on the frequency and object of the determination. The preset period and preset time period are preset values set in advance in the encoder 21 or the processor, and can be adjusted according to the actual application. This application does not make any special limitations on the specific setting method and content of the preset values such as the preset period and preset time period.
[0108] Considering the presence of a processor connected to the RF chip, staff can perform manual calibration of the RF transceiver 24 through the processor. This adds the ability of the encoder 21 to judge manual calibration commands. Manual calibration is easy to implement and convenient to control. Performing it along with the calibration process can effectively reduce parameter errors caused by external environment or internal components, further improving the accuracy and reliability of the RF transceiver process and ensuring its safety.
[0109] Please refer to Figure 2 , Figure 2 A schematic diagram of the structure of an radio frequency chip provided by the present invention;
[0110] To address the aforementioned technical problems, the present invention also provides a radio frequency chip, comprising:
[0111] Encoder 21, interface control circuit 22, non-volatile memory module 23, radio frequency transceiver 24 and keyboard controller 25;
[0112] Encoder 21 is connected to RF transceiver 24 and non-volatile memory module 23 respectively through interface control circuit 22, and encoder 21 is connected to keyboard controller 25.
[0113] Encoder 21 is used to implement the steps of the radio frequency transceiver method described above.
[0114] It is understood that this application does not impose specific limitations on the specific parameter settings, material, and shape of the RF chip, and adjustments can be made according to the actual application environment of the RF chip. The RF chip provided by this invention can support multiple operating modes, including a processor-controlled operating mode and a Stand Alone mode. In Stand Alone mode, the entire RF transceiver process can be completed without a processor.
[0115] Please refer to Figure 5 and Figure 6 , Figure 5 A flowchart illustrating another radio frequency transceiver method provided by the present invention; Figure 6 This is a flowchart illustrating another radio frequency transceiver method provided by the present invention. Figure 5 This is a flowchart illustrating the operation of an RF chip in processor-controlled mode. Figure 6 This is a flowchart illustrating the operation of the RF chip in Stand Alone mode. POWER ON and POWEROFF represent the power-on and power-off of the RF chip, and Calibration refers to the calibration process of the RF transceiver 24.
[0116] In processor-controlled operation mode, after power-on, the RF chip reads the pre-programmed configuration information from the NVM memory, and then enters the IDLE state to wait for the next instruction from the processor. After the RF chip completes a series of calibrations, it can enter the TX (transmit) or RX (receive) state. After completing the TX or RX, the processor can control the RF chip to enter the Sleep state.
[0117] In Stand Alone mode, after power-on, the RF chip reads the pre-programmed configuration information from the NVM memory and then enters the IDLE state for key detection. If no key action is detected, the RF chip can enter the Sleep state; if a key action is detected, the RF chip will perform the corresponding transmission operation according to the key value, and after transmission, it can also enter the Sleep state. In the Sleep state, the RF chip only retains the key wake-up function and a small amount of configuration information, consuming very little current. Once the key wake-up module detects a key action, the RF chip will wake up from the Sleep state, read the information in the NVM memory, and enter the next key detection and transmission process.
[0118] For a description of the radio frequency chip provided by this invention, please refer to the above method embodiments; the invention itself will not be described in detail here.
[0119] To address the aforementioned technical problems, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the radio frequency transceiver method described above.
[0120] It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, 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. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of this application. Specifically, the computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, and portable hard drives, or any type of media or device suitable for storing instructions or data, etc., and this application does not make any special limitations here.
[0121] For a description of the computer-readable storage medium provided by the present invention, please refer to the above method embodiments; the present invention will not be described again here.
[0122] Please refer to Figure 3 , Figure 3 A schematic diagram of the structure of a radio frequency transceiver system provided by the present invention;
[0123] To address the aforementioned technical problems, the present invention also provides a radio frequency transceiver system applied to a radio frequency chip. The radio frequency chip includes an encoder 21, an interface control circuit 22, a non-volatile memory module 23, a radio frequency transceiver 24, and a keyboard controller 25. The encoder 21 is connected to the radio frequency transceiver 24 and the non-volatile memory module 23 via the interface control circuit 22, and the encoder 21 is also connected to the keyboard controller 25. The system includes:
[0124] The information configuration unit 31 is used to configure the information based on the configuration information after the encoder 21 obtains the configuration information of the RF chip from the non-volatile memory module 23 through the interface control circuit 22. The configuration information includes the working status and / or working parameters of the RF chip.
[0125] The instruction receiving unit 32 is used to determine whether a key instruction from the keyboard controller 25 has been received after the information configuration is completed. If so, the execution unit 33 is triggered.
[0126] The execution unit 33 is used to control the radio frequency transceiver 24 to perform corresponding operations based on the key command through the interface control circuit 22.
[0127] In a preferred embodiment, the RF chip further includes a power management module, which is connected to the encoder 21, the interface control circuit 22, the RF transceiver 24, and the keyboard controller 25, respectively; it also includes:
[0128] The first judgment unit is used to determine whether the RF chip meets the sleep conditions. If so, the sleep unit is triggered.
[0129] The sleep unit is used to control the power management module to disconnect the power supply to the encoder 21, the interface control circuit 22 and the RF transceiver 24.
[0130] In a preferred embodiment, the RF chip further includes a key wake-up module connected to the keyboard controller 25; after the power management module disconnects the power to the encoder 21, interface control circuit 22, and RF transceiver 24, it also includes:
[0131] The second judgment unit is used by the keyboard controller 25 to determine whether it has received a wake-up command from the key wake-up module. If so, the wake-up unit is triggered.
[0132] The wake-up unit is used to control the power management module to turn on the power to the encoder 21, the interface control circuit 22 and the RF transceiver 24, and to trigger the information configuration unit 31.
[0133] In one preferred embodiment, the first determining unit includes:
[0134] The first judgment subunit is used to determine whether no key command has been received from the keyboard controller 25 within a preset time period. If yes, the first judgment unit is triggered; otherwise, the second judgment unit is triggered.
[0135] The first determination unit is used to determine whether the radio frequency chip meets the sleep conditions;
[0136] The second determination unit is used to determine whether the radio frequency chip meets the sleep conditions.
[0137] As a preferred embodiment, it further includes:
[0138] The third judgment unit is used to determine whether the calibration completion instruction of the RF transceiver 24 has been received through the interface control circuit 22. If so, the execution unit 33 is triggered.
[0139] In a preferred embodiment, it further includes a processor connected to the radio frequency chip; and also includes:
[0140] The processor instruction receiving unit is used to determine whether a control instruction from the processor has been received through the interface control circuit 22 after the information configuration is completed. If so, the operation unit is triggered.
[0141] The operation unit is used to control the radio frequency transceiver 24 to perform corresponding operations based on control commands through the interface control circuit 22.
[0142] As a preferred embodiment, it further includes:
[0143] The fourth judgment unit is used to determine whether a manual calibration instruction from the processor has been received through the interface control circuit 22. If yes, the calibration unit is triggered; otherwise, the processor instruction receiving unit is triggered.
[0144] The calibration unit is used to control the RF transceiver 24 to perform calibration through the interface control circuit 22, and to trigger the receiver processor instruction unit after receiving the calibration completion instruction from the RF transceiver 24 through the interface control circuit 22.
[0145] For a description of the radio frequency transceiver system provided by the present invention, please refer to the above method embodiments; the present invention will not be described again here.
[0146] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0147] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A radio frequency transceiver method, characterized in that, An application is made to an RF chip, the RF chip including an encoder, an interface control circuit, a non-volatile memory module, an RF transceiver, and a keyboard controller. The encoder is connected to the RF transceiver and the non-volatile memory module respectively through the interface control circuit, and the encoder is connected to the keyboard controller; the method includes: After the encoder obtains the configuration information of the RF chip from the non-volatile memory module through the interface control circuit, it performs information configuration based on the configuration information, which includes the operating status and / or operating parameters of the RF chip; the configuration information is pre-programmed into the non-volatile memory module. After the information configuration is completed, the encoder determines whether it has received a key command from the keyboard controller; If so, the encoder controls the RF transceiver to perform the corresponding operation based on the key value corresponding to the key instruction through the interface control circuit.
2. The radio frequency transceiver method as described in claim 1, characterized in that, The RF chip also includes a power management module, which is connected to the encoder, the interface control circuit, the RF transceiver, and the keyboard controller. After configuring the information based on the configuration information, it further includes: Determine whether the radio frequency chip meets the sleep conditions; If so, the power management module will disconnect the power to the encoder, the interface control circuit, and the RF transceiver.
3. The radio frequency transceiver method as described in claim 2, characterized in that, The RF chip further includes a key wake-up module connected to the keyboard controller; after the power management module disconnects the power to the encoder, the interface control circuit, and the RF transceiver, it also includes: The keyboard controller determines whether it has received a wake-up command from the key wake-up module; If so, the power management module is controlled to turn on the power to the encoder, the interface control circuit, and the RF transceiver. After the encoder obtains the configuration information of the RF chip from the non-volatile memory module through the interface control circuit, the information configuration is performed based on the configuration information.
4. The radio frequency transceiver method as described in claim 2, characterized in that, Determining whether the radio frequency chip meets the sleep conditions includes: Determine whether no key press command has been received from the keyboard controller within a preset time period; If so, the radio frequency chip is determined to meet the sleep condition; If not, the radio frequency chip is determined not to meet the sleep conditions.
5. The radio frequency transceiver method as described in claim 1, characterized in that, Before controlling the RF transceiver to perform the corresponding operation based on the button command through the interface control circuit, the method further includes: Determine whether the calibration completion command of the RF transceiver has been received through the interface control circuit; If so, proceed to the step of controlling the RF transceiver to perform the corresponding operation based on the key command through the interface control circuit.
6. The radio frequency transceiver method according to any one of claims 1 to 5, characterized in that, It also includes a processor connected to the radio frequency chip; and further includes: After the information configuration is completed, it is determined whether the control command of the processor has been received through the interface control circuit; If so, the RF transceiver is controlled to perform the corresponding operation through the interface control circuit based on the control command.
7. The radio frequency transceiver method as described in claim 6, characterized in that, Before determining whether a control instruction from the processor has been received through the interface control circuit, the method further includes: Determine whether a manual calibration command from the processor has been received through the interface control circuit; If so, the RF transceiver is calibrated by the interface control circuit, and after receiving the calibration completion instruction from the RF transceiver through the interface control circuit, the process proceeds to the step of determining whether the control instruction from the processor has been received through the interface control circuit. If not, proceed to the step of determining whether the processor's control instructions have been received through the interface control circuit.
8. A radio frequency chip, characterized in that, include: Encoder, interface control circuit, non-volatile memory module, RF transceiver and keyboard controller; The encoder is connected to the RF transceiver and the non-volatile memory module respectively through the interface control circuit, and the encoder is also connected to the keyboard controller. The encoder is used to implement the steps of the radio frequency transceiver method as described in any one of claims 1, 2, 4 to 7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the radio frequency transceiver method as described in any one of claims 1 to 7.
10. A radio frequency transceiver system, characterized in that, An application is made in an RF chip, the RF chip including an encoder, an interface control circuit, a non-volatile memory module, an RF transceiver, and a keyboard controller. The encoder is connected to the RF transceiver and the non-volatile memory module respectively through the interface control circuit, and the encoder is connected to the keyboard controller; the system includes: An information configuration unit is used for configuring information based on the configuration information obtained by the encoder from the non-volatile memory module through the interface control circuit. The configuration information includes the operating status and / or operating parameters of the RF chip. The configuration information is pre-programmed into the non-volatile memory module. The instruction receiving unit is used to determine whether the encoder has received a key instruction from the keyboard controller after the information configuration is completed; if so, it triggers the execution unit. The execution unit is used by the encoder to control the radio frequency transceiver to perform corresponding operations based on the key value corresponding to the key instruction through the interface control circuit.