CN115882891A - Radio frequency transceiving method and related assembly - Google Patents

Radio frequency transceiving method and related assembly Download PDF

Info

Publication number
CN115882891A
CN115882891A CN202211571659.3A CN202211571659A CN115882891A CN 115882891 A CN115882891 A CN 115882891A CN 202211571659 A CN202211571659 A CN 202211571659A CN 115882891 A CN115882891 A CN 115882891A
Authority
CN
China
Prior art keywords
radio frequency
control circuit
interface control
encoder
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211571659.3A
Other languages
Chinese (zh)
Inventor
王锐
帅柏林
王亚波
李建军
莫军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangxin Microelectronics Suzhou Co ltd
Original Assignee
Guangxin Microelectronics Suzhou Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangxin Microelectronics Suzhou Co ltd filed Critical Guangxin Microelectronics Suzhou Co ltd
Priority to CN202211571659.3A priority Critical patent/CN115882891A/en
Publication of CN115882891A publication Critical patent/CN115882891A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a radio frequency transceiving method, which relates to the technical field of radio frequency and is applied to a radio frequency chip, wherein the radio frequency chip comprises an encoder, an interface control circuit, a nonvolatile storage module, a radio frequency transceiver and a keyboard controller, the encoder can acquire configuration information of the radio frequency chip from the nonvolatile storage module through the interface control circuit and perform information configuration operation, and then control over the radio frequency transceiver is realized through a received key instruction of the keyboard controller, the encoder is low in development difficulty, complex program design work is not needed, a control system is simple and effective, the integration level of the whole chip is high, the cost is low, the size is small, the complexity and the development difficulty of the whole radio frequency transceiving process can be reduced, and the safety and the reliability of the whole radio frequency transceiving process are improved. The invention also discloses a related component of the radio frequency transceiving method, which has the same beneficial effect as the radio frequency transceiving method.

Description

Radio frequency transceiving method and related assembly
Technical Field
The present invention relates to the field of radio frequency technologies, and in particular, to a radio frequency transceiving method and related components.
Background
With the continuous development of wireless transmission technology, the transmission of the radio frequency transceiver is widely applied to the fields of identity identification, wireless remote control systems, remote control, remote measurement, digital image transmission and the like, and how to control the working process of the radio frequency transceiver is also the current main development direction.
In the prior art, the control of the radio frequency transceiver is mainly realized by using a processor, and additional programming work needs to be performed on the radio frequency transceiver during application to develop a corresponding function program to complete the control of the radio frequency transceiver, and particularly when the radio frequency transceiver is applied to the fields of remote controllers and the like, a GPIO (general purpose input/output) needs to be arranged to form a key matrix to realize different functions to form a complete remote controller realization scheme.
Disclosure of Invention
The invention aims to provide a radio frequency transceiving method and related components, the development difficulty of a coder is low, complex program design work is not needed, a control system is simple and effective, the integration level of the whole chip is high, the cost is low, the size is small, the complexity and the development difficulty of the whole radio frequency transceiving process can be reduced, and the safety and the reliability of the whole radio frequency transceiving process are improved.
In order to solve the technical problem, the invention provides a radio frequency transceiving method, which is applied to a radio frequency chip, wherein the radio frequency chip comprises an encoder, an interface control circuit, a nonvolatile storage module, a radio frequency transceiver and a keyboard controller, the encoder is respectively connected with the radio frequency transceiver and the nonvolatile storage module through the interface control circuit, and the encoder is connected with the keyboard controller; the method comprises the following steps:
after the encoder acquires the configuration information of the radio frequency chip from the nonvolatile storage module through the interface control circuit, the encoder performs information configuration based on the configuration information, wherein the configuration information comprises the working state and/or the working parameters of the radio frequency chip;
after the information configuration is completed, judging whether a key instruction of the keyboard controller is received;
and if so, controlling the radio frequency transceiver to execute corresponding operation through the interface control circuit based on the key instruction.
Preferably, the radio frequency chip further comprises a power management module, and the power management module is respectively connected with the encoder, the interface control circuit, the radio frequency transceiver and the keyboard controller; after information configuration is carried out based on the configuration information, the method further comprises the following steps:
judging whether the radio frequency chip meets a dormancy condition;
if yes, the power management module is controlled to disconnect the power supplies of the encoder, the interface control circuit and the radio frequency transceiver.
Preferably, the radio frequency chip further comprises a key wake-up module, and the key wake-up module is connected with the keyboard controller; after controlling the power management module to disconnect the power supplies of the encoder, the interface control circuit and the radio frequency transceiver, the method further comprises:
the keyboard controller judges whether a wake-up instruction of the key wake-up module is received;
if yes, controlling the power management module to connect the encoder, the interface control circuit and the power of the radio frequency transceiver, and returning to the step that the encoder acquires the configuration information of the radio frequency chip from the nonvolatile storage module through the interface control circuit and then performs information configuration based on the configuration information.
Preferably, the determining whether the rf chip satisfies the sleep condition includes:
judging whether a key instruction of the keyboard controller is not received all the time within a preset time period;
if yes, judging that the radio frequency chip meets the dormancy condition;
if not, the radio frequency chip is judged not to meet the dormancy condition.
Preferably, before controlling the radio frequency transceiver to perform corresponding operations through the interface control circuit based on the key instruction, the method further includes:
judging whether a calibration completion instruction of the radio frequency transceiver is received through the interface control circuit;
and if so, controlling the radio frequency transceiver to execute corresponding operation through the interface control circuit based on the key instruction.
Preferably, the radio frequency chip also comprises a processor connected with the radio frequency chip; further comprising:
after the information configuration is finished, judging whether a control instruction of the processor is received through the interface control circuit;
and if so, controlling the radio frequency transceiver to execute corresponding operation through the interface control circuit based on the control instruction.
Preferably, before determining whether a control instruction of the processor is received through the interface control circuit, the method further includes:
judging whether a manual calibration instruction of the processor is received through the interface control circuit;
if yes, controlling the radio frequency transceiver to calibrate through the interface control circuit, and after receiving a calibration completion instruction of the radio frequency transceiver through the interface control circuit, judging whether a control instruction of the processor is received through the interface control circuit;
if not, the step of judging whether the control instruction of the processor is received through the interface control circuit is carried out.
In order to solve the above technical problem, the present invention further provides a radio frequency chip, including:
the device comprises an encoder, an interface control circuit, a nonvolatile storage module, a radio frequency transceiver and a keyboard controller;
the encoder is connected with the radio frequency transceiver and the nonvolatile storage module through the interface control circuit respectively, and is connected with the keyboard controller;
the encoder is used for realizing the steps of the radio frequency transceiving method.
In order to solve the above technical problem, the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the radio frequency transceiving method as described above.
In order to solve the above technical problem, the present invention further provides a radio frequency transceiver system, which is applied to a radio frequency chip, wherein the radio frequency chip comprises an encoder, an interface control circuit, a nonvolatile memory module, a radio frequency transceiver and a keyboard controller, the encoder is respectively connected with the radio frequency transceiver and the nonvolatile memory module through the interface control circuit, and the encoder is connected with the keyboard controller; the system comprises:
the information configuration unit is used for performing information configuration on the basis of the configuration information after the encoder acquires the configuration information of the radio frequency chip from the nonvolatile storage module through the interface control circuit, wherein the configuration information comprises the working state and/or the working parameters of the radio frequency chip;
the receiving instruction unit is used for judging whether a key instruction of the keyboard controller is received or not after information configuration is finished, and if yes, the executing unit is triggered;
and the execution unit is used for controlling the radio frequency transceiver to execute corresponding operation through the interface control circuit based on the key instruction.
The invention provides a radio frequency transceiving method, which is applied to a radio frequency chip, wherein the radio frequency chip comprises an encoder, an interface control circuit, a nonvolatile storage module, a radio frequency transceiver and a keyboard controller, the encoder can acquire configuration information of the radio frequency chip from the nonvolatile storage module through the interface control circuit and carry out information configuration operation, and then control the radio frequency transceiver through a received key instruction of the keyboard controller, the development difficulty of the encoder is low, complex program design work is not needed, a control system is simple and effective, the integration level of the whole chip is high, the cost is low, the size is small, the complexity and the development difficulty of the whole radio frequency transceiving process can be reduced, and the safety and the reliability of the whole radio frequency transceiving process are improved.
The invention also provides a radio frequency chip, a computer readable storage medium and a radio frequency transceiving system, which have the same beneficial effects as the radio frequency transceiving method.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of a radio frequency transceiving method according to the present invention;
fig. 2 is a schematic structural diagram of a radio frequency chip according to the present invention;
fig. 3 is a schematic structural diagram of a radio frequency transceiving system according to the present invention;
fig. 4 is a schematic structural diagram of another rf transceiving system provided in the present invention;
fig. 5 is a schematic flow chart of another rf transceiving method according to the present invention;
fig. 6 is a schematic flow chart of another radio frequency transceiving method according to the present invention.
Detailed Description
The core of the invention is to provide a radio frequency transceiving method and related components, the development difficulty of the encoder is low, complex programming work is not needed, the control system is simple and effective, the integration level of the whole chip is high, the cost is low, the size is small, the complexity and the development difficulty of the whole radio frequency transceiving process can be reduced, and the safety and the reliability of the whole radio frequency transceiving process are improved.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a radio frequency transceiving method according to the present invention;
a radio frequency transceiving method is applied to a radio frequency chip, the radio frequency chip comprises an encoder 21, an interface control circuit 22, a nonvolatile storage module 23, a radio frequency transceiver 24 and a keyboard controller 25, the encoder 21 is respectively connected with the radio frequency transceiver 24 and the nonvolatile storage module 23 through the interface control circuit 22, and the encoder 21 is connected with the keyboard controller 25; the method comprises the following steps:
s11: after the encoder 21 acquires configuration information of the radio frequency chip from the nonvolatile storage module 23 through the interface control circuit 22, performing information configuration based on the configuration information, where the configuration information includes a working state and/or a working parameter of the radio frequency chip;
it can be understood that, after the chip is powered on, the encoder 21 first reads the configuration information that is burned in advance from the nonvolatile memory module 23 through the interface control circuit 22, and performs an information configuration operation of the radio frequency chip based on the read configuration information, and after the information configuration is completed, the radio frequency chip enters a standby state, which may also be referred to as an IDLE state or an IDLE state, to wait for a subsequent operation instruction. The configuration information of the rf chip in the nonvolatile memory module 23 mainly includes information such as a working state and/or a working parameter of the rf chip, and may include parameters such as a carrier frequency or a frequency point of a wireless signal of the rf transceiver 24, and a transmission power or a reception bandwidth of the rf transceiver 24, which is not limited herein.
In practical applications, the configuration information of the rf chip in the nonvolatile memory module 23 may be written into the nonvolatile memory module 23 in advance through an external writer configured for the nonvolatile memory module 23, and this operation may also be completed through other data writing tools, which is not limited herein. The content of the preset configuration information is mainly related to factors such as the application environment of the radio frequency chip, and can be adjusted according to the actual application situation, the specific content and the setting mode of the preset configuration information and the like are not particularly limited in this application, and the preset configuration information can be manually set and adjusted, or can be completed through other control devices.
It should be noted that the Non-volatile Memory module 23 may be an NVM (Non-volatile Memory, fixed Memory) Memory module, such as OTP (One Time Programmable), MTP (multi-Time Programmable), EEPROM (Electrically Erasable and Programmable read only Memory), etc., when the NVM Memory module is used, the corresponding burner should be selected as the NVM burner, and the specific selection type and capacity size of the nonvolatile Memory module 23 and the burner are not particularly limited herein.
S12: after the information configuration is completed, judging whether a key instruction of the keyboard controller 25 is received;
generally, after the information configuration is completed, the rf chip enters a standby state, and the rf chip in the standby state detects the key command of the keyboard controller 25, and determines whether the key command sent by the keyboard controller 25 is received, so as to execute the corresponding operation in the following. Specifically, after the information configuration is completed, the key instruction may be determined and detected in real time, or may be determined and detected according to a preset period, and the frequency and the object of the determination and the like are not particularly limited herein, the preset period is a preset value set in advance in the encoder 21 and may be adjusted according to the actual application, and the specific setting mode and the content of the preset period and the like are not particularly limited herein.
It can be understood that the keyboard controller 25 is connected to an external keyboard, and the specific type and setting mode of the keyboard are not particularly limited in this application, and the connection mode between the keyboard controller 25 and the keyboard is not particularly limited in this application, and may be selected according to the actual application requirements.
S13: if yes, the radio frequency transceiver 24 is controlled by the interface control circuit 22 to perform corresponding operations based on the key commands.
It should be noted that, if the determination result is that the key instruction of the keyboard controller 25 is received, that is, the key instruction of the keyboard controller 25 is detected, the encoder 21 executes a corresponding operation according to the key value corresponding to the key instruction, and may control the radio frequency transceiver 24 to transmit corresponding data and other operations. The specific setting method and implementation of the key instruction corresponding to each key value of the keyboard controller 25 are not particularly limited in this application. The operation corresponding to the key instruction may be an operation that the encoder 21 controls the radio frequency transceiver 24 to complete transmission or reception, a prompt operation that the encoder 21 controls the prompt module to implement, a power-on or power-off operation that is implemented by the power module, and the like, and the application of the functions and specific implementations corresponding to each key of the keyboard controller 25 is not particularly limited herein.
If the judgment result is that the key instruction of the keyboard controller 25 is not received, that is, the key instruction of the keyboard controller 25 is not detected, the encoder 21 may perform the judgment again after the preset time period, or perform other operations, and the present application such as the subsequent operation of the encoder 21 that does not receive the key instruction of the keyboard controller 25 is not particularly limited herein, specifically, the corresponding operation may be the radio frequency transceiver 24 completing the corresponding transmitting or receiving operation, or some prompting operation or power on/off operation of other modules, and the present application such as the specific corresponding operation content and the specific setting manner is not particularly limited herein.
It can be understood that the executing main bodies of S11, S12, and S13 are all encoders 21, all encoders 21 directly or indirectly implement control on other modules in the radio frequency chip through the interface control circuit 22, the encoders 21 may be encoders 21 in commonly used formats such as 1527/2262, and may also be encoders 21 of other types, specific selection types, shapes, sizes, and the like of the radio frequency transceiver 24 may also be selected according to actual requirements, specific implementation circuits and specifically adopted devices of the interface control circuit 22 and the keyboard controller 25 may also be adjusted, and specific implementation circuits or device types and the like of each module of the radio frequency chips such as the encoders 21, the radio frequency transceiver 24, the interface control circuit 22, and the keyboard controller 25 are not particularly limited herein, and may be adjusted and selected according to actual application requirements of the radio frequency chip.
It should be noted that the radio frequency chip to which the radio frequency transceiving method provided by the present invention is applied may be applied to various frequency bands, such as 315MHz, 433MHz, 868MHz, 915MHz, 2.4GHz, 5.8GHz, and the like, and may adjust the configuration information in the nonvolatile memory module 23 according to actual requirements, so as to implement wider application of the radio frequency chip.
The invention provides a radio frequency transceiving method, which is applied to a radio frequency chip, wherein the radio frequency chip comprises an encoder 21, an interface control circuit 22, a nonvolatile storage module 23, a radio frequency transceiver 24 and a keyboard controller 25, the encoder 21 can acquire configuration information of the radio frequency chip from the nonvolatile storage module 23 through the interface control circuit 22 and perform information configuration operation, and then control over the radio frequency transceiver 24 is realized through a received key instruction of the keyboard controller 25, the development difficulty of the encoder 21 is low, complex program design work is not required, a control system is simple and effective, the integration level of the whole chip is high, the cost is low, the size is small, the complexity and the development difficulty of the whole radio frequency transceiving process can be reduced, and the safety and the reliability of the whole radio frequency transceiving process are improved.
On the basis of the above-described embodiment,
referring to fig. 4, fig. 4 is a schematic structural diagram of another rf transceiver system provided in the present invention;
as a preferred embodiment, the rf chip further includes a power management module, and the power management module is respectively connected to the encoder 21, the interface control circuit 22, the rf transceiver 24 and the keyboard controller 25; after the information configuration is carried out based on the configuration information, the method further comprises the following steps:
judging whether the radio frequency chip meets a dormancy condition;
if yes, the power management module is controlled to disconnect the power of the encoder 21, the interface control circuit 22 and the radio frequency transceiver 24.
Considering that the radio frequency chip has high power consumption due to continuous operation or standby state and causes resource waste, when the radio frequency chip meets the Sleep condition, the radio frequency chip enters the Sleep state, which is also called Sleep state, the power management module is controlled by the encoder 21 to disconnect the power of the encoder 21, the interface control circuit 22 and the radio frequency transceiver 24, so as to achieve the Sleep state, and other operations can be adopted to enable the radio frequency chip to enter the Sleep state, for example, when configuration information needing to be stored without power interruption exists in the encoder 21, the power management module is controlled by the encoder 21 to only disconnect the power of the interface control circuit 22 and the radio frequency transceiver 24, and the specific implementation mode for controlling the radio frequency chip to enter the Sleep state and the specific setting of the Sleep state are not particularly limited herein, and can be adjusted according to the actual application requirements of the radio frequency chip.
It can be understood that there are many judgment bases for judging whether the rf chip meets the sleep condition, the encoder 21 does not receive an instruction within the preset time, or the encoder 21 does not have other operations within the preset time period after the specified operation, and the present application such as the basis and the specific manner of specifically judging whether the rf chip meets the sleep condition is not particularly limited herein, and in the judgment process, the working condition of the rf chip can be detected in real time and judged whether the rf chip meets the sleep condition, or the working condition of the rf chip can be detected and judged according to the preset period, the present application such as the frequency and the object of the judgment is not particularly limited herein, the preset period, the preset time period, and the like are preset values set in advance in the encoder 21, and can be adjusted according to the actual application, and the present application such as the specific setting manner and the content of the preset values such as the preset period and the preset time period is not particularly limited herein.
Specifically, if the rf chip does not satisfy the sleep condition, the determination may be performed again after a preset time, or other operations may be performed, and the subsequent operations of the rf chip that does not satisfy the sleep condition are not particularly limited herein. It can be understood that, in the sleep mode, only a small amount of data that needs to be stored without power off needs to consume power, most of the data is stored in the nonvolatile storage module 23, and specific data that needs to be stored without power off is not particularly limited herein, and may be adjusted and selected according to actual needs of the radio frequency chip.
Specifically, the working state of the radio frequency chip is detected, whether the radio frequency chip meets the dormancy condition is judged, the control of the radio frequency chip entering the dormancy state is realized through the cooperation of the encoder 21 and the power management module, the power consumption of the radio frequency chip in the application process is reduced, the service life of each module of the radio frequency chip is prolonged, and the safety and the reliability of the whole radio frequency chip are improved.
As a preferred embodiment, the radio frequency chip further includes a key wake-up module, and the key wake-up module is connected to the keyboard controller 25; after controlling the power management module to disconnect the power of the encoder 21, the interface control circuit 22 and the radio frequency transceiver 24, the method further includes:
the keyboard controller 25 judges whether a wake-up command of the key wake-up module is received;
if yes, controlling the power management module to connect the power of the encoder 21, the interface control circuit 22 and the radio frequency transceiver 24, and returning to the step that the encoder 21 acquires the configuration information of the radio frequency chip from the nonvolatile storage module 23 through the interface control circuit 22 and then performs information configuration based on the configuration information.
Considering that the rf chip enters the sleep state, and then enters the working state again to be woken up, a key wake-up module is additionally provided, and since only the keyboard controller 25 is still in the charged working state after the rf chip enters the sleep state, it is possible to determine whether a wake-up instruction of the key wake-up module is received through the keyboard controller 25, and if the wake-up instruction of the key wake-up module is received, the keyboard controller 25 controls the power management module to connect the power supplies of the encoder 21, the interface control circuit 22 and the rf transceiver 24, so that other modules of the rf chip are powered up again, and enter subsequent working states such as obtaining configuration information.
It can be understood that there are many setting manners of the wake-up instruction of the key wake-up module, which may 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, and the specific setting and implementation manner of the wake-up instruction and the like are not particularly limited in this application, and may be that the power is immediately turned on after the wake-up instruction is received, or the power is started after a preset time period, and the wake-up instruction and the key instruction may also be implemented simultaneously, and the encoder 21 detects the key value corresponding to the wake-up instruction immediately after being woken up, determines the key instruction corresponding to the key value, and executes the corresponding operation.
Specifically, when determining whether the wake-up instruction of the key wake-up module is received, it may be determined whether the wake-up instruction of the key wake-up module is received in real time, or it may be determined according to a preset period, where the frequency and the object of the determination are not particularly limited in this application, the preset period and the preset time period are preset values set in advance in the encoder 21 or the keyboard controller 25, and may be adjusted according to actual applications, and the specific setting mode and content of the preset values such as the preset period and the preset time period are not particularly limited in this application.
It should be noted that the Power Management module may select a PMU (Power Management Unit), or may select another type of Power Management module, and the specific implementation manner of the Power Management module and the like are not particularly limited in this application.
Considering that the radio frequency chip in the dormant state needs to enter the working state again, the key awakening module is additionally arranged, the radio frequency chip is controlled to be switched to other working states from the dormant state through the cooperation of the keyboard controller 25 and the power management module, the radio frequency chip in the dormant state can be ensured to rapidly enter the working state and execute subsequent operations, the working efficiency and the response speed of the radio frequency chip are improved, the application range of the radio frequency chip is expanded, and the safety and the reliability of the whole radio frequency chip are ensured.
As a preferred embodiment, the determining whether the rf chip satisfies the sleep condition includes:
judging whether a key instruction of the keyboard controller 25 is not received within a preset time period;
if yes, the radio frequency chip is judged to meet the dormancy condition;
if not, the radio frequency chip is judged not to meet the dormancy condition.
Specifically, the judgment of whether the radio frequency chip meets the sleep condition can be realized by judging whether the key instruction of the keyboard controller 25 is not received in the preset time period, and if the encoder 21 does not receive the key instruction of the keyboard controller 25 in the preset time period, the radio frequency chip does not have corresponding operation to be executed, the radio frequency chip can enter the sleep state to reduce power consumption, and the radio frequency chip meets the sleep condition is judged; if the encoder 21 receives a key instruction of the keyboard controller 25 within a preset time period, the radio frequency chip needs to designate a corresponding operation and needs to be kept in a working state at this time, and it is determined that the radio frequency chip does not satisfy the sleep condition.
Specifically, when determining whether the key instruction of the keyboard controller 25 has not been received within the preset time period, it may be determined in real time whether the key instruction of the keyboard controller 25 has not been received within the preset time period, or it may be determined according to a preset period, where the frequency and the object of the determination are not particularly limited, the preset period and the preset time period are preset values set in advance in the encoder 21, and may be adjusted according to an actual application, and the specific setting manner and the content of the preset values such as the preset period and the preset time period are not particularly limited.
As a specific embodiment, whether the radio frequency chip meets the sleep condition is judged by judging whether the key instruction of the keyboard controller 25 is not received all the time in a preset time period, the judgment mode is simple and quick, whether the radio frequency chip meets the sleep condition or not can be judged effectively and quickly, whether the radio frequency chip can enter the sleep state or not can be judged, so that the radio frequency chip can carry out subsequent work, the requirement of reducing power consumption is met while the work efficiency is improved, the application range of the radio frequency chip is expanded, and the safety and the reliability of the whole radio frequency chip are ensured.
As a preferred embodiment, before controlling the radio frequency transceiver 24 to perform corresponding operations through the interface control circuit 22 based on the key instruction, the method further includes:
determining whether a calibration completion command of the rf transceiver 24 is received through the interface control circuit 22;
if yes, the step of controlling the radio frequency transceiver 24 to execute the corresponding operation through the interface control circuit 22 based on the key command is entered.
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 execute corresponding operations through the interface control circuit 22 based on a key instruction, whether a calibration completion instruction of the rf transceiver 24 is received through the interface control circuit 22 may be judged through the encoder 21, if the calibration completion instruction sent by the rf transceiver 24 is received, a step of controlling the rf transceiver 24 to execute corresponding operations through the interface control circuit 22 based on the key instruction may be entered to complete corresponding transmitting or receiving operations, if the calibration completion instruction sent by the rf transceiver 24 is not received, the rf transceiver 24 may be controlled to be calibrated through the encoder 21, calibration may also be completed through an operation of manual calibration, or calibration is performed in advance, and at this time, the application is directly put into use, and subsequent operations that do not receive the calibration completion instruction sent by the rf transceiver 24 may be adjusted according to actual applications.
It is understood that the calibration of the rf transceiver 24 includes many types, and various aspects of calibration, such as an AFC (automatic frequency control) calibration, an ADC (analog to digital converter) calibration, etc., and parameter values corresponding to each calibration may be adjusted, and the application of how to calibrate the rf transceiver 24, what kind of calibration is performed, and the specific parameter settings for the calibration is not particularly limited herein.
Considering that the radio frequency transceiver 24 needs to be calibrated before application, the judgment whether the radio frequency transceiver 24 needs to be calibrated is added before the radio frequency transceiver 24 is controlled to execute corresponding operation through the interface control circuit 22 based on a key instruction, and the judgment whether the radio frequency transceiver 24 finishes calibration is realized through the encoder 21, so that parameter errors caused by external environment or internal devices can be effectively reduced when the calibration of the radio frequency transceiver 24 is finished, the accuracy and reliability of the radio frequency transceiving process are improved, and the safety of the radio frequency transceiving process is ensured.
As a preferred embodiment, the system further comprises a processor connected with the radio frequency chip; further comprising:
after the information configuration is completed, judging whether a control instruction of the processor is received through the interface control circuit 22;
if yes, the radio frequency transceiver 24 is controlled by the interface control circuit 22 to perform corresponding operations based on the control command.
Considering that the rf chip needs a processor to assist in performing some complex functions, a processor connected to the rf chip is additionally provided, the encoder 21 can implement information interaction with the processor through the interface control circuit 22, and when a control instruction of the processor is received through the interface control circuit 22, the interface control circuit 22 controls the rf transceiver 24 to perform a corresponding operation based on the control instruction, so as to implement more complex functions of the rf chip.
Specifically, the processor may be an MCU (micro controller Unit) or other types of processors, program contents corresponding to different functions of the rf chip may be set in the processor, the application such as a specific model and an internal program design of the processor is not particularly limited herein, and may be adjusted according to an actual application environment of the rf chip, and the application such as a direct connection mode between the processor and the rf chip is not particularly limited herein, and may be implemented by a communication bus or a communication Interface such as an I2C (Inter-Integrated Circuit) or an SPI (Serial Peripheral Interface).
It can be understood that the two processes of determining whether the control command of the processor is received through the interface control circuit 22 and determining whether the key command of the keyboard controller 25 is received are not conflicting, and may be performed simultaneously or according to a preset sequence.
Specifically, when determining whether the control instruction of the processor is received through the interface control circuit 22, it may be determined in real time whether the control instruction of the processor is received through the interface control circuit 22, or it may be determined according to a preset period, the frequency and the object of the determination and the like are not particularly limited in this application, the preset period and the preset time period and the like are preset values set in advance in the encoder 21 or the processor, and may be adjusted according to actual applications, and the specific setting manner and the content of the preset values such as the preset period and the preset time period and the like are not particularly limited in this application.
Considering that the radio frequency chip needs a processor for assistance when completing some complex functions, the processor connected with the radio frequency chip is additionally arranged, the encoder 21 controls other modules through a control instruction of the processor so as to realize more functions of the radio frequency chip, the function type and the application range of the radio frequency chip are expanded, and a worker can further control the radio frequency chip through the processor.
As a preferred embodiment, before determining whether a control instruction of the processor is received through the interface control circuit 22, the method further includes:
determining whether a manual calibration command for the processor is received via the interface control circuit 22;
if yes, controlling the radio frequency transceiver 24 to calibrate through the interface control circuit 22, and after receiving a calibration completion instruction of the radio frequency transceiver 24 through the interface control circuit 22, performing a step of judging whether a control instruction of the processor is received through the interface control circuit 22;
if not, the process proceeds to the step of determining whether a control command of the processor is received through the interface control circuit 22.
When a processor connected with the radio frequency chip exists, a worker can send a manual calibration instruction through the processor, and when the encoder 21 receives the manual calibration instruction of the processor through the interface control circuit 22, the interface control circuit 22 can control the radio frequency transceiver 24 to calibrate, so that the manual calibration process is completed. It can be understood that both the manual calibration process and the calibration process may be performed, or only one calibration process may be performed, and the specific implementation manner of the manual calibration process and the manual calibration instruction and the like are not particularly limited herein.
Specifically, when determining whether the artificial calibration instruction of the processor is received through the interface control circuit 22, it may be determined in real time whether the artificial calibration instruction of the processor is received through the interface control circuit 22, or it may be determined according to a preset period, the present application such as the determined frequency and the determined object is not particularly limited herein, the preset period and the preset time period are preset values set in advance in the encoder 21 or the processor, and may be adjusted according to actual applications, and the present application such as specific setting modes and contents of the preset values such as the preset period and the preset time period is not particularly limited herein.
Considering that when a processor connected with a radio frequency chip exists, a worker can complete manual calibration of the radio frequency transceiver 24 through the processor, judgment of the encoder 21 on a manual calibration instruction is increased, manual calibration is easy to achieve and convenient to control, parameter errors caused by external environments or internal devices can be effectively reduced along with the calibration process, accuracy and reliability of the radio frequency transceiving process are further improved, and safety of the radio frequency transceiving process is guaranteed.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a radio frequency chip according to the present invention;
in order to solve the above technical problem, the present invention further provides a radio frequency chip, including:
an encoder 21, an interface control circuit 22, a nonvolatile memory module 23, a radio frequency transceiver 24 and a keyboard controller 25;
the encoder 21 is connected with the radio frequency transceiver 24 and the nonvolatile storage module 23 through the interface control circuit 22, and the encoder 21 is connected with the keyboard controller 25;
the encoder 21 is used to implement the steps of the radio frequency transceiving method as described above.
It is understood that the specific parameter settings, material shapes, and the like of the rf chip are not particularly limited herein, and may be adjusted according to the actual application environment of the rf chip. The radio frequency chip provided by the invention can support a plurality of working modes, including a processor-controlled working mode and a Stand all mode (independent mode), and the whole radio frequency transceiving process can be completed without a processor in the Stand all mode.
Referring to fig. 5 and fig. 6, fig. 5 is a schematic flow chart of another radio frequency transceiving method according to the present invention; fig. 6 is a schematic flow chart of another radio frequency transceiving method provided by the present invention. Fig. 5 is a schematic flowchart of the rf chip in a processor-controlled operating mode, fig. 6 is a schematic flowchart of the rf chip in a Stand Alone mode, POWER ON and POWER OFF indicate POWER-ON and POWER-OFF of the rf chip, and Calibration refers to a Calibration process of the rf transceiver 24.
When the processor is in a control working mode, after the processor is powered on, the radio frequency chip reads (reads) the configuration information which is burned in advance from the NVM, and then enters an IDLE state to wait for a next instruction of the processor; after completing a series of Calibration, the rf chip may enter a TX (transmit) state or an RX (receive) state; after TX or RX is completed, the processor may control the rf chip to enter a Sleep state.
In the Stand Alone mode, after the power is on, the radio frequency chip reads the configuration information which is burned in advance from the NVM, and then enters an IDLE state for key detection. If no key action is detected, the radio frequency chip can enter a Sleep state; if the key action is detected, the radio frequency chip executes corresponding transmitting operation according to the key value, and can enter a Sleep state after the transmission is finished. In Sleep state, the radio frequency chip only retains the key wake-up function and a small amount of configuration information, and the consumed current is very low. Once the key wake-up module detects that a key action occurs, the radio frequency chip wakes up from the Sleep state, then reads information in the NVM, and enters the next key detection and transmission process.
For the introduction of the radio frequency chip provided by the present invention, please refer to the above method embodiment, and the present invention is not repeated herein
In order to solve the above technical problem, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the above radio frequency transceiving method.
It is understood that, if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, which are essential or part of the prior art, or all or part of the technical solutions may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application. In particular, the computer readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, removable hard disks, etc., or any type of media or device suitable for storing instructions, data, etc., and the present application is not limited thereto.
For the introduction of a computer-readable storage medium provided by the present invention, please refer to the above method embodiments, which are not repeated herein.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a radio frequency transceiving system according to the present invention;
in order to solve the above technical problem, the present invention further provides a radio frequency transceiver system, which is applied to a radio frequency chip, wherein the radio frequency chip comprises an encoder 21, an interface control circuit 22, a nonvolatile storage module 23, a radio frequency transceiver 24 and a keyboard controller 25, the encoder 21 is respectively connected with the radio frequency transceiver 24 and the nonvolatile storage module 23 through the interface control circuit 22, and the encoder 21 is connected with the keyboard controller 25; the system comprises:
the information configuration unit 31 is configured to, after the encoder 21 obtains configuration information of the radio frequency chip from the nonvolatile memory module 23 through the interface control circuit 22, perform information configuration based on the configuration information, where the configuration information includes a working state and/or a working parameter of the radio frequency chip;
a receiving instruction unit 32, configured to determine whether a key instruction of the keyboard controller 25 is received after information configuration is completed, and if yes, trigger the execution unit 33;
and the execution unit 33 is configured to control the radio frequency transceiver 24 to execute a corresponding operation through the interface control circuit 22 based on the key instruction.
As a preferred embodiment, the rf chip further includes a power management module, and the power management module is respectively connected to the encoder 21, the interface control circuit 22, the rf transceiver 24 and the keyboard controller 25; further comprising:
the first judging unit is used for judging whether the radio frequency chip meets the dormancy condition or not, and if so, the dormancy unit is triggered;
and the sleep unit is used for controlling the power management module to disconnect the power supplies of the encoder 21, the interface control circuit 22 and the radio frequency transceiver 24.
As a preferred embodiment, the radio frequency chip further includes a key wake-up module, and the key wake-up module is connected to the keyboard controller 25; after controlling the power management module to disconnect the power of the encoder 21, the interface control circuit 22 and the radio frequency transceiver 24, the method further includes:
a second judging unit, configured to judge, by the keyboard controller 25, whether a wake-up instruction of the key wake-up module is received, and if so, trigger the wake-up unit;
and the wake-up unit is used for controlling the power management module to switch on the power supplies of the encoder 21, the interface control circuit 22 and the radio frequency transceiver 24 and triggering the information configuration unit 31.
As a preferred embodiment, the first judgment unit includes:
the first judging subunit is used for judging whether a key instruction of the keyboard controller 25 is not received in a preset time period, if so, the first judging unit is triggered, and if not, the second judging unit is triggered;
the first judging unit is used for judging that the radio frequency chip meets the dormancy condition;
and the second judging unit is used for judging that the radio frequency chip does not meet the dormancy condition.
As a preferred embodiment, further comprising:
a third determining unit, configured to determine whether a calibration completion instruction of the rf transceiver 24 is received through the interface control circuit 22, if so, trigger the executing unit 33.
As a preferred embodiment, the system further comprises a processor connected with the radio frequency chip; further comprising:
a processor instruction receiving unit, configured to determine whether a control instruction of the processor is received through the interface control circuit 22 after information configuration is completed, and if yes, trigger the operation unit;
and an operation unit, configured to control the radio frequency transceiver 24 to perform a corresponding operation through the interface control circuit 22 based on the control instruction.
As a preferred embodiment, further comprising:
a fourth judging unit, configured to judge whether an artificial calibration instruction of the processor is received through the interface control circuit 22, if yes, trigger the calibrating unit, and if no, trigger the processor instruction receiving unit;
the calibration unit is configured to control the rf transceiver 24 to perform calibration through the interface control circuit 22, and trigger the receiving processor instruction unit after receiving a calibration completion instruction of the rf transceiver 24 through the interface control circuit 22.
For the introduction of the rf transceiving system provided by the present invention, please refer to the above method embodiments, which are not repeated herein.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended 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 (10)

1. A radio frequency transceiving method is characterized by being applied to a radio frequency chip, wherein the radio frequency chip comprises an encoder, an interface control circuit, a nonvolatile storage module, a radio frequency transceiver and a keyboard controller, the encoder is respectively connected with the radio frequency transceiver and the nonvolatile storage module through the interface control circuit, and the encoder is connected with the keyboard controller; the method comprises the following steps:
after the encoder acquires the configuration information of the radio frequency chip from the nonvolatile storage module through the interface control circuit, the encoder performs information configuration based on the configuration information, wherein the configuration information comprises the working state and/or the working parameters of the radio frequency chip;
after the information configuration is completed, judging whether a key instruction of the keyboard controller is received;
and if so, controlling the radio frequency transceiver to execute corresponding operation through the interface control circuit based on the key instruction.
2. The radio frequency transceiving method of claim 1, wherein the radio frequency chip further comprises a power management module, the power management module being connected to the encoder, the interface control circuit, the radio frequency transceiver and the keyboard controller, respectively; after information configuration is carried out based on the configuration information, the method further comprises the following steps:
judging whether the radio frequency chip meets a dormancy condition;
if yes, the power management module is controlled to disconnect the power supplies of the encoder, the interface control circuit and the radio frequency transceiver.
3. The radio frequency transceiving method of claim 2, wherein the radio frequency chip further comprises a key wake-up module, the key wake-up module being connected to the keyboard controller; after controlling the power management module to disconnect the power supplies of the encoder, the interface control circuit and the radio frequency transceiver, the method further comprises:
the keyboard controller judges whether a wake-up instruction of the key wake-up module is received or not;
if yes, controlling the power management module to connect the encoder, the interface control circuit and the power of the radio frequency transceiver, and returning to the step that the encoder acquires the configuration information of the radio frequency chip from the nonvolatile storage module through the interface control circuit and then performs information configuration based on the configuration information.
4. The radio frequency transceiving method of claim 2, wherein determining whether the radio frequency chip satisfies a sleep condition comprises:
judging whether a key instruction of the keyboard controller is not received in a preset time period;
if yes, judging that the radio frequency chip meets the dormancy condition;
if not, the radio frequency chip is judged not to meet the dormancy condition.
5. The radio frequency transceiving method of claim 1, wherein before controlling the radio frequency transceiver to perform a corresponding operation through the interface control circuit based on the key instruction, further comprising:
judging whether a calibration completion instruction of the radio frequency transceiver is received through the interface control circuit;
and if so, controlling the radio frequency transceiver to execute corresponding operation through the interface control circuit based on the key instruction.
6. The radio frequency transceiving method of any one of claims 1 to 5, further comprising a processor connected to the radio frequency chip; further comprising:
after the information configuration is completed, judging whether a control instruction of the processor is received through the interface control circuit;
and if so, controlling the radio frequency transceiver to execute corresponding operation through the interface control circuit based on the control instruction.
7. The radio frequency transceiving method of claim 6, wherein before determining whether the control instruction of the processor is received through the interface control circuit, further comprising:
judging whether a manual calibration instruction of the processor is received through the interface control circuit;
if yes, controlling the radio frequency transceiver to calibrate through the interface control circuit, and after receiving a calibration completion instruction of the radio frequency transceiver through the interface control circuit, judging whether a control instruction of the processor is received through the interface control circuit;
if not, the step of judging whether the control instruction of the processor is received through the interface control circuit is carried out.
8. A radio frequency chip, comprising:
the system comprises an encoder, an interface control circuit, a nonvolatile storage module, a radio frequency transceiver and a keyboard controller;
the encoder is respectively connected with the radio frequency transceiver and the nonvolatile storage module through the interface control circuit, and is connected with the keyboard controller;
the encoder is used for realizing the steps of the radio frequency transceiving method as claimed in any one of the claims 1,2,4 to 7.
9. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the radio frequency transceiving method according to any one of claims 1 to 7.
10. A radio frequency transceiving system is characterized in that the radio frequency transceiving system is applied to a radio frequency chip, the radio frequency chip comprises an encoder, an interface control circuit, a nonvolatile storage module, a radio frequency transceiver and a keyboard controller, the encoder is respectively connected with the radio frequency transceiver and the nonvolatile storage module through the interface control circuit, and the encoder is connected with the keyboard controller; the system comprises:
the information configuration unit is used for the encoder to acquire configuration information of the radio frequency chip from the nonvolatile storage module through the interface control circuit and then perform information configuration based on the configuration information, wherein the configuration information comprises the working state and/or working parameters of the radio frequency chip;
the receiving instruction unit is used for judging whether a key instruction of the keyboard controller is received or not after information configuration is finished, and if yes, the executing unit is triggered;
and the execution unit is used for controlling the radio frequency transceiver to execute corresponding operation through the interface control circuit based on the key instruction.
CN202211571659.3A 2022-12-08 2022-12-08 Radio frequency transceiving method and related assembly Pending CN115882891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211571659.3A CN115882891A (en) 2022-12-08 2022-12-08 Radio frequency transceiving method and related assembly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211571659.3A CN115882891A (en) 2022-12-08 2022-12-08 Radio frequency transceiving method and related assembly

Publications (1)

Publication Number Publication Date
CN115882891A true CN115882891A (en) 2023-03-31

Family

ID=85766550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211571659.3A Pending CN115882891A (en) 2022-12-08 2022-12-08 Radio frequency transceiving method and related assembly

Country Status (1)

Country Link
CN (1) CN115882891A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117114023A (en) * 2023-10-17 2023-11-24 中诚华隆计算机技术有限公司 SOC chip for improving NFC recognition efficiency

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117114023A (en) * 2023-10-17 2023-11-24 中诚华隆计算机技术有限公司 SOC chip for improving NFC recognition efficiency
CN117114023B (en) * 2023-10-17 2023-12-29 中诚华隆计算机技术有限公司 SOC chip for improving NFC recognition efficiency

Similar Documents

Publication Publication Date Title
EP3159219B1 (en) Vehicle-mounted program writing device
US10317984B2 (en) System on chip, method of managing power thereof, and electronic device
EP2757839B1 (en) Power management method and apparatus for network access module
CN102651785A (en) Remote wakeup of application processor of mobile device
CA3107731C (en) Method and apparatus for mission critical standby of a portable communication device
CN100561434C (en) A kind of Windows process system of hand-hold equipment
CN115882891A (en) Radio frequency transceiving method and related assembly
US10051448B2 (en) Wireless communication device and processor for changing connection interval between devices in short range wireless communication
CN101146004A (en) Electronic apparatus and wireless communication control method
CN112530056A (en) Method for reducing power consumption of intelligent door lock, intelligent door lock and storage medium
CN108377484B (en) Bluetooth controller power consumption control method and device
CN112114887A (en) Controlled device, method for waking up controlled device and storage medium
CN105744604B (en) WIFI module power consumption control device and method based on android system
CN112105041A (en) Control method and device for environment adjusting equipment powered by battery and terminal
CN114035477A (en) Equipment awakening method, device and system
CN113242081B (en) Intelligent terminal based on satellite communication
CN106598193B (en) Power consumption control method and device
CN114290943A (en) Remote reservation charging control method based on TBOX
CN104427133A (en) Communication-terminal standby electricity-saving control method and control device
WO2018010438A1 (en) Responding method and apparatus for terminal
CN101646227A (en) Power management method for mobile terminal and mobile terminal
CN114083984B (en) New energy vehicle static power supply control method and system
CN102929380A (en) Method and device for reducing power consumption of mobile terminal, and terminal
CN112261709A (en) Terminal node data transmission module of LoRaWAN
CN112395018B (en) Direction control application starting method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination