Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

RTC crystal oscillator detection method

A detection method and crystal oscillator technology, applied in frequency measurement devices and other directions, can solve the problems of RTC crystal oscillator working performance, crystal oscillator frequency drift out of range, no detection and identification methods, etc., to improve test coverage, reduce costs, and improve customer satisfaction. degree of effect

Active Publication Date: 2017-09-29
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a detection method for an RTC crystal oscillator, which is used to solve the problems in the prior art that there is no effective detection and identification method for the working performance of the RTC crystal oscillator installed in the server and the drift of the crystal oscillator frequency out of range, so it cannot fundamentally Prevent defective server products from being provided to market users

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • RTC crystal oscillator detection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments.

[0025] like figure 1 Shown, the detection method of a kind of RTC crystal oscillator of the present invention comprises the following steps:

[0026] S1: Read the settings of CMOS RAM status registers A, B, and C through the I / O port (0*70), and save the read data;

[0027] nativeReadCMOS(0x0a,&m_regA);

[0028] nativeReadCMOS(0x0b,&m_regB);

[0029] nativeReadCMOS(0x0c,&m_regC);

[0030] S2: Set register A to realize that the interrupt during the test can be issued and the clock can be continuously updated;

[0031] nativeReadCMOS(0x0a,&tmp); ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an RTC crystal oscillator detection method. The method comprises steps that setting of state registers A, B and C is read, and the read data is saved; interruption flag bits of the register A and the register B are set, so interruption of an alarm clock is made to be valid; the present CMOS time is read and is marked as start_time; the CMOS time is set one second faster; whether an interruption flag bit of the alarm clock is valid in the register C is checked; interruption of the alarm clock is set and emitted; whether interruption of the alarm clock is emitted is checked, if yes, the CMOS time is read and is marked as end_time; if (end_time)-(start_time) is not equal to 1, shock of the RTC crystal oscillator is proved to be in a fault, otherwise, shock of the RTC crystal oscillator is qualified. The method is advantaged in that the method is convenient for operation, a problem that frequency of the crystal oscillator drifts out of the scope can be effectively detected and identified, material management cost is reduced, and a test coverage rate is improved.

Description

technical field [0001] The invention relates to a hardware detection method of a computer system, in particular to a detection method of an RTC crystal oscillator capable of detecting abnormal frequency drift of the crystal oscillator. Background technique [0002] The main function of the RTC (Real Time Clock) crystal oscillator (32768Hz) is to provide the starting frequency for the RTC module. Without this crystal oscillator, the RTC time cannot be maintained, and the operating system does not have a time reference to calibrate each time the server is started. Of course, if the RTC crystal oscillator is not working properly, the time of the RTC will be inaccurate, which means that the time of the operating system will also be inaccurate. [0003] Inaccurate time is intolerable for the server, because it will cause a series of major problems. For example, if this server is used in stock trading, it will make the rule of "high price priority, time priority" come to naught, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G01R23/02
CPCG01R23/02
Inventor 田周鹏
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products