WO2018165923A1 - Method and device for internal oscillation calibration for mpos-based mcu - Google Patents
Method and device for internal oscillation calibration for mpos-based mcu Download PDFInfo
- Publication number
- WO2018165923A1 WO2018165923A1 PCT/CN2017/076814 CN2017076814W WO2018165923A1 WO 2018165923 A1 WO2018165923 A1 WO 2018165923A1 CN 2017076814 W CN2017076814 W CN 2017076814W WO 2018165923 A1 WO2018165923 A1 WO 2018165923A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- value
- mcu
- module
- current
- baud rate
- Prior art date
Links
- 230000010355 oscillation Effects 0.000 title claims abstract description 46
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000004891 communication Methods 0.000 claims abstract description 77
- 238000012360 testing method Methods 0.000 claims description 54
- 238000005259 measurement Methods 0.000 claims description 32
- 238000006243 chemical reaction Methods 0.000 claims description 18
- 238000001514 detection method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 2
- 239000002994 raw material Substances 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000007795 chemical reaction product Substances 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
- G06F13/4291—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0002—Serial port, e.g. RS232C
Definitions
- the present invention relates to an internal oscillator calibration method for an MCU, and more particularly to an mPOS-based MCU internal oscillation calibration method and apparatus.
- mPOS Mobile Point Of Sale
- devices such as mobile phones and tablets through Bluetooth to realize secure payment.
- the competition in the payment industry tends to heat up, the cost pressure on end products is increasing.
- the external crystal is removed, and the internal oscillation is used. Due to the individual differences of the chip, the deviation of internal oscillation is more.
- the national technology Z32HUA security chip we use the national technology Z32HUA security chip, the user manual has a nominal ⁇ 10%, which seriously affects the serial communication and Precisely set.
- the main object of the present invention is to provide an mCU-based MCU internal oscillation calibration method to solve the above-mentioned problem that the Bluetooth module fails to communicate due to the deviation of the internal oscillation.
- the present invention provides an mPOS-based MCU internal oscillation calibration method, including the steps:
- the current measured operating frequency of the MCU is converted; [0008] the MCU is frequency-adjusted according to the current measured operating frequency of the MCU, and adjusted to the standard working frequency.
- the above-mentioned conversion working frequency conversion formula includes:
- f standard is the standard operating frequency of the above MCU
- BPR cw is the current MCU baud rate measurement value
- BPR standard is the current MCU baud rate standard value
- the mPOS-based MCU internal oscillation calibration method further includes, after the step of obtaining the current working baud rate measurement value of the MCU, the step of testing the MCU current working baud rate maximum and minimum values. ;
- step S13 if the communication is successful, the communication flag is set to 1, otherwise, step S18;
- S16 detecting whether the current value is greater than a maximum value
- the step of the mPOS-based MCU internal oscillation calibration method, the step of acquiring the current working baud rate measurement value of the MCU further includes:
- the CU's working baud rate maximum and minimum steps it also includes: [0028] The current value, the maximum value, the minimum value, the default value, and the maximum boundary value of the above-described baud rate of the initialization port are preset.
- the present invention provides an mPOS-based MCU internal oscillation calibration apparatus, including:
- an obtaining module which acquires a current working baud rate measurement value of the MCU
- a conversion module configured to convert the current measured working frequency of the MCU according to the current working baud rate measurement value of the MCU;
- the adjustment module is configured to perform frequency adjustment on the MCU according to the current measured working frequency of the MCU, and adjust to a standard working frequency.
- the conversion formula of the above-mentioned measurement operating frequency converted by the conversion module includes:
- f standard is the standard operating frequency of the above MCU
- BPR is the current MCU baud rate measurement value
- BPR standard is the current MCU baud rate standard value
- the mPOS-based MCU internal oscillation calibration device further includes a test module, and the test module includes:
- a first determining submodule configured to detect whether a current value of a baud rate of the MCU is less than a preset maximum boundary value
- a second determining submodule configured to send a test signal to the Bluetooth chip, to detect whether the communication is successful
- a flag sub-module configured to set the communication flag to 1
- a third determining submodule configured to detect whether the current value is less than a minimum value
- a first setting submodule configured to update the current value to a minimum value and save
- a fourth determining submodule configured to detect whether the current value is greater than a maximum value
- a second setting submodule configured to update the current value to a maximum value and save
- a feedback submodule configured to add 1 to the current value, and run the first determining submodule
- the mPOS-based MCU internal oscillation calibration device further includes
- a fifth determining submodule configured to detect whether the communication flag is 1;
- the first measuring submodule is configured to: when the communication flag is 1 ⁇ , take the average value of the maximum value and the minimum value of the baud rate as the measured value;
- the second measuring submodule is configured to: when the communication flag is not 1 ⁇ , the default value of the baud rate is the measured value.
- the mPOS-based MCU internal oscillation calibration device further includes:
- a preset module configured to preset a current value, a maximum value, a minimum value, a default value, and a maximum boundary value of the baud rate of the initialization port.
- the mPOS-based MCU internal oscillation calibration method and device of the present invention effectively reduces the communication anomaly or failure caused by the internal oscillation frequency deviation and the inaccurate problem by testing and adjusting the operating frequency of the MCU. It greatly reduces the raw material loss of the producer, improves the utilization rate of raw materials, reduces the cost, and is more environmentally friendly.
- FIG. 1 is a schematic flowchart of a mPOS-based MCU internal oscillation calibration method according to an embodiment of the present invention
- FIG. 2 is a flow chart of an mPOS-based MCU internal oscillation calibration method according to an embodiment of the present invention
- FIG. 3 is a schematic flowchart of a mPOS-based MCU internal oscillation calibration method according to an embodiment of the present invention
- 4 is a schematic block diagram showing a structure of an internal oscillator oscillating calibration method based on mPOS according to an embodiment of the present invention
- FIG. 5 is a schematic block diagram showing the structure of an internal oscillator oscillating calibration device based on mPOS according to an embodiment of the present invention
- FIG. 6 is a block diagram showing the structure of an MCU internal oscillation calibration apparatus based on mPOS according to an embodiment of the present invention.
- FIG. 7 is a block diagram showing the structure of an MCU internal oscillation calibration apparatus according to an embodiment of the present invention
- FIG. 8 is a schematic block diagram showing the structure of an internal oscillator oscillating calibration apparatus based on mPOS according to an embodiment of the present invention.
- test module 11, the first judgment sub-module; 12, the second judgment sub-module; 13, the flag sub-module; 14, the third judgment sub-module; 15, the feedback sub-module; 16, the first setting Sub-module; 17, fourth judging sub-module; 1 8 , second setting sub-module; 20, acquiring module; 21, fifth judging sub-module; 22, first measuring sub-module; 23, second measuring sub-module; 30, conversion module; 40, adjustment module.
- first”, “second” and the like in the present invention are used for the purpose of description only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of indicated technical features. .
- features defining “first” and “second” may include at least one of the features, either explicitly or implicitly.
- the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. It is also within the scope of protection required by the present invention.
- the present invention provides an MCU internal oscillation calibration method based on mPOS, including the steps of: S20: acquiring a current working baud rate measurement value of the MCU; S30, according to the foregoing MCU.
- the current working baud rate measurement value is converted into the current measured working frequency of the MCU; S40,
- the MCU is frequency-adjusted according to the current measured operating frequency of the MCU and adjusted to the standard operating frequency.
- step S20 the conversion of the test value is performed according to the maximum and minimum values of the baud rate obtained in the above step S10, wherein the method preferably takes the average of the maximum and minimum values of the baud rate. Value as a test value;
- Step S30 the working baud rate test value of the current MCU converted according to the above step S20, combined with the standard operating frequency and the working baud rate standard value of the MCU;
- Step S40 after performing the calculating the operating frequency of the MCU in the above step S30, performing frequency adjustment on the MCU according to the measured frequency, increasing or decreasing the operating frequency of the MCU, and adjusting the operating frequency to the standard work. Frequency value.
- the above mPOS-based MCU internal oscillation calibration method includes:
- f curr (f standardXBPR CU rr)/BPR standard
- BPR is the current MCU baud rate measurement value
- BPR standard is the current MCU baud rate standard value
- f eim (f standard xBPR euiI ) / BPR standard, derived from the formula f curr BPR curr - f standarc BPR standard.
- the mPOS-based MCU internal oscillation calibration method further includes the step S10, testing the MCU before the obtaining the current working baud rate measurement value of the MCU in the foregoing step S20.
- the stored maximum and minimum values are tested for the above steps to test the maximum and minimum values to be tested in the current working baud rate and minimum value of the MCU.
- step S10 the maximum and minimum working baud rates of the MCU are calculated according to the signal of the current MCU and the working environment, wherein the MCU detected by the present invention is preferably the Z32HUA security of the National Technology Co., Ltd. Chip
- Step S1 l detecting that the current value of the current baud rate is compared with a maximum boundary value, where, before the comparing step, the current value and the minimum value of the preset baud rate are generally included. And maximum value;
- Step S12 when the result of step S11 is that the current value of the baud rate is less than the maximum boundary value, the MCU sends a test signal to the Bluetooth chip for communication attempt, and detects whether the Bluetooth chip has a feedback signal. ;
- step S13 according to the detection result of the above step S12, when the Bluetooth chip has a feedback signal to the MCU, the communication flag of the MCU is set to 1, wherein the MCU will perform the above step S10. The communication flag contained in the message is cleared to 0;
- Step S14 comparing the current value and the minimum value of the baud rate of the MCU whose communication flag is set to 1 in the above step S13, detecting whether the current value is less than a minimum value;
- Step S15 when the result of the above step S14 is that the current value is less than the minimum value, the current value is set to a new minimum value;
- step S16 If the result of the above step S16 is that the current value is greater than the maximum value ⁇ , the current value is set to a maximum value;
- Step S1 l compares the current value after adding 1 with the maximum boundary value to detect whether it is less than the maximum boundary value.
- the step of acquiring the current working baud rate measurement value of the MCU further includes: S21: detecting whether the communication flag is 1 ; S22. When the communication flag is 1 ⁇ , take the average value of the maximum and minimum values of the baud rate as the measured value; S23. When the communication flag is not 1 ⁇ , the default value of the baud rate is taken as the measured value.
- Step S21 detecting the communication flag of the MCU, and detecting whether the communication flag is 1, wherein the communication flag in the MCU generally includes two types, one is successful for communication detection, and the baud rate is The current value is not less than the maximum boundary value, the communication flag is 1; the other is that the communication detection is unsuccessful, or the current value of the baud rate is less than the maximum boundary value, and the communication flag is 0;
- step S21 If the result of the determination in the above step S21 is that the communication flag is 1 ⁇ , the average value of the maximum value and the minimum value of the baud rate of the MCU is taken as the measured value;
- step S23 when the result of the determination in the above step S21 is that the communication flag is not 1 ⁇ , the default value of the baud rate is taken as the measured value.
- the mPOS-based MCU internal oscillation calibration method includes: S9, pre-set initialization, before the step S10, testing the maximum and minimum operating baud rates of the current MCU.
- step S9 before the execution of the maximum and minimum values of the working baud rate of the current MCU in the above step S10, the current value, the maximum value, and the minimum value of the set of the above-mentioned baud rates are preset to the system.
- the value, the default value, and the maximum boundary value the system tests the MCU according to the current value, the maximum value, the minimum value, the default value, and the maximum boundary value of the above baud rate to obtain the actual maximum baud rate of the MCU. And minimum.
- the mPOS-based MCU internal oscillation calibration method is implemented according to the following steps: S9. Presetting the current value, maximum value, minimum value, and default value of the baud rate. And the maximum boundary value; S10, testing the maximum and minimum working baud rate of the current MCU; the above step S10 performing the process includes performing the following sub-steps: Sl l, detecting whether the current value of the baud rate of the MCU is less than the pre- Setting a maximum boundary value; S12, if the current value is less than a preset maximum boundary value, sending a test signal to the Bluetooth chip to detect whether the communication is successful; otherwise, performing the acquiring the current MCU Step of calculating the working baud rate; S13, if the communication is successful, setting the communication flag to 1, otherwise, performing step S18; S14, detecting whether the current value is less than the minimum value; S15, if the current value is less than If the current value is greater than the maximum value, The value
- step S20 execution process includes the following sub-steps: S21, detecting whether the communication flag is 1; S22, when the communication flag is 1 ⁇ , taking the maximum value of the baud rate and the most The average value is used as the measured value; S23. When the communication flag is not 1 ⁇ , the default value of the baud rate is taken as the measured value; S30, the measured working frequency of the current MCU is converted; S40, the frequency is calculated for the MCU according to the above measured frequency Adjust and adjust to the standard operating frequency.
- the present invention provides an MCU internal oscillation calibration apparatus based on mPOS, comprising: an acquisition module 20, configured to acquire a current working baud rate measurement value of the MCU; and a conversion module 30, configured to The current working baud rate of the MCU is calculated, and the current measured operating frequency of the MCU is converted.
- the adjusting module 40 is configured to adjust the frequency of the MCU according to the current measured working frequency of the MCU, and adjust to the standard operating frequency.
- the obtaining module 20 is generally configured to perform conversion of the test value according to the maximum value and the minimum value of the baud rate obtained by the test module 10, wherein the method preferably takes the maximum baud rate. And the average of the minimum values as test values;
- the above-mentioned scaling module 30 is generally used to combine the working port rate test value of the current MCU converted by the obtaining module 20, and the standard operating frequency and the working baud rate standard value of the MCU;
- the adjustment module 40 is generally configured to calculate the operating frequency of the MCU according to the conversion module 30, perform frequency adjustment on the MCU according to the measurement frequency, increase or decrease the operating frequency of the MCU, and adjust the operating frequency to The above standard operating frequency value.
- f standard is the standard operating frequency of the above MCU
- BPR is the current MCU baud rate measurement value
- BPR standard is the current MCU baud rate standard value
- the test module further includes a sub-module: further comprising a test module 10, the test module 10 includes: a first determination sub-module 11 And a method for detecting whether the current value of the baud rate is less than a preset maximum boundary value; the second determining sub-module 12, configured to send a test signal to the Bluetooth chip, to detect whether the communication is successful; and a flag sub-module 13 configured to use the communication flag
- the third determining sub-module 14 is configured to detect whether the current value is less than a minimum value; the first setting sub-module 15 is configured to update the current value to a minimum value and save the fourth determining sub-module 16, For detecting whether the current value is greater than the maximum value; the second setting sub-module 17 is configured to update the current value to a maximum value and save; the feedback sub-module 18 is configured to add 1 to the current value, and run the first a judging sub-
- Judging sub-module 16 when the fourth judging sub-module 16 determines that the result is ⁇ , running the second setting sub-module 17, and running the feedback sub-module 18; when the first judging sub-module 11 determines that the result is no ⁇ , running the above obtaining module; when the second determining sub-module 12 determines that the result is no, the feedback sub-module 18 is operated; when the third determining sub-module 14 determines that the result is no, the fourth determining sub-module 16 is operated.
- the feedback sub-module 18 is operated; the above modules are repeatedly operated until the current value is not less than the maximum boundary value, and the maximum value and the minimum value stored in the above-mentioned The maximum and minimum values to be tested by the test module.
- the test module 10 is generally configured to calculate a maximum and a minimum working baud rate of the MCU according to a signal and a working environment of the current MCU, where the MCU detected by the present invention is preferably a National Technology Co., Ltd. Z32HUA security chip; [0106]
- the first determining sub-module 11 is generally configured to detect that the current value of the current baud rate is compared with a maximum boundary value, where the first determining sub-module 11 is generally pre-previously before the comparing step. Set the current, minimum and maximum values of the baud rate;
- the second determining sub-module 12 is generally configured to: when the first determining sub-module 11 determines that the current value of the baud rate is less than the maximum boundary value, the MCU sends a test signal to the Bluetooth chip to perform a communication attempt, and Detecting whether the above Bluetooth chip has a feedback signal;
- the flag sub-module 13 is generally configured to: according to the detection result of the second determining sub-module 12, when the Bluetooth chip has a feedback signal to the MCU, setting the communication flag of the MCU to 1, wherein the MCU is Clearing the communication flag contained in the test module 10 before performing the above test module 10;
- the third determining sub-module 14 is generally configured to compare the current value and the minimum value of the baud rate of the MCU whose communication flag is set to 1 in the flag sub-module 13 to detect whether the current value is less than a minimum value. ;
- the first setting sub-module 15 is generally configured to set the current value to a new minimum value when the result determined by the third determining sub-module 14 is that the current value is less than a minimum value;
- the fourth determining sub-module 16 is generally configured to: when the first setting sub-module 15 sets the current value to a new minimum value, or when the determination result of the third determining sub-module 14 is the above If the current value is not less than the minimum value, detecting whether the current value is greater than the maximum value;
- the second setting sub-module 17 is generally configured to set the current value to a maximum value when the determination result of the fourth determining sub-module 16 is that the current value is greater than a maximum value;
- the feedback sub-module 18 is generally used when the determination result in the flag sub-module 13 is that the communication is unsuccessful, or after the second setting sub-module 17 sets the current value to the maximum value, or When the determination result in the fourth judging sub-module 16 is that the current value is not greater than the maximum value, the current value of the unsuccessful MCU is incremented by one, and the first judging sub-module 11 is returned, and the first judging sub-module 11 is added. The above current value is compared with the maximum boundary value to detect whether it is less than the maximum boundary value.
- the acquiring module further includes: a fifth determining sub-module 21, configured to detect whether the communication flag is 1;
- the module 22 is configured to: when the communication flag is 1 ⁇ , take the average value of the maximum value and the minimum value of the baud rate as the measured value;
- the second measuring sub-module 23 is configured to: when the communication flag is not 1 ⁇ , take the baud rate The default value is the measured value [0115]
- the fifth determining sub-module 21 is generally configured to detect the communication flag of the MCU, and detect whether the communication flag is 1, wherein the communication flag in the MCU generally includes two types, and one is successful for communication detection. And, the current value of the baud rate is not less than the maximum boundary value, the communication flag is 1; the other is that the communication detection is unsuccessful, or the current value of the baud rate is less than the maximum boundary value, and the communication flag is 0;
- the first measurement sub-module 22 is generally configured to: when the determination result in the fifth determining sub-module 21 is that the communication flag is 1 ⁇ , take the average value of the maximum value and the minimum value of the baud rate of the MCU as Measured value
- the second measurement sub-module 23 is generally used to determine that the communication flag is not 1 ⁇ when the determination result in the fifth determination sub-module 21 is set, and the default value of the baud rate is the measured value.
- the mPOS-based MCU internal oscillation calibration device further includes:
- the preset module 9 is configured to preset the current value, the maximum value, the minimum value, the default value, and the maximum boundary value of the above-mentioned baud rate of the initialization port.
- the preset module 9 is generally configured to run a test maximum value and a minimum value on the test module 10, and preset a current set of values, a maximum value, a minimum value, and a default value of the baud rate of the initialization system.
- the value and the maximum boundary value the system tests the MCU according to the current value, the maximum value, the minimum value, the default value and the maximum boundary value of the set baud rate to obtain the actual maximum baud rate and minimum value of the MCU.
- the preset module 9 presets a current value, a maximum value, a minimum value, a default value, and a maximum boundary value of the baud rate.
- the test module 10 tests the current MCU.
- the maximum value and the minimum value of the working baud rate are performed by the following sub-modules during the execution of the test module 10:
- the first determining sub-module 11 is configured to detect whether the current value of the baud rate is less than a preset maximum a second determination sub-module 12, configured to send a test signal to the Bluetooth chip to detect whether the communication is successful; a flag sub-module 13 configured to set the communication flag to 1; and a third determination sub-module 14 configured to detect the current Whether the value is less than the minimum value;
- the first setting sub-module 15 is configured to update the current value to a minimum value and save;
- the fourth determining sub-module 16 is configured to detect whether the current value is greater than a maximum value; a module 17, configured to update the current value to a maximum value and save;
- the feedback sub-module 18 is configured to add 1 to the current value, and run the first determining sub-module; , When said first determination sub-module 11 as the determination result is inches
- the second judging sub-module 12 determines that the result is no, the feedback sub-module 18 is operated; when the third judging sub-module 14 determines that the result is no, the fourth judging sub-module 16 is operated;
- the judgment sub-module 16 determines that the result is negative, and runs the feedback sub-module 18; the above modules are repeatedly operated until the current value is not less than the maximum boundary value, and the maximum value and the minimum value stored by the above-mentioned test modules are to be tested by the test module.
- the maximum value and the minimum value; the obtaining module 20 obtains the current working baud rate measurement value of the MCU; and the current acquisition module 20 needs to meet the current baud rate before driving.
- the fifth determining sub-module 21 detects whether the communication flag is 1; the first measuring sub-module 22 is a communication flag 1 ⁇ , taking the average value of the maximum value and the minimum value of the baud rate as the measured value; the second measurement sub-module 23 when the communication flag is not 1 ⁇ , taking the default value of the baud rate as the measured value; 30: Calculate the measured operating frequency of the current MCU; the adjusting module 40 performs frequency adjustment on the MC U according to the above measured frequency, and adjusts to the standard operating frequency.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Disclosed are a method and device for internal oscillation calibration for an mPOS-based MCU. The method comprises the steps of: acquiring a current working baud rate measured value of the MCU; converting into a current estimated working frequency of the MCU on the basis of the current working baud rate measured value of the MCU; adjusting the frequency of the MCU on the basis of the current estimated working frequency of the MCU, and adjusting to a standard working frequency. Effectively mitigated is the problem of communication error or failure brought forth by internal oscillation frequency deviation and inaccurate timing.
Description
基于 mPOS的 MCU内部震荡校准方法及装置 技术领域 MCU internal oscillation calibration method and device based on mPOS
[0001] 本发明涉及到 MCU的内部震荡校准方法, 特别是涉及到一种基于 mPOS的 MCU 内部震荡校准方法及装置。 [0001] The present invention relates to an internal oscillator calibration method for an MCU, and more particularly to an mPOS-based MCU internal oscillation calibration method and apparatus.
背景技术 Background technique
[0002] mPOS(Mobile Point Of Sale)作为一种移动销售终端, 通过蓝牙与手机、 平板等 设备连接, 实现安全支付。 由于支付行业竞争趋于白热化, 对终端产品成本压 力越来越大。 为了降低成本, 将外部晶体去掉, 改用内部震荡, 由于芯片个体 差异, 内部震荡的偏差比较多, 如我们使用的国民技术 Z32HUA安全芯片, 用户 手册中标称 ±10%, 严重影响串口通讯及精准定吋。 [0002] As a mobile sales terminal, mPOS (Mobile Point Of Sale) is connected to devices such as mobile phones and tablets through Bluetooth to realize secure payment. As the competition in the payment industry tends to heat up, the cost pressure on end products is increasing. In order to reduce the cost, the external crystal is removed, and the internal oscillation is used. Due to the individual differences of the chip, the deviation of internal oscillation is more. For example, we use the national technology Z32HUA security chip, the user manual has a nominal ±10%, which seriously affects the serial communication and Precisely set.
[0003] 在批量生产中, 由于内部震荡的偏差, 导致部分机器不能正常工作, 如蓝牙模 块通讯失败, 蜂鸣器声音异常等问题。 [0003] In mass production, some machines fail to work properly due to internal fluctuations, such as Bluetooth module communication failure and buzzer sound abnormality.
技术问题 technical problem
[0004] 本发明的主要目的为提供一种基于 mPOS的 MCU内部震荡校准方法, 以解决上 述由于内部震荡的偏差, 导致蓝牙模块通讯失败的问题。 [0004] The main object of the present invention is to provide an mCU-based MCU internal oscillation calibration method to solve the above-mentioned problem that the Bluetooth module fails to communicate due to the deviation of the internal oscillation.
问题的解决方案 Problem solution
技术解决方案 Technical solution
[0005] 本发明提出一种基于 mPOS的 MCU内部震荡校准方法, 包括步骤: [0005] The present invention provides an mPOS-based MCU internal oscillation calibration method, including the steps:
[0006] 获取上述 MCU当前的工作波特率测算值; [0006] obtaining the current working baud rate measurement value of the MCU;
[0007] 根据上述 MCU当前的工作波特率测算值, 换算出 MCU当前的测算工作频率; [0008] 根据上述 MCU当前的测算工作频率对 MCU进行频率调整, 并调整至标准工作 频率。 [0007] according to the current working baud rate measurement value of the MCU, the current measured operating frequency of the MCU is converted; [0008] the MCU is frequency-adjusted according to the current measured operating frequency of the MCU, and adjusted to the standard working frequency.
[0009] 进一步地, 上述的基于 mPOS的 MCU内部震荡校准方法, 上述测算工作频率的 换算公式包括: [0009] Further, in the above mPOS-based MCU internal oscillation calibration method, the above-mentioned conversion working frequency conversion formula includes:
[0010] f = (f BPR curr)/BPR [0010] f = (f BPR curr )/BPR
[0011] 其中: 为当前 MCU的测算工作频率, f standard为上述 MCU的标准工作频率
, BPR cw为当前 MCU的波特率测算值, BPR standard为当前 MCU的波特率标准值 [0011] wherein: is the current working frequency of the MCU, f standard is the standard operating frequency of the above MCU BPR cw is the current MCU baud rate measurement value, and BPR standard is the current MCU baud rate standard value.
[0012] 进一步地, 上述的基于 mPOS的 MCU内部震荡校准方法, 在上述步骤获取上述 MCU当前的工作波特率测算值前, 还包括步骤测试出 MCU当前的工作波特率最 大值和最小值; [0012] Further, the mPOS-based MCU internal oscillation calibration method further includes, after the step of obtaining the current working baud rate measurement value of the MCU, the step of testing the MCU current working baud rate maximum and minimum values. ;
[0013] 上述测试出当前 MCU的工作波特率最大值和最小值步骤, 包括: [0013] The above steps for testing the maximum and minimum operating baud rates of the current MCU include:
[0014] Sl l、 检测上述 MCU的波特率的当前值是否小于预设的最大边界值; [0014] Sl l, detecting whether the current value of the baud rate of the MCU is less than a preset maximum boundary value;
[0015] S12、 若上述当前值小于预设的最大边界值, 则发送测试信号至蓝牙芯片, 检 测是否通讯成功; 否则, 执行上述获取上述 MCU当前的工作波特率测算值的步 骤; [0015] S12. If the current value is less than a preset maximum boundary value, send a test signal to the Bluetooth chip, and check whether the communication is successful; otherwise, perform the step of acquiring the current working baud rate measurement value of the MCU.
[0016] S13、 若通讯成功, 则将通讯标志设置为 1, 否则, 执行步骤 S18; [0016] S13, if the communication is successful, the communication flag is set to 1, otherwise, step S18;
[0017] S14、 检测上述当前值是否小于最小值; [0017] S14. Detect whether the current value is less than a minimum value;
[0018] S15、 若上述当前值小于最小值, 则将上述当前值更新为最小值并保存, 否则 [0018] S15. If the current value is less than the minimum value, update the current value to a minimum value and save, otherwise
, 执行步骤 S16; , performing step S16;
[0019] S16、 检测上述当前值是否大于最大值; [0019] S16: detecting whether the current value is greater than a maximum value;
[0020] S17、 若上述当前值大于最大值, 则将上述当前值更新为最大值并保存, 否则 [0020] S17. If the current value is greater than the maximum value, update the current value to a maximum value and save, otherwise
, 执行步骤 S18; , performing step S18;
[0021] S18、 将上述当前值加 1, 并返回执行上述步骤 S11 ; [0021] S18, adding the above current value to 1, and returning to perform the above step S11;
[0022] 重复以上步骤 S11-S18直至上述当前值不小于最大边界值, 此吋所储存的最大 值和最小值, 为上述步骤测试出 MCU当前的工作波特率和最小值中所要测试出 的最大值和最小值。 [0022] Repeating the above steps S11-S18 until the current value is not less than the maximum boundary value, and the maximum value and the minimum value stored in the above-mentioned steps are tested in the above steps to test the current working baud rate and the minimum value of the MCU. Maximum and minimum values.
[0023] 进一步地, 上述的基于 mPOS的 MCU内部震荡校准方法, 上述获取上述 MCU当 前的工作波特率测算值的步骤, 还包括: [0023] Further, the step of the mPOS-based MCU internal oscillation calibration method, the step of acquiring the current working baud rate measurement value of the MCU, further includes:
[0024] 检测通讯标志是否为 1 ; [0024] detecting whether the communication flag is 1;
[0025] 当通讯标志为 1吋, 取波特率的最大值和最小值的平均值作为测算值; [0025] When the communication flag is 1吋, the average value of the maximum value and the minimum value of the baud rate is taken as the measured value;
[0026] 当通讯标志不为 1吋, 取波特率的默认值为测算值。 [0026] When the communication flag is not 1吋, the default value of the baud rate is taken as the measured value.
[0027] 进一步地, 上述的基于 mPOS的 MCU内部震荡校准方法, 在上述测试出当前 M [0027] Further, the above mPOS-based MCU internal oscillation calibration method, in the above test, the current M
CU的工作波特率最大值和最小值步骤前, 还包括:
[0028] 预设置初始化吋的上述波特率的当前值、 最大值、 最小值、 默认值和最大边界 值。 Before the CU's working baud rate maximum and minimum steps, it also includes: [0028] The current value, the maximum value, the minimum value, the default value, and the maximum boundary value of the above-described baud rate of the initialization port are preset.
[0029] 本发明提出一种基于 mPOS的 MCU内部震荡校准装置, 包括: [0029] The present invention provides an mPOS-based MCU internal oscillation calibration apparatus, including:
[0030] 获取模块, 获取上述 MCU当前的工作波特率测算值; [0030] an obtaining module, which acquires a current working baud rate measurement value of the MCU;
[0031] 换算模块, 用于根据上述 MCU当前的工作波特率测算值, 换算出 MCU当前的 测算工作频率; [0031] a conversion module, configured to convert the current measured working frequency of the MCU according to the current working baud rate measurement value of the MCU;
[0032] 调整模块, 用于根据上述 MCU当前的测算工作频率对 MCU进行频率调整, 并 调整至标准工作频率。 [0032] The adjustment module is configured to perform frequency adjustment on the MCU according to the current measured working frequency of the MCU, and adjust to a standard working frequency.
[0033] 进一步地, 上述的基于 mPOS的 MCU内部震荡校准装置, 上述换算模块换算的 上述测算工作频率的换算公式包括: [0033] Further, in the above mPOS-based MCU internal oscillation calibration device, the conversion formula of the above-mentioned measurement operating frequency converted by the conversion module includes:
[0034] f = (f BPR curr)/BPR [0034] f = (f BPR curr )/BPR
[0035] 其中: 为当前 MCU的测算工作频率, f standard为上述 MCU的标准工作频率 [0035] wherein: is the current working frequency of the MCU, f standard is the standard operating frequency of the above MCU
, BPR 为当前 MCU的波特率测算值, BPR standard为当前 MCU的波特率标准值 BPR is the current MCU baud rate measurement value, and BPR standard is the current MCU baud rate standard value.
[0036] 进一步地, 上述的基于 mPOS的 MCU内部震荡校准装置, 还包括测试模块, [0037] 上述测试模块包括: [0036] Further, the mPOS-based MCU internal oscillation calibration device further includes a test module, and the test module includes:
[0038] 第一判断子模块, 用于检测上述 MCU的波特率的当前值是否小于预设的最大 边界值; [0038] a first determining submodule, configured to detect whether a current value of a baud rate of the MCU is less than a preset maximum boundary value;
[0039] 第二判断子模块, 用于发送测试信号至蓝牙芯片, 检测是否通讯成功; [0039] a second determining submodule, configured to send a test signal to the Bluetooth chip, to detect whether the communication is successful;
[0040] 标志子模块, 用于将通讯标志设置为 1 ; [0040] a flag sub-module, configured to set the communication flag to 1;
[0041] 第三判断子模块, 用于检测上述当前值是否小于最小值; [0041] a third determining submodule, configured to detect whether the current value is less than a minimum value;
[0042] 第一设定子模块, 用于将上述当前值更新为最小值并保存; [0042] a first setting submodule, configured to update the current value to a minimum value and save;
[0043] 第四判断子模块, 用于检测上述当前值是否大于最大值; [0043] a fourth determining submodule, configured to detect whether the current value is greater than a maximum value;
[0044] 第二设定子模块, 用于将上述当前值更新为最大值并保存; [0044] a second setting submodule, configured to update the current value to a maximum value and save;
[0045] 反馈子模块, 用于将上述当前值加 1, 并运行第一判断子模块; [0045] a feedback submodule, configured to add 1 to the current value, and run the first determining submodule;
[0046] 其中, 当上述第一判断子模块判定结果为是吋, 运行上述第二判断子模块; 当 上述第二判断子模块判定结果为是吋, 运行上述标志子模块和第三判断子模块 ; 当上述第三判断子模块判定结果为是吋, 运行上述第一设定子模块和第四判
断子模块,; 当上述第四判断子模块判定结果为是吋, 运行上述第二设定子模块[0046] wherein, when the first determining sub-module determines that the result is 吋, the second determining sub-module is executed; and when the second determining sub-module determines that the result is 吋, the marking sub-module and the third determining sub-module are executed. When the third judgment sub-module determines that the result is yes, the first setting sub-module and the fourth judgment are executed. The sub-module,; when the fourth judging sub-module determines that the result is 吋, the second setting sub-module is operated
, 并运行上述反馈子模块; And running the above feedback sub-module;
[0047] 当上述第一判断子模块判定结果为否吋, 运行上述获取模块; [0047] when the first determining sub-module determines that the result is negative, running the acquiring module;
[0048] 当上述第二判断子模块判定结果为否吋, 运行上述反馈子模块; [0048] when the second determining sub-module determines that the result is no, the feedback sub-module is executed;
[0049] 当上述第三判断子模块判定结果为否吋, 运行上述第四判断子模块; [0049] when the third determining sub-module determines that the result is negative, running the fourth determining sub-module;
[0050] 当上述第四判断子模块判定结果为否吋, 运行上述反馈子模块; [0050] when the fourth determining sub-module determines that the result is negative, running the feedback sub-module;
[0051] 以上各模块重复运行直至上述当前值不小于最大边界值, 此吋所储存的最大值 和最小值, 为上述测试模块所要测试出的最大值和最小值。 [0051] The above modules are repeatedly operated until the current value is not less than the maximum boundary value, and the maximum value and the minimum value stored by the above are the maximum and minimum values to be tested by the above test module.
[0052] 进一步地, 上述的基于 mPOS的 MCU内部震荡校准装置, 上述获取模块还包括 [0052] Further, the mPOS-based MCU internal oscillation calibration device, the acquiring module further includes
[0053] 第五判断子模块, 用于检测通讯标志是否为 1 ; [0053] a fifth determining submodule, configured to detect whether the communication flag is 1;
[0054] 第一测算子模块, 用于当通讯标志为 1吋, 取波特率的最大值和最小值的平均 值作为测算值; [0054] The first measuring submodule is configured to: when the communication flag is 1吋, take the average value of the maximum value and the minimum value of the baud rate as the measured value;
[0055] 第二测算子模块, 用于当通讯标志不为 1吋, 取波特率的默认值为测算值。 [0055] The second measuring submodule is configured to: when the communication flag is not 1吋, the default value of the baud rate is the measured value.
[0056] 进一步地, 上述的基于 mPOS的 MCU内部震荡校准装置, 还包括: [0056] Further, the mPOS-based MCU internal oscillation calibration device further includes:
[0057] 预设模块, 用于预设置初始化吋的上述波特率的当前值、 最大值、 最小值、 默 认值和最大边界值。 [0057] a preset module, configured to preset a current value, a maximum value, a minimum value, a default value, and a maximum boundary value of the baud rate of the initialization port.
发明的有益效果 Advantageous effects of the invention
有益效果 Beneficial effect
[0058] 本发明的基于 mPOS的 MCU内部震荡校准方法及装置, 通过对 MCU的工作频率 的测试和调整, 有效减少了内部震荡频率偏差带来的通讯异常或失败以及定吋 不准等问题, 大大降低了生产商的原料损耗, 提高原料利用率, 降低成本, 更 环保。 [0058] The mPOS-based MCU internal oscillation calibration method and device of the present invention effectively reduces the communication anomaly or failure caused by the internal oscillation frequency deviation and the inaccurate problem by testing and adjusting the operating frequency of the MCU. It greatly reduces the raw material loss of the producer, improves the utilization rate of raw materials, reduces the cost, and is more environmentally friendly.
对附图的简要说明 Brief description of the drawing
附图说明 DRAWINGS
[0059] 图 1为本发明一实施例的基于 mPOS的 MCU内部震荡校准方法的流程示意图; [0060] 图 2为本发明一实施例的基于 mPOS的 MCU内部震荡校准方法的流程示意图; [0061] 图 3为本发明一实施例的基于 mPOS的 MCU内部震荡校准方法的流程示意图;
[0062] 图 4为本发明一具体实施例的基于 mPOS的 MCU内部震荡校准方法的结构示意 框图; 1 is a schematic flowchart of a mPOS-based MCU internal oscillation calibration method according to an embodiment of the present invention; [0060] FIG. 2 is a flow chart of an mPOS-based MCU internal oscillation calibration method according to an embodiment of the present invention; [0061] 3 is a schematic flowchart of a mPOS-based MCU internal oscillation calibration method according to an embodiment of the present invention; 4 is a schematic block diagram showing a structure of an internal oscillator oscillating calibration method based on mPOS according to an embodiment of the present invention;
[0063] 图 5为本发明一实施例的基于 mPOS的 MCU内部震荡校准装置的结构示意框图 5 is a schematic block diagram showing the structure of an internal oscillator oscillating calibration device based on mPOS according to an embodiment of the present invention;
[0064] 图 6为本发明一实施例的基于 mPOS的 MCU内部震荡校准装置的结构示意框图 [0065] 图 7为本发明一实施例的基于 mPOS的 MCU内部震荡校准装置的结构示意框图 [0066] 图 8为本发明一具体实施例的基于 mPOS的 MCU内部震荡校准装置的结构示意 框图。 6 is a block diagram showing the structure of an MCU internal oscillation calibration apparatus based on mPOS according to an embodiment of the present invention. [0065] FIG. 7 is a block diagram showing the structure of an MCU internal oscillation calibration apparatus according to an embodiment of the present invention [0066] FIG. 8 is a schematic block diagram showing the structure of an internal oscillator oscillating calibration apparatus based on mPOS according to an embodiment of the present invention.
[0067] 10、 测试模块; 11、 第一判断子模块; 12、 第二判断子模块; 13、 标志子模块 ; 14、 第三判断子模块; 15、 反馈子模块; 16、 第一设定子模块; 17、 第四判 断子模块; 18、 第二设定子模块; 20、 获取模块; 21、 第五判断子模块; 22、 第一测算子模块; 23、 第二测算子模块; 30、 换算模块; 40、 调整模块。 [0067] 10, test module; 11, the first judgment sub-module; 12, the second judgment sub-module; 13, the flag sub-module; 14, the third judgment sub-module; 15, the feedback sub-module; 16, the first setting Sub-module; 17, fourth judging sub-module; 1 8 , second setting sub-module; 20, acquiring module; 21, fifth judging sub-module; 22, first measuring sub-module; 23, second measuring sub-module; 30, conversion module; 40, adjustment module.
[0068] 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。 [0068] The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
实施该发明的最佳实施例 BEST MODE FOR CARRYING OUT THE INVENTION
本发明的最佳实施方式 BEST MODE FOR CARRYING OUT THE INVENTION
[0069] 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明的一部分实施例, 而不是全 部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性 劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of them. Example. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
[0070] 另外, 在本发明中涉及"第一"、 "第二"等的描述仅用于描述目的, 而不能理解 为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。 由此, 限 定有"第一"、 "第二 "的特征可以明示或者隐含地包括至少一个该特征。 另外, 各 个实施例之间的技术方案可以相互结合, 但是必须是以本领域普通技术人员能 够实现为基础, 当技术方案的结合出现相互矛盾或无法实现吋应当认为这种技 术方案的结合不存在, 也不在本发明要求的保护范围之内。 In addition, the descriptions relating to "first", "second" and the like in the present invention are used for the purpose of description only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of indicated technical features. . Thus, features defining "first" and "second" may include at least one of the features, either explicitly or implicitly. In addition, the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. It is also within the scope of protection required by the present invention.
[0071] 参照图 1, 在本发明实施例中, 本发明提供一种基于 mPOS的 MCU内部震荡校 准方法, 包括步骤: S20、 获取上述 MCU当前的工作波特率测算值; S30、 根据 上述 MCU当前的工作波特率测算值, 换算出 MCU当前的测算工作频率; S40、
根据上述 MCU当前的测算工作频率对 MCU进行频率调整, 并调整至标准工作频 率。 Referring to FIG. 1, in the embodiment of the present invention, the present invention provides an MCU internal oscillation calibration method based on mPOS, including the steps of: S20: acquiring a current working baud rate measurement value of the MCU; S30, according to the foregoing MCU. The current working baud rate measurement value is converted into the current measured working frequency of the MCU; S40, The MCU is frequency-adjusted according to the current measured operating frequency of the MCU and adjusted to the standard operating frequency.
[0072] 如上述步骤 S20, 根据上述步骤 S10所得到的上述波特率最大值和最小值, 进行 测试值的换算, 其中, 本方法优选的, 取上述波特率最大值和最小值的平均值 作为测试值; [0072] In step S20, the conversion of the test value is performed according to the maximum and minimum values of the baud rate obtained in the above step S10, wherein the method preferably takes the average of the maximum and minimum values of the baud rate. Value as a test value;
[0073] 如上述步骤 S30, 根据上述步骤 S20换算出的当前 MCU的工作波特率测试值, 结合上述 MCU的标准工作频率和工作波特率标准值; [0073] Step S30, the working baud rate test value of the current MCU converted according to the above step S20, combined with the standard operating frequency and the working baud rate standard value of the MCU;
[0074] 如上述步骤 S40, 在上述步骤 S30执行算出上述 MCU的测算工作频率后, 根据 上述测算频率对上述 MCU进行频率调整, 提高或降低上述 MCU的工作频率, 并 调整工作频率至上述标准工作频率值。 [0074] Step S40, after performing the calculating the operating frequency of the MCU in the above step S30, performing frequency adjustment on the MCU according to the measured frequency, increasing or decreasing the operating frequency of the MCU, and adjusting the operating frequency to the standard work. Frequency value.
[0075] 在本实施例中, 上述的基于 mPOS的 MCU内部震荡校准方法, 上述测算工作频 率的换算公式包括: [0075] In this embodiment, the above mPOS-based MCU internal oscillation calibration method, the above-mentioned conversion working frequency conversion formula includes:
[0076] f curr = (f standardXBPR CUrr)/BPR standard f curr = (f standardXBPR CU rr)/BPR standard
[0077] 其中: 为当前 MCU的测算工作频率, f standard为上述 MCU的标准工作频率 [0077] wherein: the current operating frequency of the MCU, f standard is the standard operating frequency of the MCU
, BPR 为当前 MCU的波特率测算值, BPR standard为当前 MCU的波特率标准值 BPR is the current MCU baud rate measurement value, and BPR standard is the current MCU baud rate standard value.
[0078] 上述公式: f eim = (f standardxBPR euiI)/BPR standard, 由公式 f curr BPR curr— f standarc BPR standard推导得出。 [0078] The above formula: f eim = (f standard xBPR euiI ) / BPR standard, derived from the formula f curr BPR curr - f standarc BPR standard.
[0079] 参照图 2, 在本实施例中, 上述的基于 mPOS的 MCU内部震荡校准方法, 在上 述步骤 S20、 获取上述 MCU当前的工作波特率测算值前, 还包括步骤 S10、 测试 出 MCU当前的工作波特率和最小值; 上述 S10、 测试出当前 MCU的工作波特率 最大值和最小值步骤, 还包括: Sl l、 检测所述 MCU的波特率的当前值是否小于 预设的最大边界值; S12、 若所述当前值小于预设的最大边界值, 则发送测试信 号至蓝牙芯片, 检测是否通讯成功; 否则, 执行所述获取所述 MCU当前的工作 波特率测算值的步骤; S13、 若通讯成功, 则将通讯标志设置为 1, 否则, 执行 步骤 S18; S14、 检测所述当前值是否小于最小值; S15、 若所述当前值小于最小 值, 则将所述当前值更新为最小值并保存, 否则, 执行步骤 S16; S16、 检测所 述当前值是否大于最大值; S17、 若所述当前值大于最大值, 则将所述当前值更
新为最大值并保存, 否则, 执行步骤 S18; S18、 将所述当前值加 1, 并返回执行 所述步骤 S11 ; 重复以上步骤 S11-S18直至上述当前值不小于最大边界值, 此吋 所储存的最大值和最小值, 为上述步骤测试出 MCU当前的工作波特率和最小值 中所要测试出的最大值和最小值。 [0079] Referring to FIG. 2, in the embodiment, the mPOS-based MCU internal oscillation calibration method further includes the step S10, testing the MCU before the obtaining the current working baud rate measurement value of the MCU in the foregoing step S20. The current working baud rate and the minimum value; the above S10, testing the current MCU operating baud rate maximum and minimum steps, further comprising: Sl l, detecting whether the current value of the MCU baud rate is less than a preset a maximum boundary value; S12. If the current value is less than a preset maximum boundary value, send a test signal to the Bluetooth chip to detect whether the communication is successful; otherwise, perform the acquiring the current working baud rate measurement value of the MCU. Step: S13, if the communication is successful, the communication flag is set to 1, otherwise, step S18 is performed; S14, detecting whether the current value is less than a minimum value; S15, if the current value is less than a minimum value, The current value is updated to the minimum value and saved, otherwise, step S16 is performed; S16, detecting whether the current value is greater than the maximum value; S17, if the current value is greater than the maximum value, The current value is more New is the maximum value and saved, otherwise, step S18 is performed; S18, the current value is incremented by 1, and the step S11 is performed; the above steps S11-S18 are repeated until the current value is not less than the maximum boundary value. The stored maximum and minimum values are tested for the above steps to test the maximum and minimum values to be tested in the current working baud rate and minimum value of the MCU.
[0080] 如上述步骤 S10, 根据当前 MCU的的信号以及工作环境, 测算出上述 MCU的工 作波特率最大值和最小值, 其中, 本发明检测的 MCU优选为国民技术股份有限 公司的 Z32HUA安全芯片; [0080] The above-mentioned step S10, the maximum and minimum working baud rates of the MCU are calculated according to the signal of the current MCU and the working environment, wherein the MCU detected by the present invention is preferably the Z32HUA security of the National Technology Co., Ltd. Chip
[0081] 如上述步骤 Sl l, 检测对当前的上述波特率的当前值与最大边界值进行比较, 其中, 在上述比较步骤前, 一般还包括, 预设波特率的当前值、 最小值和最大 值; [0081] Step S1 l, detecting that the current value of the current baud rate is compared with a maximum boundary value, where, before the comparing step, the current value and the minimum value of the preset baud rate are generally included. And maximum value;
[0082] 如上述步骤 S 12, 当上述步骤 S 11判定结果为波特率的当前值小于最大边界值吋 , 上述 MCU发送测试信号至蓝牙芯片进行沟通尝试, 并检测上述蓝牙芯片是否 有反馈信号; [0082] Step S12, when the result of step S11 is that the current value of the baud rate is less than the maximum boundary value, the MCU sends a test signal to the Bluetooth chip for communication attempt, and detects whether the Bluetooth chip has a feedback signal. ;
[0083] 如上述步骤 S13, 根据上述步骤 S12的检测结果, 当上述蓝牙芯片有反馈信号至 上述 MCU吋, 将上述 MCU的通讯标志设置为 1, 其中, 上述 MCU在进行以上步 骤 S 10前将所含有的通讯标志进行清 0处理; [0083] According to the above step S13, according to the detection result of the above step S12, when the Bluetooth chip has a feedback signal to the MCU, the communication flag of the MCU is set to 1, wherein the MCU will perform the above step S10. The communication flag contained in the message is cleared to 0;
[0084] 如上述步骤 S14, 对在上述步骤 S13中通讯标志设置为 1的 MCU的上述波特率当 前值与最小值进行比较, 检测上述当前值是否小于最小值; [0084] Step S14, comparing the current value and the minimum value of the baud rate of the MCU whose communication flag is set to 1 in the above step S13, detecting whether the current value is less than a minimum value;
[0085] 如上述步骤 S15, 当上述步骤 S14判定的结果为上述当前值小于最小值吋, 将上 述当前值设为新的最小值; [0085] Step S15, when the result of the above step S14 is that the current value is less than the minimum value, the current value is set to a new minimum value;
[0086] 如上述步骤 S16, 当上述步骤 S15将上述当前值设为新的最小值后, 或者, 当上 述步骤 S14的判定结果为上述当前值不小于最小值吋, 检测上述当前值是否大于 最大值; [0086] If the current value is set to a new minimum value in the above step S15, or when the determination result in the above step S14 is that the current value is not less than the minimum value, it is detected whether the current value is greater than the maximum value. Value
[0087] 如上述步骤 S17, 当上述步骤 S16的判定结果为上述当前值大于最大值吋, 将上 述当前值设为最大值; [0087] If the result of the above step S16 is that the current value is greater than the maximum value 如, the current value is set to a maximum value;
[0088] 如上述步骤 S18, 当上述步骤 S13中的判定结果为通讯不成功吋, 或者, 在上述 步骤 S17将上述当前值设为最大值后, 或者, 当上述步骤 S16中的判定结果为上 述当前值不大于最大值吋, 将上述通讯不成功的 MCU的上述当前值加 1, 并返回
步骤 Sl l, 将加 1后的上述当前值与最大边界值进行比较, 检测是否小于最大边 界值。 [0088] If the result of the determination in the above step S13 is that the communication is unsuccessful, or the current value is set to the maximum value in the above step S17, or the determination result in the above step S16 is the above, If the current value is not greater than the maximum value, the above current value of the MCU whose communication is unsuccessful is incremented by 1, and returned. Step S1 l compares the current value after adding 1 with the maximum boundary value to detect whether it is less than the maximum boundary value.
[0089] 参照图 3, 在本实施例中, 上述的基于 mPOS的 MCU内部震荡校准方法, 上述 获取所述 MCU当前的工作波特率测算值的步骤, 还包括: S21、 检测通讯标志是 否为 1 ; S22、 当通讯标志为 1吋, 取波特率的最大值和最小值的平均值作为测算 值; S23、 当通讯标志不为 1吋, 取波特率的默认值为测算值。 [0089] Referring to FIG. 3, in the embodiment, the mPOS-based MCU internal oscillation calibration method, the step of acquiring the current working baud rate measurement value of the MCU, further includes: S21: detecting whether the communication flag is 1 ; S22. When the communication flag is 1吋, take the average value of the maximum and minimum values of the baud rate as the measured value; S23. When the communication flag is not 1吋, the default value of the baud rate is taken as the measured value.
[0090] 如上述步骤 S21, 对上述 MCU的通讯标志进行检测, 检测上述通讯标志是否为 1, 其中, 上述 MCU中的通讯标志一般包括两种, 一种为通讯检测成功, 且, 波 特率当前值不小于最大边界值, 该种通讯标志为 1 ; 另一种为通讯检测不成功, 或者, 波特率当前值小于最大边界值, 该种通讯标志为 0; [0090] Step S21, detecting the communication flag of the MCU, and detecting whether the communication flag is 1, wherein the communication flag in the MCU generally includes two types, one is successful for communication detection, and the baud rate is The current value is not less than the maximum boundary value, the communication flag is 1; the other is that the communication detection is unsuccessful, or the current value of the baud rate is less than the maximum boundary value, and the communication flag is 0;
[0091] 如上述步骤 S22, 当上述步骤 S21中的判定结果为通讯标志为 1吋, 取上述 MCU 的波特率的最大值和最小值的平均值作为测算值; [0091] If the result of the determination in the above step S21 is that the communication flag is 1吋, the average value of the maximum value and the minimum value of the baud rate of the MCU is taken as the measured value;
[0092] 如上述步骤 S23, 当上述步骤 S21中的判定结果为通讯标志不为 1吋, 取波特率 的默认值为测算值。 [0092] As in the above step S23, when the result of the determination in the above step S21 is that the communication flag is not 1吋, the default value of the baud rate is taken as the measured value.
[0093] 在本实施例中, 上述的基于 mPOS的 MCU内部震荡校准方法, 在上述 S10、 测 试出当前 MCU的工作波特率最大值和最小值步骤前, 还包括: S9、 预设置初始 化吋的所述波特率的当前值、 最大值、 最小值、 默认值和最大边界值。 In the embodiment, the mPOS-based MCU internal oscillation calibration method includes: S9, pre-set initialization, before the step S10, testing the maximum and minimum operating baud rates of the current MCU. The current value, maximum value, minimum value, default value, and maximum boundary value of the baud rate.
[0094] 如上述步骤 S9, 在上述步骤 S10测试出当前 MCU的工作波特率最大值和最小值 执行前, 对系统预设置初始化吋的一套上述波特率的当前值、 最大值、 最小值 、 默认值和最大边界值, 系统根据该套上述波特率的当前值、 最大值、 最小值 、 默认值和最大边界值对上述 MCU进行测试从而得出该 MCU实际的波特率最大 值和最小值。 [0094] As in step S9 above, before the execution of the maximum and minimum values of the working baud rate of the current MCU in the above step S10, the current value, the maximum value, and the minimum value of the set of the above-mentioned baud rates are preset to the system. The value, the default value, and the maximum boundary value, the system tests the MCU according to the current value, the maximum value, the minimum value, the default value, and the maximum boundary value of the above baud rate to obtain the actual maximum baud rate of the MCU. And minimum.
[0095] 参照图 4, 在一具体实施例中, 上述的基于 mPOS的 MCU内部震荡校准方法, 按照下列步骤实施: S9、 预设置上述波特率的当前值、 最大值、 最小值、 默认 值和最大边界值; S10、 测试出当前 MCU的工作波特率最大值和最小值; 上述步 骤 S10执行过程包括执行下列子步骤: Sl l、 检测所述 MCU的波特率的当前值是 否小于预设的最大边界值; S12、 若所述当前值小于预设的最大边界值, 则发送 测试信号至蓝牙芯片, 检测是否通讯成功; 否则, 执行所述获取所述 MCU当前
的工作波特率测算值的步骤; S13、 若通讯成功, 则将通讯标志设置为 1, 否则 , 执行步骤 S18; S14、 检测所述当前值是否小于最小值; S15、 若所述当前值小 于最小值, 则将所述当前值更新为最小值并保存, 否则, 执行步骤 S16; S16、 检测所述当前值是否大于最大值; S17、 若所述当前值大于最大值, 则将所述当 前值更新为最大值并保存, 否则, 执行步骤 S18; S18、 将所述当前值加 1, 并返 回执行所述步骤 S11 ; 重复以上步骤 S11-S18直至上述当前值不小于最大边界值 , 此吋所储存的最大值和最小值, 为上述步骤测试出 MCU当前的工作波特率和 最小值中所要测试出的最大值和最小值; S20、 获取所述 MCU当前的工作波特率 测算值的; 上述上述步骤 S20执行过程包括执行下列子步骤: S21、 检测通讯标 志是否为 1 ; S22、 当通讯标志为 1吋, 取波特率的最大值和最小值的平均值作为 测算值; S23、 当通讯标志不为 1吋, 取波特率的默认值为测算值; S30、 换算出 当前 MCU的测算工作频率; S40、 根据上述测算频率对 MCU进行频率调整, 并 调整至标准工作频率。 [0095] Referring to FIG. 4, in an embodiment, the mPOS-based MCU internal oscillation calibration method is implemented according to the following steps: S9. Presetting the current value, maximum value, minimum value, and default value of the baud rate. And the maximum boundary value; S10, testing the maximum and minimum working baud rate of the current MCU; the above step S10 performing the process includes performing the following sub-steps: Sl l, detecting whether the current value of the baud rate of the MCU is less than the pre- Setting a maximum boundary value; S12, if the current value is less than a preset maximum boundary value, sending a test signal to the Bluetooth chip to detect whether the communication is successful; otherwise, performing the acquiring the current MCU Step of calculating the working baud rate; S13, if the communication is successful, setting the communication flag to 1, otherwise, performing step S18; S14, detecting whether the current value is less than the minimum value; S15, if the current value is less than If the current value is greater than the maximum value, The value is updated to the maximum value and saved, otherwise, step S18 is performed; S18, the current value is incremented by 1, and the step S11 is performed; the above steps S11-S18 are repeated until the current value is not less than the maximum boundary value, The maximum value and the minimum value are stored, and the maximum and minimum values to be tested in the current working baud rate and the minimum value of the MCU are tested for the above steps; S20. Obtaining the current working baud rate of the MCU. The above step S20 execution process includes the following sub-steps: S21, detecting whether the communication flag is 1; S22, when the communication flag is 1吋, taking the maximum value of the baud rate and the most The average value is used as the measured value; S23. When the communication flag is not 1吋, the default value of the baud rate is taken as the measured value; S30, the measured working frequency of the current MCU is converted; S40, the frequency is calculated for the MCU according to the above measured frequency Adjust and adjust to the standard operating frequency.
[0096] 参照图 5, 本发明提出一种基于 mPOS的 MCU内部震荡校准装置, 包括: 获取 模块 20, 用于获取所述 MCU当前的工作波特率测算值; 换算模块 30, 用于根据 上述 MCU当前的工作波特率测算值, 换算出 MCU当前的测算工作频率; 调整模 块 40, 用于根据上述 MCU当前的测算工作频率对 MCU进行频率调整, 并调整至 标准工作频率。 5, the present invention provides an MCU internal oscillation calibration apparatus based on mPOS, comprising: an acquisition module 20, configured to acquire a current working baud rate measurement value of the MCU; and a conversion module 30, configured to The current working baud rate of the MCU is calculated, and the current measured operating frequency of the MCU is converted. The adjusting module 40 is configured to adjust the frequency of the MCU according to the current measured working frequency of the MCU, and adjust to the standard operating frequency.
[0097] 上述获取模块 20, 一般用于根据上述测试模块 10处理所得到的上述波特率最大 值和最小值, 进行测试值的换算, 其中, 本方法优选的, 取上述波特率最大值 和最小值的平均值作为测试值; [0097] The obtaining module 20 is generally configured to perform conversion of the test value according to the maximum value and the minimum value of the baud rate obtained by the test module 10, wherein the method preferably takes the maximum baud rate. And the average of the minimum values as test values;
[0098] 上述换算模块 30, 一般用于根据上述获取模块 20换算出的当前 MCU的工作波 特率测试值, 结合上述 MCU的标准工作频率和工作波特率标准值; [0098] The above-mentioned scaling module 30 is generally used to combine the working port rate test value of the current MCU converted by the obtaining module 20, and the standard operating frequency and the working baud rate standard value of the MCU;
[0099] 上述调整模块 40, 一般用于根据上述换算模块 30算出上述 MCU的测算工作频 率后, 根据上述测算频率对上述 MCU进行频率调整, 提高或降低上述 MCU的工 作频率, 并调整工作频率至上述标准工作频率值。 [0099] The adjustment module 40 is generally configured to calculate the operating frequency of the MCU according to the conversion module 30, perform frequency adjustment on the MCU according to the measurement frequency, increase or decrease the operating frequency of the MCU, and adjust the operating frequency to The above standard operating frequency value.
[0100] 在本实施例中, 上述的基于 mPOS的 MCU内部震荡校准装置, 上述换算模块 20 换算的上述测算工作频率的换算公式包括:
[0101] f = (f standardXBPR CUIT)/BPR standard [0100] In the embodiment, the mPOS-based MCU internal oscillation calibration device, the conversion formula of the above-mentioned measurement operating frequency converted by the conversion module 20 includes: f = (f standardXBPR CUIT )/BPR stan dard
[0102] 其中: 为当前 MCU的测算工作频率, f standard为上述 MCU的标准工作频率 [0102] wherein: is the measured working frequency of the current MCU, f standard is the standard operating frequency of the above MCU
, BPR 为当前 MCU的波特率测算值, BPR standard为当前 MCU的波特率标准值 BPR is the current MCU baud rate measurement value, and BPR standard is the current MCU baud rate standard value.
[0103] 上述公式: f eim = (f standardxBPR euiI)/BPR standard, 由公式 f curr/BPR = f standard/BPR standard推导得出。 [0103] The above formula: f eim = (f standard xBPR euiI ) / BPR standard, derived from the formula f curr / BPR = f standard / BPR standard.
[0104] 参照图 6, 在本实施例中, 上述的基于 mPOS的 MCU内部震荡校准装置, 上述 测试模块还包括子模块: 还包括测试模块 10, 上述测试模块 10包括: 第一判断 子模块 11, 用于检测波特率的当前值是否小于预设的最大边界值; 第二判断子 模块 12, 用于发送测试信号至蓝牙芯片, 检测是否通讯成功; 标志子模块 13, 用于将通讯标志设置为 1 ; 第三判断子模块 14, 用于检测上述当前值是否小于最 小值; 第一设定子模块 15, 用于将上述当前值更新为最小值并保存; 第四判断 子模块 16, 用于检测上述当前值是否大于最大值; 第二设定子模块 17, 用于将 上述当前值更新为最大值并保存; 反馈子模块 18, 用于将上述当前值加 1, 并运 行第一判断子模块; 其中, 当上述第一判断子模块 11判定结果为是吋, 运行上 述第二判断子模块 12; 当上述第二判断子模块 12判定结果为是吋, 运行上述标 志子模块 13和第三判断子模块 14; 当上述第三判断子模块 14判定结果为是吋, 运行上述第一设定子模块 15和第四判断子模块 16,; 当上述第四判断子模块 16判 定结果为是吋, 运行上述第二设定子模块 17, 并运行上述反馈子模块 18; 当上 述第一判断子模块 11判定结果为否吋, 运行上述获取模块; 当上述第二判断子 模块 12判定结果为否吋, 运行上述反馈子模块 18; 当上述第三判断子模块 14判 定结果为否吋, 运行上述第四判断子模块 16; 当上述第四判断子模块 16判定结 果为否吋, 运行上述反馈子模块 18; 以上各模块重复运行直至上述当前值不小 于最大边界值, 此吋所储存的最大值和最小值, 为上述测试模块所要测试出的 最大值和最小值。 [0104] Referring to FIG. 6, in the embodiment, the mPOS-based MCU internal oscillation calibration device, the test module further includes a sub-module: further comprising a test module 10, the test module 10 includes: a first determination sub-module 11 And a method for detecting whether the current value of the baud rate is less than a preset maximum boundary value; the second determining sub-module 12, configured to send a test signal to the Bluetooth chip, to detect whether the communication is successful; and a flag sub-module 13 configured to use the communication flag The third determining sub-module 14 is configured to detect whether the current value is less than a minimum value; the first setting sub-module 15 is configured to update the current value to a minimum value and save the fourth determining sub-module 16, For detecting whether the current value is greater than the maximum value; the second setting sub-module 17 is configured to update the current value to a maximum value and save; the feedback sub-module 18 is configured to add 1 to the current value, and run the first a judging sub-module; wherein, when the first judging sub-module 11 determines that the result is yes, the second judging sub-module 12 is operated; The break module 12 determines that the result is 吋, and runs the above-mentioned flag sub-module 13 and the third judging sub-module 14; when the third judging sub-module 14 determines that the result is 吋, the first setting sub-module 15 and the fourth are operated. Judging sub-module 16,; when the fourth judging sub-module 16 determines that the result is 吋, running the second setting sub-module 17, and running the feedback sub-module 18; when the first judging sub-module 11 determines that the result is no运行, running the above obtaining module; when the second determining sub-module 12 determines that the result is no, the feedback sub-module 18 is operated; when the third determining sub-module 14 determines that the result is no, the fourth determining sub-module 16 is operated. When the fourth judgment sub-module 16 determines that the result is negative, the feedback sub-module 18 is operated; the above modules are repeatedly operated until the current value is not less than the maximum boundary value, and the maximum value and the minimum value stored in the above-mentioned The maximum and minimum values to be tested by the test module.
[0105] 上述测试模块 10, 一般用于根据当前 MCU的的信号以及工作环境, 测算出上 述 MCU的工作波特率最大值和最小值, 其中, 本发明检测的 MCU优选为国民技 术股份有限公司的 Z32HUA安全芯片;
[0106] 上述第一判断子模块 11, 一般用于检测对当前的上述波特率的当前值与最大边 界值进行比较, 其中, 上述第一判断子模块 11在上述比较步骤前, 一般还预设 波特率的当前值、 最小值和最大值; [0105] The test module 10 is generally configured to calculate a maximum and a minimum working baud rate of the MCU according to a signal and a working environment of the current MCU, where the MCU detected by the present invention is preferably a National Technology Co., Ltd. Z32HUA security chip; [0106] The first determining sub-module 11 is generally configured to detect that the current value of the current baud rate is compared with a maximum boundary value, where the first determining sub-module 11 is generally pre-previously before the comparing step. Set the current, minimum and maximum values of the baud rate;
[0107] 上述第二判断子模块 12, 一般用于当上述第一判断子模块 11判定结果为波特率 的当前值小于最大边界值吋, 上述 MCU发送测试信号至蓝牙芯片进行沟通尝试 , 并检测上述蓝牙芯片是否有反馈信号; [0107] The second determining sub-module 12 is generally configured to: when the first determining sub-module 11 determines that the current value of the baud rate is less than the maximum boundary value, the MCU sends a test signal to the Bluetooth chip to perform a communication attempt, and Detecting whether the above Bluetooth chip has a feedback signal;
[0108] 上述标志子模块 13, 一般用于根据上述第二判断子模块 12的检测结果, 当上述 蓝牙芯片有反馈信号至上述 MCU吋, 将上述 MCU的通讯标志设置为 1, 其中, 上述 MCU在进行以上测试模块 10前将所含有的通讯标志进行清 0处理; [0108] The flag sub-module 13 is generally configured to: according to the detection result of the second determining sub-module 12, when the Bluetooth chip has a feedback signal to the MCU, setting the communication flag of the MCU to 1, wherein the MCU is Clearing the communication flag contained in the test module 10 before performing the above test module 10;
[0109] 上述第三判断子模块 14, 一般用于对在上述标志子模块 13中通讯标志设置为 1 的 MCU的上述波特率当前值与最小值进行比较, 检测上述当前值是否小于最小 值; [0109] The third determining sub-module 14 is generally configured to compare the current value and the minimum value of the baud rate of the MCU whose communication flag is set to 1 in the flag sub-module 13 to detect whether the current value is less than a minimum value. ;
[0110] 上述第一设定子模块 15, 一般用于当上述第三判断子模块 14判定的结果为上述 当前值小于最小值吋, 将上述当前值设为新的最小值; The first setting sub-module 15 is generally configured to set the current value to a new minimum value when the result determined by the third determining sub-module 14 is that the current value is less than a minimum value;
[0111] 上述第四判断子模块 16, 一般用于当上述第一设定子模块 15将上述当前值设为 新的最小值后, 或者, 当上述第三判断子模块 14的判定结果为上述当前值不小 于最小值吋, 检测上述当前值是否大于最大值; [0111] The fourth determining sub-module 16 is generally configured to: when the first setting sub-module 15 sets the current value to a new minimum value, or when the determination result of the third determining sub-module 14 is the above If the current value is not less than the minimum value, detecting whether the current value is greater than the maximum value;
[0112] 上述第二设定子模块 17, 一般用于当上述第四判断子模块 16的判定结果为上述 当前值大于最大值吋, 将上述当前值设为最大值; [0112] The second setting sub-module 17 is generally configured to set the current value to a maximum value when the determination result of the fourth determining sub-module 16 is that the current value is greater than a maximum value;
[0113] 上述反馈子模块 18, 一般用于当上述标志子模块 13中的判定结果为通讯不成功 吋, 或者, 在上述第二设定子模块 17将上述当前值设为最大值后, 或者, 当上 述第四判断子模块 16中的判定结果为上述当前值不大于最大值吋, 将上述通讯 不成功的 MCU的上述当前值加 1, 并返回第一判断子模块 11, 将加 1后的上述当 前值与最大边界值进行比较, 检测是否小于最大边界值。 [0113] The feedback sub-module 18 is generally used when the determination result in the flag sub-module 13 is that the communication is unsuccessful, or after the second setting sub-module 17 sets the current value to the maximum value, or When the determination result in the fourth judging sub-module 16 is that the current value is not greater than the maximum value, the current value of the unsuccessful MCU is incremented by one, and the first judging sub-module 11 is returned, and the first judging sub-module 11 is added. The above current value is compared with the maximum boundary value to detect whether it is less than the maximum boundary value.
[0114] 参照图 7, 在本实施例中, 上述的基于 mPOS的 MCU内部震荡校准装置, 上述 获取模块还包括: 第五判断子模块 21, 用于检测通讯标志是否为 1 ; 第一测算子 模块 22, 用于当通讯标志为 1吋, 取波特率的最大值和最小值的平均值作为测算 值; 第二测算子模块 23, 用于当通讯标志不为 1吋, 取波特率的默认值为测算值
[0115] 上述第五判断子模块 21, 一般用于对上述 MCU的通讯标志进行检测, 检测上 述通讯标志是否为 1, 其中, 上述 MCU中的通讯标志一般包括两种, 一种为通讯 检测成功, 且, 波特率当前值不小于最大边界值, 该种通讯标志为 1 ; 另一种为 通讯检测不成功, 或者, 波特率当前值小于最大边界值, 该种通讯标志为 0; [0114] Referring to FIG. 7, in the embodiment, the mPOS-based MCU internal oscillation calibration apparatus, the acquiring module further includes: a fifth determining sub-module 21, configured to detect whether the communication flag is 1; The module 22 is configured to: when the communication flag is 1吋, take the average value of the maximum value and the minimum value of the baud rate as the measured value; the second measuring sub-module 23 is configured to: when the communication flag is not 1吋, take the baud rate The default value is the measured value [0115] The fifth determining sub-module 21 is generally configured to detect the communication flag of the MCU, and detect whether the communication flag is 1, wherein the communication flag in the MCU generally includes two types, and one is successful for communication detection. And, the current value of the baud rate is not less than the maximum boundary value, the communication flag is 1; the other is that the communication detection is unsuccessful, or the current value of the baud rate is less than the maximum boundary value, and the communication flag is 0;
[0116] 上述第一测算子模块 22, 一般用于当上述第五判断子模块 21中的判定结果为通 讯标志为 1吋, 取上述 MCU的波特率的最大值和最小值的平均值作为测算值; [0116] The first measurement sub-module 22 is generally configured to: when the determination result in the fifth determining sub-module 21 is that the communication flag is 1吋, take the average value of the maximum value and the minimum value of the baud rate of the MCU as Measured value
[0117] 上述第二测算子模块 23, 一般用于当上述第五判断子模块 21中的判定结果为通 讯标志不为 1吋, 取波特率的默认值为测算值。 [0117] The second measurement sub-module 23 is generally used to determine that the communication flag is not 1吋 when the determination result in the fifth determination sub-module 21 is set, and the default value of the baud rate is the measured value.
[0118] 在本实施例中, 上述的基于 mPOS的 MCU内部震荡校准装置, 还包括: [0118] In this embodiment, the mPOS-based MCU internal oscillation calibration device further includes:
[0119] 预设模块 9, 用于预设置初始化吋的上述波特率的当前值、 最大值、 最小值、 默认值和最大边界值。 [0119] The preset module 9 is configured to preset the current value, the maximum value, the minimum value, the default value, and the maximum boundary value of the above-mentioned baud rate of the initialization port.
[0120] 上述预设模块 9, 一般用于在上述测试模块 10运行测试最大值与最小值吋, 对 系统预设置一套初始化吋的上述波特率的当前值、 最大值、 最小值、 默认值和 最大边界值, 系统根据该套上述波特率的当前值、 最大值、 最小值、 默认值和 最大边界值对上述 MCU进行测试从而得出该 MCU实际的波特率最大值和最小值 [0120] The preset module 9 is generally configured to run a test maximum value and a minimum value on the test module 10, and preset a current set of values, a maximum value, a minimum value, and a default value of the baud rate of the initialization system. The value and the maximum boundary value, the system tests the MCU according to the current value, the maximum value, the minimum value, the default value and the maximum boundary value of the set baud rate to obtain the actual maximum baud rate and minimum value of the MCU.
[0121] 参照图 8, 在一具体实施例中, 上述预设模块 9预设置上述波特率的当前值、 最 大值、 最小值、 默认值和最大边界值; 上述测试模块 10测试出当前 MCU的工作 波特率最大值和最小值; 上述测试模块 10执行过程中由下列子模块配合执行达 到目的效果: 第一判断子模块 11, 用于检测波特率的当前值是否小于预设的最 大边界值; 第二判断子模块 12, 用于发送测试信号至蓝牙芯片, 检测是否通讯 成功; 标志子模块 13, 用于将通讯标志设置为 1 ; 第三判断子模块 14, 用于检测 上述当前值是否小于最小值; 第一设定子模块 15, 用于将上述当前值更新为最 小值并保存; 第四判断子模块 16, 用于检测上述当前值是否大于最大值; 第二 设定子模块 17, 用于将上述当前值更新为最大值并保存; 反馈子模块 18, 用于 将上述当前值加 1, 并运行第一判断子模块; 其中, 当上述第一判断子模块 11判 定结果为是吋, 运行上述第二判断子模块 12; 当上述第二判断子模块 12判定结
果为是吋, 运行上述标志子模块 13和第三判断子模块 14; 当上述第三判断子模 块 14判定结果为是吋, 运行上述第一设定子模块 15和第四判断子模块 16,; 当上 述第四判断子模块 16判定结果为是吋, 运行上述第二设定子模块 17, 并运行上 述反馈子模块 18; 当上述第一判断子模块 11判定结果为否吋, 运行上述获取模 块; 当上述第二判断子模块 12判定结果为否吋, 运行上述反馈子模块 18; 当上 述第三判断子模块 14判定结果为否吋, 运行上述第四判断子模块 16; 当上述第 四判断子模块 16判定结果为否吋, 运行上述反馈子模块 18; 以上各模块重复运 行直至上述当前值不小于最大边界值, 此吋所储存的最大值和最小值, 为上述 测试模块所要测试出的最大值和最小值; 上述获取模块 20获取所述 MCU当前的 工作波特率测算值; 上述获取模块 20驱动前需满足上述波特率的当前值不小于 最大边界值, 且, 上述上述获取模块 20执行过程中由下列子模块配合执行达到 目的效果: 上述第五判断子模块 21检测通讯标志是否为 1 ; 上述第一测算子模块 22当通讯标志为 1吋, 取波特率的最大值和最小值的平均值作为测算值; 上述第 二测算子模块 23当通讯标志不为 1吋, 取波特率的默认值为测算值; 上述换算模 块 30换算出当前 MCU的测算工作频率; 上述调整模块 40根据上述测算频率对 MC U进行频率调整, 并调整至标准工作频率。 [0121] Referring to FIG. 8, in a specific embodiment, the preset module 9 presets a current value, a maximum value, a minimum value, a default value, and a maximum boundary value of the baud rate. The test module 10 tests the current MCU. The maximum value and the minimum value of the working baud rate are performed by the following sub-modules during the execution of the test module 10: The first determining sub-module 11 is configured to detect whether the current value of the baud rate is less than a preset maximum a second determination sub-module 12, configured to send a test signal to the Bluetooth chip to detect whether the communication is successful; a flag sub-module 13 configured to set the communication flag to 1; and a third determination sub-module 14 configured to detect the current Whether the value is less than the minimum value; the first setting sub-module 15 is configured to update the current value to a minimum value and save; the fourth determining sub-module 16 is configured to detect whether the current value is greater than a maximum value; a module 17, configured to update the current value to a maximum value and save; the feedback sub-module 18 is configured to add 1 to the current value, and run the first determining sub-module; , When said first determination sub-module 11 as the determination result is inches, the second operation determination sub-module 12; when said second judging sub-module 12 determines the junction If yes, the above-mentioned flag sub-module 13 and the third judging sub-module 14 are operated; when the third judging sub-module 14 determines that the result is 吋, the first setting sub-module 15 and the fourth judging sub-module 16 are operated, When the fourth judging sub-module 16 determines that the result is 吋, the second setting sub-module 17 is operated, and the feedback sub-module 18 is operated; when the first judging sub-module 11 determines that the result is no, the above-mentioned obtaining is performed. Module; when the second judging sub-module 12 determines that the result is no, the feedback sub-module 18 is operated; when the third judging sub-module 14 determines that the result is no, the fourth judging sub-module 16 is operated; The judgment sub-module 16 determines that the result is negative, and runs the feedback sub-module 18; the above modules are repeatedly operated until the current value is not less than the maximum boundary value, and the maximum value and the minimum value stored by the above-mentioned test modules are to be tested by the test module. The maximum value and the minimum value; the obtaining module 20 obtains the current working baud rate measurement value of the MCU; and the current acquisition module 20 needs to meet the current baud rate before driving. Not less than the maximum boundary value, and the above-mentioned obtaining module 20 performs the following effects in cooperation with the following sub-modules: The fifth determining sub-module 21 detects whether the communication flag is 1; the first measuring sub-module 22 is a communication flag 1吋, taking the average value of the maximum value and the minimum value of the baud rate as the measured value; the second measurement sub-module 23 when the communication flag is not 1吋, taking the default value of the baud rate as the measured value; 30: Calculate the measured operating frequency of the current MCU; the adjusting module 40 performs frequency adjustment on the MC U according to the above measured frequency, and adjusts to the standard operating frequency.
[0122] [0122]
[0123] 以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利 用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运 用在其他相关的技术领域, 均同理包括在本发明的专利保护范围内。
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are used directly or indirectly. Other related technical fields are equally included in the scope of patent protection of the present invention.
Claims
权利要求书 Claim
[权利要求 1] 一种基于 mPOS的 MCU内部震荡校准方法, 其特征在于, 包括步骤: 获取所述 MCU当前的工作波特率测算值; [Claim 1] A mPOS-based MCU internal oscillation calibration method, comprising: obtaining a current working baud rate measurement value of the MCU;
根据所述 MCU当前的工作波特率测算值, 换算出 MCU当前的测算工 作频率; Calculating the current measured working frequency of the MCU according to the current working baud rate of the MCU;
根据所述 MCU当前的测算工作频率对 MCU进行频率调整, 并调整至 标准工作频率。 The MCU is frequency-adjusted according to the current measured operating frequency of the MCU and adjusted to the standard operating frequency.
[权利要求 2] 根据权利要求 1所述的基于 mPOS的 MCU内部震荡校准方法, 其特征 在于, 所述测算工作频率的换算公式包括: [Claim 2] The mPOS-based MCU internal oscillation calibration method according to claim 1, wherein the conversion formula of the measured operating frequency comprises:
f BPR ) BPR f BPR ) BPR
其中: 为当前 MCU的测算工作频率, f standard为上述 MCU的标准 工作频率, BPR 为当前 MCU的波特率测算值, BPR standard 为当前 MCU的波特率标准值。 Among them: is the current working frequency of the MCU, f standard is the standard working frequency of the above MCU, BPR is the measured value of the current MCU baud rate, and BPR standard is the standard value of the current MCU baud rate.
[权利要求 3] 根据权利要求 1所述的基于 mPOS的 MCU内部震荡校准方法, 其特征 在于, 在所述步骤获取所述 MCU当前的工作波特率测算值前, 还包 括步骤测试出 MCU当前的工作波特率最大值和最小值; [Claim 3] The mPOS-based MCU internal oscillation calibration method according to claim 1, wherein before the step of acquiring the current working baud rate measurement value of the MCU, the method further includes the step of testing the MCU current Working baud rate maximum and minimum;
所述测试出当前 MCU的工作波特率最大值和最小值步骤, 包括: The steps of testing the maximum and minimum operating baud rates of the current MCU include:
511、 检测所述 MCU的波特率的当前值是否小于预设的最大边界值;511. Check whether a current value of a baud rate of the MCU is less than a preset maximum boundary value.
512、 若所述当前值小于预设的最大边界值, 则发送测试信号至蓝牙 芯片, 检测是否通讯成功; 否则, 执行所述获取所述 MCU当前的工 作波特率测算值的步骤; 512. If the current value is less than a preset maximum boundary value, send a test signal to the Bluetooth chip to detect whether the communication is successful; otherwise, perform the step of acquiring the current working baud rate measurement value of the MCU;
513、 若通讯成功, 则将通讯标志设置为 1, 否则, 执行步骤 S18; 513, if the communication is successful, the communication flag is set to 1, otherwise, step S18;
514、 检测所述当前值是否小于最小值; 514. Detect whether the current value is less than a minimum value.
515、 若所述当前值小于最小值, 则将所述当前值更新为最小值并保 存, 否则, 执行步骤 S16; 515, if the current value is less than the minimum value, the current value is updated to a minimum value and saved, otherwise, step S16 is performed;
516、 检测所述当前值是否大于最大值; 516. Detect whether the current value is greater than a maximum value.
517、 若所述当前值大于最大值, 则将所述当前值更新为最大值并保 存, 否则, 执行步骤 S18;
S18、 将所述当前值加 1, 并返回执行所述步骤 S11 ; 517, if the current value is greater than the maximum value, the current value is updated to the maximum value and saved, otherwise, step S18; S18, adding the current value to 1, and returning to perform the step S11;
重复以上步骤 S11-S18直至所述当前值不小于最大边界值, 此吋所储 存的最大值和最小值, 为所述步骤测试出 MCU当前的工作波特率和 最小值中所要测试出的最大值和最小值。 Repeating the above steps S11-S18 until the current value is not less than the maximum boundary value, and the maximum value and the minimum value stored by the , are tested for the step to test the maximum value of the current working baud rate and the minimum value of the MCU. Value and minimum.
[权利要求 4] 根据权利要求 3所述的基于 mPOS的 MCU内部震荡校准方法, 其特征 在于, 所述获取所述 MCU当前的工作波特率测算值的步骤, 还包括 检测通讯标志是否为 1 ; [Claim 4] The mPOS-based MCU internal oscillation calibration method according to claim 3, wherein the step of acquiring the current working baud rate measurement value of the MCU further comprises detecting whether the communication flag is 1 ;
当通讯标志为 1吋, 取波特率的最大值和最小值的平均值作为测算值 当通讯标志不为 1吋, 取波特率的默认值为测算值。 When the communication flag is 1吋, take the average value of the maximum and minimum values of the baud rate as the measured value. When the communication flag is not 1吋, the default value of the baud rate is taken as the measured value.
[权利要求 5] 根据权利要求 4所述的基于 mPOS的 MCU内部震荡校准方法, 其特征 在于, 在所述测试出当前 MCU的工作波特率最大值和最小值步骤前 , 还包括: [Claim 5] The mPOS-based MCU internal oscillation calibration method according to claim 4, wherein before the step of testing the maximum and minimum operating baud rates of the current MCU, the method further includes:
预设置初始化吋的所述波特率的当前值、 最大值、 最小值、 默认值和 最大边界值。 The current value, maximum value, minimum value, default value, and maximum boundary value of the baud rate of the initialization port are preset.
[权利要求 6] —种基于 mPOS的 MCU内部震荡校准装置, 其特征在于, 包括: 获取模块, 获取所述 MCU当前的工作波特率测算值; [Claim 6] The mPOS-based MCU internal oscillation calibration device, comprising: an acquisition module, which acquires a current working baud rate measurement value of the MCU;
换算模块, 用于根据所述 MCU当前的工作波特率测算值, 换算出 MC U当前的测算工作频率; a conversion module, configured to calculate a current measurement operating frequency of the MC U according to the current working baud rate of the MCU;
调整模块, 用于根据所述 MCU当前的测算工作频率对 MCU进行频率 调整, 并调整至标准工作频率。 The adjustment module is configured to perform frequency adjustment on the MCU according to the current measured working frequency of the MCU, and adjust to a standard working frequency.
[权利要求 7] 根据权利要求 6所述的基于 mPOS的 MCU内部震荡校准装置, 其特征 在于, 所述换算模块换算的所述测算工作频率的换算公式包括: f ― (ΐ BPR CUII)/BPR [Claim 7] The mPOS-based MCU internal oscillation calibration apparatus according to claim 6, wherein the conversion formula of the estimated operating frequency converted by the conversion module comprises: f ― (ΐ BPR CUII ) / BPR
其中: 为当前 MCU的测算工作频率, f standard为上述 MCU的标准 工作频率, BPR ,为当前 MCU的波特率测算值, BPR standard 为当前 MCU的波特率标准值。
[权利要求 8] 根据权利要求 6所述的基于 mPOS的 MCU内部震荡校准装置, 其特征 在于, 还包括测试模块, Among them: is the current working frequency of the MCU, f standard is the standard working frequency of the above MCU, BPR is the current MCU baud rate measurement value, and BPR standard is the current MCU baud rate standard value. [Claim 8] The mPOS-based MCU internal oscillation calibration apparatus according to claim 6, further comprising a test module,
所述测试模块包括: The test module includes:
第一判断子模块, 用于检测所述 MCU的波特率的当前值是否小于预 设的最大边界值; a first determining submodule, configured to detect whether a current value of a baud rate of the MCU is less than a preset maximum boundary value;
第二判断子模块, 用于发送测试信号至蓝牙芯片, 检测是否通讯成功 标志子模块, 用于将通讯标志设置为 1 ; a second determining sub-module, configured to send a test signal to the Bluetooth chip, and detect whether the communication success flag sub-module is used to set the communication flag to 1;
第三判断子模块, 用于检测所述当前值是否小于最小值; a third determining submodule, configured to detect whether the current value is less than a minimum value;
第一设定子模块, 用于将所述当前值更新为最小值并保存; 第四判断子模块, 用于检测所述当前值是否大于最大值; a first setting submodule, configured to update the current value to a minimum value and save the fourth determining submodule, configured to detect whether the current value is greater than a maximum value;
第二设定子模块, 用于将所述当前值更新为最大值并保存; 反馈子模块, 用于将所述当前值加 1, 并运行第一判断子模块; 其中, 当所述第一判断子模块判定结果为是吋, 运行所述第二判断子 模块; 当所述第二判断子模块判定结果为是吋, 运行所述标志子模块 和第三判断子模块; 当所述第三判断子模块判定结果为是吋, 运行所 述第一设定子模块和第四判断子模块,; 当所述第四判断子模块判定 结果为是吋, 运行所述第二设定子模块, 并运行所述反馈子模块; 当所述第一判断子模块判定结果为否吋, 运行所述获取模块; 当所述第二判断子模块判定结果为否吋, 运行所述反馈子模块; 当所述第三判断子模块判定结果为否吋, 运行所述第四判断子模块; 当所述第四判断子模块判定结果为否吋, 运行所述反馈子模块; 以上各模块重复运行直至所述当前值不小于最大边界值, 此吋所储存 的最大值和最小值, 为所述测试模块所要测试出的最大值和最小值。 a second setting submodule, configured to update the current value to a maximum value and save; a feedback submodule, configured to add 1 to the current value, and run a first determining submodule; wherein, when the first Determining that the sub-module determines that the result is 吋, running the second determining sub-module; when the second determining sub-module determines that the result is 吋, running the flag sub-module and the third determining sub-module; Determining that the sub-module determines that the result is 吋, running the first setting sub-module and the fourth determining sub-module; and when the fourth determining sub-module determines that the result is 吋, running the second setting sub-module, And running the feedback sub-module; when the first determining sub-module determines that the result is no, the acquiring module is operated; when the second determining sub-module determines that the result is no, the feedback sub-module is operated; The third determining sub-module determines that the result is negative, and runs the fourth determining sub-module; when the fourth determining sub-module determines that the result is negative, the feedback sub-module is executed; To the current value is not less than the maximum boundary value, the stored inch maximum and minimum values for the test module to be tested out of the maximum and minimum values.
[权利要求 9] 根据权利要求 8所述的基于 mPOS的 MCU内部震荡校准装置, 其特征 在于, 所述获取模块还包括: The oscillating calibration device of the mPOS-based MCU according to claim 8, wherein the acquiring module further comprises:
第五判断子模块, 用于检测通讯标志是否为 1 ; a fifth determining sub-module, configured to detect whether the communication flag is 1;
第一测算子模块, 用于当通讯标志为 1吋, 取波特率的最大值和最小
值的平均值作为测算值; The first measuring submodule is configured to use the maximum and minimum baud rate when the communication flag is 1吋 The average value of the values is used as the measured value;
第二测算子模块, 用于当通讯标志不为 1吋, 取波特率的默认值为测 算值。 The second measurement sub-module is used when the communication flag is not 1吋, and the default value of the baud rate is the measured value.
[权利要求 10] 根据权利要求 9所述的基于 mPOS的 MCU内部震荡校准装置, 其特征 在于, 还包括: [0081] The mPOS-based MCU internal oscillation calibration apparatus according to claim 9, further comprising:
预设模块, 用于预设置初始化吋的所述波特率的当前值、 最大值、 最 小值、 默认值和最大边界值。
Preset module, used to preset the current value, maximum value, minimum value, default value and maximum boundary value of the baud rate of the initialization port.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/076814 WO2018165923A1 (en) | 2017-03-15 | 2017-03-15 | Method and device for internal oscillation calibration for mpos-based mcu |
CN201780001537.1A CN107690633B (en) | 2017-03-15 | 2017-03-15 | mPOS-based MCU internal oscillation calibration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/076814 WO2018165923A1 (en) | 2017-03-15 | 2017-03-15 | Method and device for internal oscillation calibration for mpos-based mcu |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018165923A1 true WO2018165923A1 (en) | 2018-09-20 |
Family
ID=61154070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/076814 WO2018165923A1 (en) | 2017-03-15 | 2017-03-15 | Method and device for internal oscillation calibration for mpos-based mcu |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107690633B (en) |
WO (1) | WO2018165923A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113625155A (en) * | 2021-08-11 | 2021-11-09 | 湖南省计量检测研究院 | Multifunctional communication chip detection system based on big data |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111966522B (en) * | 2020-08-20 | 2023-03-21 | 合肥梅洛尼智能科技有限公司 | Method for reducing communication incapability of household appliances |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140064743A1 (en) * | 2012-09-04 | 2014-03-06 | Cisco Technology | Optical communication transmitter system |
CN104168080A (en) * | 2013-05-15 | 2014-11-26 | 上海贝尔股份有限公司 | Method and apparatus for baud rate self adaption, and equipment |
CN104850170A (en) * | 2015-06-04 | 2015-08-19 | 万高(杭州)科技有限公司 | Crystal-metering-free SoC (system-on-chip) and clock acquiring method thereof |
CN105653491A (en) * | 2016-01-04 | 2016-06-08 | 上海斐讯数据通信技术有限公司 | Serial port communication baud rate adjusting method and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5734057B2 (en) * | 2010-05-21 | 2015-06-10 | ルネサスエレクトロニクス株式会社 | Microcontroller and control method thereof |
CN105790756B (en) * | 2016-03-17 | 2019-02-12 | 杭州晟元数据安全技术股份有限公司 | A kind of method and device communicating calibration clock using UART |
CN106066661B (en) * | 2016-07-12 | 2019-03-08 | 中南大学 | A calibration system with built-in high-precision RC oscillator in SOC |
-
2017
- 2017-03-15 WO PCT/CN2017/076814 patent/WO2018165923A1/en active Application Filing
- 2017-03-15 CN CN201780001537.1A patent/CN107690633B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140064743A1 (en) * | 2012-09-04 | 2014-03-06 | Cisco Technology | Optical communication transmitter system |
CN104168080A (en) * | 2013-05-15 | 2014-11-26 | 上海贝尔股份有限公司 | Method and apparatus for baud rate self adaption, and equipment |
CN104850170A (en) * | 2015-06-04 | 2015-08-19 | 万高(杭州)科技有限公司 | Crystal-metering-free SoC (system-on-chip) and clock acquiring method thereof |
CN105653491A (en) * | 2016-01-04 | 2016-06-08 | 上海斐讯数据通信技术有限公司 | Serial port communication baud rate adjusting method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113625155A (en) * | 2021-08-11 | 2021-11-09 | 湖南省计量检测研究院 | Multifunctional communication chip detection system based on big data |
CN113625155B (en) * | 2021-08-11 | 2024-06-11 | 湖南省计量检测研究院 | Multifunctional communication chip detection system based on big data |
Also Published As
Publication number | Publication date |
---|---|
CN107690633B (en) | 2020-12-22 |
CN107690633A (en) | 2018-02-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018165923A1 (en) | Method and device for internal oscillation calibration for mpos-based mcu | |
WO2008043299A1 (en) | A method and a device of measuring standing wave ratio | |
TWI390594B (en) | A group management system, a semiconductor manufacturing apparatus, an information processing method, and a recording medium | |
CN105361872A (en) | Sphygmomanometer cuff binding detection method and device | |
JPH10247854A (en) | Transmission power control method of pager capable of bidirectional communication | |
CN111537755A (en) | Comparison verification method for alcohol standard gas generated by generating device | |
US20180269998A1 (en) | Measuring apparatus and measuring method | |
KR20130061029A (en) | System for monitoring a heat treatment equipment | |
JP4665559B2 (en) | Pre-emphasis adjustment method, receiver, transmitter, and signal transmission system | |
CN110098876A (en) | Signal strength test system and its test method | |
JP5165548B2 (en) | Screw tightening management system | |
CN103412091B (en) | pH value measuring method and device | |
JP2000214039A (en) | Self-recording pressure gauge | |
TWI309929B (en) | Wireless apparatus and threshold setting method of electric field level | |
TWI316810B (en) | A built in testing signal wireless communication apparatus and testing method thereof | |
JP4809232B2 (en) | Device for detecting leakage and air decompression of automobile wheels | |
WO2012028001A1 (en) | Modification method, device and detection equipment for power control model of radio remote unit | |
JP2003014572A (en) | Pressure sensor and pressure sensor system | |
CN105071872A (en) | Method and device for detecting radio frequency channel of mobile phone | |
CN105571706A (en) | Electronic weighing instrument on-line adjustment and calibration system and adjustment and calibration method | |
CN105101107B (en) | Method, base station and the monitor terminal of double codeword transmissions are realized in group service | |
CN119232552B (en) | Monitoring method and system for intelligent security remote monitoring equipment | |
CN216181056U (en) | Ultrasonic driving device with monitoring function | |
CN111122991B (en) | Method for judging whether electrostatic sensor works normally | |
TW201619823A (en) | Testing apparatus and method for CPU serial voltage identification signal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17900611 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.01.2020) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17900611 Country of ref document: EP Kind code of ref document: A1 |