CN1655454A - Clock signal detection method and apparatus in electronic devices - Google Patents

Clock signal detection method and apparatus in electronic devices Download PDF

Info

Publication number
CN1655454A
CN1655454A CN 200410039558 CN200410039558A CN1655454A CN 1655454 A CN1655454 A CN 1655454A CN 200410039558 CN200410039558 CN 200410039558 CN 200410039558 A CN200410039558 A CN 200410039558A CN 1655454 A CN1655454 A CN 1655454A
Authority
CN
China
Prior art keywords
clock signal
signal
submodule
interruptive port
low level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200410039558
Other languages
Chinese (zh)
Other versions
CN1333529C (en
Inventor
刘飚
何宇东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy of Telecommunications Technology CATT
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CNB2004100395587A priority Critical patent/CN1333529C/en
Publication of CN1655454A publication Critical patent/CN1655454A/en
Application granted granted Critical
Publication of CN1333529C publication Critical patent/CN1333529C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

This invention provides an electron device clock testing method, which comprises the following steps: determining the said CPU interval terminal signals and inputting the tested clock signal into the interval end of the said CPU; triggering the said tested clock signals for testing according to the interval signal. The invention provides an electron clock test device, which comprises clock input module, triggering module and clock signal test module.

Description

Clock signal detection method and device in a kind of electronic equipment
Technical field
The present invention relates to the network communications technology field, be specifically related to clock signal detection method and device in a kind of electronic equipment.
Background technology
Clock is the basis of the intercommunication of various communication apparatus in the communication system, if clock signal is of poor quality, clock signal is lost, digital information will confusion reigned in transmittance process, so that make whole communication apparatus in paralyzed state.Therefore, guarantee the reliability of communication apparatus clock signal, it is crucial in communication system that clock signal is carried out the clock signal detection.
At present, the method that clock signal is detected mainly is: install a clock vibration source in the circuit of communication apparatus additional, by clock vibration source clocking, output in the counter after using the frequency shift of needs with this clock signal of method according to communication apparatus of frequency division then, remove counter clearly with detected clock signal, clock signal to be detected is undesired if counter overflows explanation.
Needing to use 40.96 seconds clock signal, this clock signal in some communication apparatus is the interior a kind of extremely low frequency clock signal of low-frequency clock scope.The extremely low frequency clock is meant that generally frequency is lower than the signal of 30Hz.The waveform of this clock signal as shown in Figure 1.When the clock signal of these low frequencies, extremely low frequency is carried out the clock signal detection, use the method for above-mentioned clock vibration source just to seem unable to do what one wishes, because the general frequency of clock vibration source is all than higher, will take a large amount of hardware resource of communication apparatus in the time of the clock signal frequency division of clock vibration source being become very low frequency.Arrive to a certain degree when detected clock frequency is low, even can't realize the detection of clock signal.
In addition, use the clock signal detection circuit of clock vibration source method to design more complicated, cost than higher, and, clock signal detection circuit in a single day design is finished, can only a kind of clock signal of frequency be detected, if detect the clock signal of other frequencies, just can only design and realize that the versatility of testing circuit is poor by the change testing circuit.
Summary of the invention
The objective of the invention is to, clock signal detection method and device in a kind of electronic equipment are provided, utilize CPU to realize the simplifier clock signal deteching circuit, improve the versatility of testing circuit, reduce the purpose of communication apparatus cost with interruptive port.
For achieving the above object, clock signal detection method in a kind of electronic equipment provided by the invention comprises:
A, determine the interrupt signal of the interruptive port of described CPU;
B, detected clock signal imported the interruptive port of described CPU;
C, trigger according to the described detected clock signal of described definite interrupt signal described detected clock signal is carried out clock detection.
Described step a comprises:
Determine two mutually different interrupt signals of interruptive port of described CPU respectively.
Described two mutually different interrupt signals of interruptive port are respectively high level, low level;
And described step b comprises:
Obtain described detected rising edge of clock signal, trailing edge;
Described rising edge, each self-corresponding high level of trailing edge, low level are imported two interruptive ports of described CPU respectively.
Described two mutually different interrupt signals of interruptive port are respectively rising edge, trailing edge;
Described step b comprises:
Described detected clock signal and its are got two interruptive ports that signal after non-is imported described CPU respectively.
Described step c comprises:
Described two interruptive ports enter interruption under the break signal triggering therein respectively, begin high level/low level counting to described detected clock signal, and when receiving interrupt signal, another interruptive port removes interrupt signal, go out to interrupt, stop low level/high level counting described detected clock signal;
Obtain the high level/low level count value of described two interruptive ports respectively;
High level/low level predetermined count value according to the standard of described high level/low level count value, described detected clock signal correspondence is carried out the corresponding clock signals faulty indication to described detected clock signal.
Clock signal detection device in a kind of electronic equipment provided by the invention comprises:
Have the CPU of interruptive port, it is characterized in that, described device further comprises:
Clock input module: the interruptive port of detected clock signal being imported described CPU;
Trigger module: obtain the signal of the described interruptive port of input, and triggering signal is transferred to the clock signal detection module according to described interruptive port predetermined interrupt signal;
Clock signal detection module: described detected clock signal is carried out the clock signal detection according to the triggering signal that described trigger module transmission comes.
Described clock input module comprises:
First clock input submodule: when described detected clock signal was rising edge, the high level that it is corresponding was imported the interruptive port of described CPU;
Second clock input submodule: when described detected clock signal was trailing edge, the low level that it is corresponding was imported another interruptive port of described CPU.
Described first clock input submodule comprises first d type flip flop, and described second clock input submodule comprises not gate, second d type flip flop;
According to the D end ground connection/power supply of described first d type flip flop of interrupt signal of the interruptive port of described CPU, described detected clock signal is as the clock signal of first d type flip flop, and the Q of described first d type flip flop end exports the interruptive port of described CPU to;
Described not gate receives detected clock signal, and described not gate output signal is as the clock signal of described second d type flip flop;
According to the D end ground connection/power supply of described second d type flip flop of interrupt signal of another interruptive port of described CPU, the Q end of described second d type flip flop exports another interruptive port of described CPU to.
Described clock input module comprises:
The 3rd clock input submodule a: interruptive port described detected clock signal directly being imported described CPU;
The 4th clock input submodule: another interruptive port of described detected clock signal being got the described CPU of non-back input.
Described trigger module comprises:
First triggers submodule: obtain the signal of the described interruptive port of input, and according to this interruptive port predetermined interrupt signal first triggering signal is transferred to high level, low level counting submodule, the interrupt signal of another interruptive port of clear described CPU;
Second triggers submodule: the signal that obtains described another interruptive port of input, and second triggering signal is transferred to described high level, low level counting submodule, the interrupt signal of the interruptive port of clear described CPU according to this interruptive port predetermined interrupt signal;
And described clock signal detection module comprises:
Predetermined count value submodule: the high level/low level predetermined count value of storing the standard of described detected clock signal correspondence;
High level counting submodule: trigger the first next triggering signal of submodule transmission according to described first and begin the high level of described detected signal is counted, trigger the second next triggering signal of submodule transmission according to described second and stop the high level of described detected signal is counted, and storage high level count value;
Low level counting submodule: trigger the second next triggering signal of submodule transmission according to described second and begin the low level of described detected signal is counted, trigger the first next triggering signal of submodule transmission according to described first and stop the low level of described detected signal is counted, and storage low level count value;
Judgement submodule: obtain storage high level predetermined count value, low level predetermined count value, high level count value and low level count value in described predetermined count value submodule, described high level counting submodule and the described low level counting submodule respectively, carry out the corresponding clock signals faulty indication.
Description by technique scheme can obviously be learnt, utilization of the present invention has the CPU of interruptive port, clock signal at various frequency ranges, especially the clock signal of low frequency, extremely low frequency can simply realize the detection to detected clock signal, the clock signal detection circuit simplicity of design, used electronic device seldom, improved the reliability of clock signal detection circuit, the hardware resource that takies communication apparatus simultaneously is few; Based on clock signal detection circuit of the present invention, can carry out clock signal to the detected clock signal of different frequency under the prerequisite of testing circuit and detect not needing to change, shortened the construction cycle and the development cost of testing circuit greatly; Thereby realized the simplifier clock signal deteching circuit, improved the versatility of testing circuit, reduced the purpose of communication apparatus cost.
Description of drawings
Fig. 1 is a low-frequency clock signal waveform schematic diagram;
Fig. 2 is a clock signal detection method flow chart of the present invention;
Fig. 3 is the process chart at interruptive port 1 of the present invention;
Fig. 4 is the process chart at interruptive port 2 of the present invention;
Fig. 5 is a clock signal detection device schematic diagram of the present invention;
Fig. 6 is a clock input module logic diagram 1 in the clock signal detection device of the present invention;
Fig. 7 is a clock input module logic diagram 2 in the clock signal detection device of the present invention.
Embodiment
Core of the present invention is to utilize the interruptive port of CPU to realize the detection of detected clock signal.Therefore, the interrupt signal that at first needs the interruptive port of definite described CPU, then detected clock signal is imported the interruptive port of described CPU, triggered according to the described detected clock signal of described definite interrupt signal described detected clock signal is carried out clock detection.
Now in conjunction with the accompanying drawings technical scheme provided by the invention is done and described in further detail.
Clock signal detection method flow process of the present invention as shown in Figure 2.
In Fig. 2, step 200 is determined the clock frequency of detected clock signal, according to high level predetermined count value, the low level predetermined count value of its this clock standard of clock frequency setting.
To step 210, the interrupt signal of two interruptive ports of CPU is set respectively.For the interruptive port of CPU, its interrupt mode generally has two kinds: a kind of is level triggering mode, and another kind is along triggering mode.Level triggering mode triggers interruption by high level, low level as interrupt signal; Trigger interruption by rising edge, trailing edge as interrupt signal along triggering mode.
In this flow chart respectively according to the level triggers of CPU interruptive port, describe along triggering mode.In step 210, the triggering mode of setting CPU interruptive port 1 and interruptive port 2 is a level triggers, and the interrupt signal of interruptive port 1 is high level, and the interrupt signal of interruptive port 2 is a low level.
To step 220, when detected clock signal is rising edge, high level is imported interruptive port 1, when detected clock signal is trailing edge, low level is imported interruptive port 2.Interruptive port 1, interruptive port 2 receive high level/low level signal respectively, under its interrupt signal high level/low level triggering separately, enter interruption respectively, begin the high/low level of detected clock signal is counted, and respectively when another interruptive port receives interrupt signal, go out to interrupt, stop high/low level counting to detected clock signal, simultaneously, storage high level count value/low level count value.At two interruptive ports enter interruption, the handling process of go out interrupting shown in accompanying drawing 3 and accompanying drawing 4, these two the description of the drawings are introduced in the back in detail.The specific implementation device that high level, the low level of detected rising edge of clock signal, trailing edge correspondence are imported interruptive port 1, interruptive port 2 respectively as shown in Figure 6, this description of the drawings is introduced in the back in detail.
To step 230, periodically read high level count value and low level count value.
To step 240, high level count value, low level count value are compared with high level predetermined count value, low level predetermined count value respectively, if numerical value differs in preset range, illustrate that detected clock signal is normal, to step 250, with high level count value, the zero clearing of low level count value,, carry out the high level to detected clock signal/low level counting process next time to step 220.
In step 240, if high level count value, low level count value differ above preset range with high level predetermined count value, low level predetermined count value respectively, illustrate that detected clock signal is undesired, to step 241, detected clock signal is carried out faulty indication, arrive step 250 again, with high level count value, the zero clearing of low level count value, to step 220, carry out the high level to detected clock signal/low level counting process next time.
If the interruptive port of CPU adopts along triggering mode, so, in step 210, the interrupt signal of setting interruptive port 1 is a rising edge, and the interrupt signal of interruptive port 2 is a trailing edge.
To step 220, detected clock signal is directly imported interruptive port 1, detected clock signal is got non-back input interruptive port 2.Interruptive port 1, interruptive port 2 receive rising edge, trailing edge signal, under the triggering of its separately interrupt signal rising edge, trailing edge, enter interruption respectively, begin the high/low level of detected clock signal is counted, and respectively when another interruptive port receives interrupt signal, go out to interrupt, stop counting, store high level count value/low level count value simultaneously the high/low level of detected clock signal.The specific implementation device that detected rising edge of clock signal, trailing edge are imported interruptive port 1, interruptive port 2 respectively as shown in Figure 7, this description of the drawings is introduced in the back in detail.
The interruptive port of CPU adopts all the other steps of detected clock signal being carried out clock detection along triggering mode identical with the flow process of foregoing description, here no longer describes in detail.
Clock signal detection method provided by the invention only needs corresponding change high level predetermined count value and low level predetermined count value can realize detecting carry out clock signal based on the detected clock signal of different clock frequencies.
Handling process at interruptive port 1 of the present invention as shown in Figure 3.
In Fig. 3, the interrupt signal of setting interruptive port 1 is a high level.In step 300, detected clock signal transfers to interruptive port 1 with high level signal when rising edge, interruptive port 1 receives high level signal, and the interruptive port 1 of CPU needs to interrupt, to step 310, the interruptive port 1 of CPU enters interruption, and the disable interrupts port one interrupts.
To step 320, begin high level counting to detected clock signal, simultaneously, stop the low level counting to detected clock signal of interruptive port 2, the interrupt signal of clear interruptive port 2 allows interruptive port 2 to interrupt.
To step 330, when interruptive port 2 receives the low level interrupt signal, stop the high level counting to detected clock signal of interruptive port 1, and storage high level count value.
To step 340, the interrupt signal of clear interruptive port 1, the interruptive port 1 of CPU goes out to interrupt, and allows interruptive port 1 to interrupt.
Handling process at interruptive port 2 of the present invention as shown in Figure 4.
In Fig. 4, the interrupt signal of setting interruptive port 2 is a low level.In step 400, detected clock signal transfers to interruptive port 2 with low level signal when trailing edge, interruptive port 2 receives low level signal, and the interruptive port 2 of CPU needs to interrupt, to step 410, the interruptive port 2 of CPU enters interruption, and disable interrupts port 2 interrupts.
To step 420, begin low level counting to detected clock signal, simultaneously, stop the high level counting to detected clock signal of interruptive port 1, the interrupt signal of clear interruptive port 1 allows interruptive port 1 to interrupt.
To step 430, when interruptive port 1 receives the low level interrupt signal, stop the low level counting to detected clock signal of interruptive port 2, and storage low level count value.
To step 440, the interrupt signal of clear interruptive port 2, the interruptive port 2 of CPU goes out to interrupt, and allows interruptive port 2 to interrupt.
The interrupt signal of setting interruptive port 1 is a rising edge, and the interrupt signal of interruptive port 2 is a trailing edge, and handling process such as above-mentioned description process at interruptive port 1, interruptive port 2 of the present invention here no longer specify.
Clock signal detection device schematic diagram provided by the invention as shown in Figure 5.
In Fig. 5, clock signal detection device comprises clock input module 500, trigger module 510 and clock signal detection module 520.
When the interrupt signal that is provided with when the interruptive port 1 of CPU and interruptive port 2 was high level, low level, the function of clock input module 500 was finished by first clock input submodule 501, second clock input submodule 502.
The function of trigger module 510 triggers submodule 512 by the first triggering submodule 511, second and finishes.
The function of clock signal detection module 520 is by predetermined count value submodule 521, and high level is counted submodule 522, and low level counting submodule 523, judgement submodule 524 are finished.
When described detected clock signal was rising edge, first clock input submodule 501 was imported high level the interruptive port 1 of CPU.
When described detected clock signal was trailing edge, first clock input submodule 502 was imported low level the interruptive port 2 of CPU.
First triggers the signal that submodule 511 obtains input interruptive port 1, when the signal of this interruptive port is high level, first triggering signal is transferred to high level counting submodule 522, low level counting submodule 523, and the interrupt signal of clear interruptive port 2, make interruptive port 2 go out to interrupt.
Second triggers the signal that submodule 512 obtains input interruptive port 2, when the signal of this interruptive port is low level, second triggering signal is transferred to high level counting submodule 522 and low level counting submodule 523, and the interrupt signal of clear interruptive port 1, make interruptive port 1 go out to interrupt.
The high level predetermined count value and the low level predetermined count value of the standard of the detected clock signal correspondence of predetermined count value submodule 521 storages.
High level counting submodule 522 triggers the first next triggering signal of submodule 511 transmission according to first to begin the high level of detected clock signal is counted, trigger the second next triggering signal of submodule 512 transmission according to second and stop the high level of detected clock signal is counted, and storage is to the high level count value of detected clock signal.
Low level counting submodule 523 triggers the second next triggering signal of submodule 512 transmission according to second to begin the low level of detected clock signal is counted, trigger submodule 511 according to described first and transmit the low level counting that first triggering signal of coming stops detected clock signal, and storage is to the low level count value of detected clock signal.
Judgement submodule 524 is respectively from predetermined count value submodule 521, obtain the high level predetermined count value that it is stored separately in high level counting submodule 522 and the low level counting submodule 523, the low level predetermined count value, high level count value and low level count value, and with the high level count value, the low level count value respectively with the high level predetermined count value, the low level predetermined count value compares, if numerical value differs in preset range, illustrate that detected clock signal is normal, otherwise, illustrate that detected clock signal is undesired, detected clock signal is carried out the corresponding clock signals faulty indication.
When the interrupt signal that is provided with when the interruptive port 1 of CPU and interruptive port 2 is rising edge, trailing edge, first clock input submodule 501, second clock input submodule 502 are substituted by the 3rd clock input submodule, the 4th clock input submodule respectively among Fig. 5, and the function of clock input module 500 is finished by the 3rd clock input submodule, the 4th clock input submodule.
The 3rd clock input submodule is directly imported interruptive port 1 with detected clock signal.
The 4th clock input submodule is got non-back input interruptive port 2 with detected clock signal.
When the function of clock input module 500 by the 3rd clock input submodule, when the 4th clock input submodule is finished, first triggers the signal that submodule 511 obtains input interruptive port 1, when the signal of this interruptive port is rising edge, first triggering signal is transferred to high level counting submodule 522, low level counting submodule 523, and the interrupt signal of clear interruptive port 2, make interruptive port 2 go out to interrupt.
Second triggers the signal that submodule 512 obtains input interruptive port 2, when the signal of this interruptive port is trailing edge, second triggering signal is transferred to high level counting submodule 522 and low level counting submodule 523, and the interrupt signal of clear interruptive port 1, make interruptive port 1 go out to interrupt.
The function when clock input module 500 of the function of predetermined count value submodule 521, high level counting submodule 522, low level counting submodule 523, judgement submodule 524 and foregoing description is identical when finishing by first clock input submodule 501, second clock input submodule 502, no longer describes in detail in the present embodiment.
Clock signal detection device provided by the invention only needs the high level predetermined count value and the low level predetermined count value of storage in the corresponding change predetermined count value submodule 521, can realize that carrying out clock signal based on the detected clock signal of different clock frequencies detects.
The logic diagram of clock input module is shown in accompanying drawing 6, accompanying drawing 7 in the clock signal detection device of the present invention.
The circuit design logic diagram that comprises first clock input submodule 501, second clock input submodule 502 in the accompanying drawing 6.
Among Fig. 6, the I/O of CPU (0) and I/O (1) are I/O (input and output) ports of CPU, and its effect is to interrupt clearly.INT0 and INT1 are respectively the interrupt signal of CPU interruptive port 1, interruptive port 2.
First d type flip flop is realized the function of first clock input submodule 501, and the not gate and second d type flip flop are realized the function of second clock input submodule 502.Not gate and two d type flip flops can adopt discrete device, also can adopt the programmable logic device design.
Circuit design principle is: the interruptive port 1 of CPU, interruptive port 2 adopt level triggering mode, utilize monitored rising edge of clock signal and trailing edge to make two d type flip flops produce high level/low level respectively, thereby make the interruptive port of CPU enter interruption.Be set to according to the interrupt type of CPU interruptive port 1 and interruptive port 2 that low level is interrupted or high level interrupts, the D end of two d type flip flops can adopt GND (ground connection) or VCC (connecing power supply) respectively, in the ordinary course of things power source voltage be+5V or+3.3V.
The circuit design logic diagram that comprises the 3rd clock input submodule, the 4th clock input submodule in the accompanying drawing 7.
The 3rd clock input submodule is directly imported detected clock signal the interruptive port 1 of CPU.
Not gate among Fig. 7 is realized the function of the 4th clock input submodule.Circuit design principle is: the interruptive port 1 of CPU, interruptive port 2 adopt along triggering mode, utilize detected rising edge of clock signal, trailing edge to make interruptive port 1/ interruptive port 2 of CPU enter interruption respectively.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wishes that appended claim comprises these distortion and variation.

Claims (10)

1, clock signal detection method in a kind of electronic equipment, this method has been utilized the CPU with interruptive port, it is characterized in that comprising:
A, determine the interrupt signal of the interruptive port of described CPU;
B, detected clock signal imported the interruptive port of described CPU;
C, trigger according to the described detected clock signal of described definite interrupt signal described detected clock signal is carried out clock detection.
2, clock signal detection method in a kind of electronic equipment as claimed in claim 1 is characterized in that described step a comprises:
Determine two mutually different interrupt signals of interruptive port of described CPU respectively.
3, clock signal detection method in a kind of electronic equipment as claimed in claim 2 is characterized in that, described two mutually different interrupt signals of interruptive port are respectively high level, low level;
And described step b comprises:
Obtain described detected rising edge of clock signal, trailing edge;
Described rising edge, each self-corresponding high level of trailing edge, low level are imported two interruptive ports of described CPU respectively.
4, clock signal detection method in a kind of electronic equipment as claimed in claim 2 is characterized in that, described two mutually different interrupt signals of interruptive port are respectively rising edge, trailing edge;
Described step b comprises:
Described detected clock signal and its are got two interruptive ports that signal after non-is imported described CPU respectively.
5, as clock signal detection method in claim 2 or the 3 or 4 described a kind of electronic equipments, it is characterized in that described step c comprises:
Described two interruptive ports enter interruption under the break signal triggering therein respectively, begin high level/low level counting to described detected clock signal, and when receiving interrupt signal, another interruptive port removes interrupt signal, go out to interrupt, stop low level/high level counting described detected clock signal;
Obtain the high level/low level count value of described two interruptive ports respectively;
High level/low level predetermined count value according to the standard of described high level/low level count value, described detected clock signal correspondence is carried out the corresponding clock signals faulty indication to described detected clock signal.
6, clock signal detection device in a kind of electronic equipment comprises the CPU with interruptive port, it is characterized in that, described device further comprises:
Clock input module: the interruptive port of detected clock signal being imported described CPU;
Trigger module: obtain the signal of the described interruptive port of input, and triggering signal is transferred to the clock signal detection module according to described interruptive port predetermined interrupt signal;
Clock signal detection module: described detected clock signal is carried out the clock signal detection according to the triggering signal that described trigger module transmission comes.
7, clock signal detection device in a kind of electronic equipment as claimed in claim 6 is characterized in that described clock input module comprises:
First clock input submodule: when described detected clock signal was rising edge, the high level that it is corresponding was imported the interruptive port of described CPU;
Second clock input submodule: when described detected clock signal was trailing edge, the low level that it is corresponding was imported another interruptive port of described CPU.
8, clock signal detection device in a kind of electronic equipment as claimed in claim 7 is characterized in that described first clock input submodule comprises first d type flip flop, and described second clock input submodule comprises not gate, second d type flip flop;
According to the D end ground connection/power supply of described first d type flip flop of interrupt signal of the interruptive port of described CPU, described detected clock signal is as the clock signal of first d type flip flop, and the Q of described first d type flip flop end exports the interruptive port of described CPU to;
Described not gate receives detected clock signal, and described not gate output signal is as the clock signal of described second d type flip flop;
According to the D end ground connection/power supply of described second d type flip flop of interrupt signal of another interruptive port of described CPU, the Q end of described second d type flip flop exports another interruptive port of described CPU to.
9, clock signal detection device in a kind of electronic equipment as claimed in claim 6 is characterized in that described clock input module comprises:
The 3rd clock input submodule a: interruptive port described detected clock signal directly being imported described CPU;
The 4th clock input submodule: another interruptive port of described detected clock signal being got the described CPU of non-back input.
10, as clock signal detection device in claim 7 or the 8 or 9 described a kind of electronic equipments, it is characterized in that described trigger module comprises:
First triggers submodule: obtain the signal of the described interruptive port of input, and according to this interruptive port predetermined interrupt signal first triggering signal is transferred to high level, low level counting submodule, the interrupt signal of another interruptive port of clear described CPU;
Second triggers submodule: the signal that obtains described another interruptive port of input, and second triggering signal is transferred to described high level, low level counting submodule, the interrupt signal of the interruptive port of clear described CPU according to this interruptive port predetermined interrupt signal;
And described clock signal detection module comprises:
Predetermined count value submodule: the high level/low level predetermined count value of storing the standard of described detected clock signal correspondence;
High level counting submodule: trigger the first next triggering signal of submodule transmission according to described first and begin the high level of described detected signal is counted, trigger the second next triggering signal of submodule transmission according to described second and stop the high level of described detected signal is counted, and storage high level count value;
Low level counting submodule: trigger the second next triggering signal of submodule transmission according to described second and begin the low level of described detected signal is counted, trigger the first next triggering signal of submodule transmission according to described first and stop the low level of described detected signal is counted, and storage low level count value;
Judgement submodule: obtain storage high level predetermined count value, low level predetermined count value, high level count value and low level count value in described predetermined count value submodule, described high level counting submodule and the described low level counting submodule respectively, carry out the corresponding clock signals faulty indication.
CNB2004100395587A 2004-02-10 2004-02-10 Clock signal detection method and apparatus in electronic devices Expired - Lifetime CN1333529C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100395587A CN1333529C (en) 2004-02-10 2004-02-10 Clock signal detection method and apparatus in electronic devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100395587A CN1333529C (en) 2004-02-10 2004-02-10 Clock signal detection method and apparatus in electronic devices

Publications (2)

Publication Number Publication Date
CN1655454A true CN1655454A (en) 2005-08-17
CN1333529C CN1333529C (en) 2007-08-22

Family

ID=34892363

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100395587A Expired - Lifetime CN1333529C (en) 2004-02-10 2004-02-10 Clock signal detection method and apparatus in electronic devices

Country Status (1)

Country Link
CN (1) CN1333529C (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739021A (en) * 2008-11-14 2010-06-16 北京谊安医疗系统股份有限公司 Equipment self-inspection control device
CN101771527A (en) * 2009-12-16 2010-07-07 南京弘毅电气自动化有限公司 Clock extraction device and method for asynchronous communication
CN101227205B (en) * 2008-01-29 2012-07-04 中兴通讯股份有限公司 Clock detection method for wireless communication system
CN103218010A (en) * 2013-03-15 2013-07-24 卡斯柯信号有限公司 Safety clock for rail transit signal safety product and realizing method for safety clock
CN105337607A (en) * 2014-06-30 2016-02-17 澜起科技(上海)有限公司 Clock signal loss detection device and method
CN107872208A (en) * 2016-09-28 2018-04-03 深圳市中兴微电子技术有限公司 A kind of device of clock signal loss detection
CN110384399A (en) * 2019-03-15 2019-10-29 浙江苏泊尔家电制造有限公司 The control method of cooking apparatus and cooking apparatus
WO2020037485A1 (en) * 2018-08-21 2020-02-27 深圳市汇顶科技股份有限公司 Detection circuit, method, chip, and device
CN111290888A (en) * 2020-03-27 2020-06-16 深圳阜时科技有限公司 Method for interrupting output

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60262252A (en) * 1984-06-07 1985-12-25 Fujitsu Ltd Monitor system for runaway of microprocessor
JPH08249082A (en) * 1995-03-08 1996-09-27 Canon Inc Microprocessor peripheral circuit and operation clock mode setting method for this circuit
JPH09114541A (en) * 1995-10-17 1997-05-02 Kokusai Electric Co Ltd Interruption generation time confirming circuit and processor
JPH09259010A (en) * 1996-03-22 1997-10-03 Unisia Jecs Corp Method for detecting abnormality of cpu
JPH10253778A (en) * 1997-03-11 1998-09-25 Nec Eng Ltd Time exchanging clock system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227205B (en) * 2008-01-29 2012-07-04 中兴通讯股份有限公司 Clock detection method for wireless communication system
CN101739021A (en) * 2008-11-14 2010-06-16 北京谊安医疗系统股份有限公司 Equipment self-inspection control device
CN101739021B (en) * 2008-11-14 2013-04-17 北京谊安医疗系统股份有限公司 Equipment self-inspection control device
CN101771527A (en) * 2009-12-16 2010-07-07 南京弘毅电气自动化有限公司 Clock extraction device and method for asynchronous communication
CN103218010A (en) * 2013-03-15 2013-07-24 卡斯柯信号有限公司 Safety clock for rail transit signal safety product and realizing method for safety clock
CN103218010B (en) * 2013-03-15 2015-10-14 卡斯柯信号有限公司 For secure clock and its implementation of track traffic signal safety product
CN105337607A (en) * 2014-06-30 2016-02-17 澜起科技(上海)有限公司 Clock signal loss detection device and method
CN105337607B (en) * 2014-06-30 2019-05-17 澜起科技股份有限公司 Device and method for clock signal loss detection
CN107872208A (en) * 2016-09-28 2018-04-03 深圳市中兴微电子技术有限公司 A kind of device of clock signal loss detection
CN107872208B (en) * 2016-09-28 2020-04-03 深圳市中兴微电子技术有限公司 Clock signal loss detection device
WO2020037485A1 (en) * 2018-08-21 2020-02-27 深圳市汇顶科技股份有限公司 Detection circuit, method, chip, and device
CN111083940A (en) * 2018-08-21 2020-04-28 深圳市汇顶科技股份有限公司 Detection circuit, method, chip and equipment
CN110384399A (en) * 2019-03-15 2019-10-29 浙江苏泊尔家电制造有限公司 The control method of cooking apparatus and cooking apparatus
CN110384399B (en) * 2019-03-15 2021-09-07 浙江苏泊尔家电制造有限公司 Cooking appliance and control method thereof
CN111290888A (en) * 2020-03-27 2020-06-16 深圳阜时科技有限公司 Method for interrupting output

Also Published As

Publication number Publication date
CN1333529C (en) 2007-08-22

Similar Documents

Publication Publication Date Title
CN101063895A (en) Clock anomaly detection circuit and clock anomaly detection method
CN100350390C (en) Bridging type fault injection apparatus and method of fault-tolerant computer system
CN1253720C (en) Measuring vibration circuit based on sample data string obtained by ideal period signal
CN101079684A (en) Concurrent code checker and hardware efficient high-speed I/O having built-in self-test and debug features
CN1655454A (en) Clock signal detection method and apparatus in electronic devices
CN1914577A (en) Method and apparatus for over clocking in a digital processing system
CN1976227A (en) Pulse width modulating device
EP2721427A1 (en) An integrated circuit for testing using a high-speed input/output interface
WO2017202315A1 (en) Control method and control device for power adapter
JP6746791B2 (en) Clock gating enable generation
CN1732650A (en) Network terminal apparatus, communication overload avoiding method and program
CN1821914A (en) Controller soft realizing method from I2C bus
CN1100381C (en) Oscillatory circuit having built-in test circuit for checking oscillating signal for duty factor
CN1941629A (en) Apparatus and method for controlling on die termination
CN1858611A (en) Verifying system, establishing method of verifying system and verifying method
CN1885667A (en) Power supply management method and system
CN1913549A (en) System and method of real-time monitoring for monoboard clock signal
CN1383156A (en) Single chip processor with dynamic ageing testing function and dynamic ageing testing method
CN101031876A (en) Methods and systems for content detection in a reconfigurable hardware
CN1577634A (en) Semiconductor device
CN101047029A (en) Semiconductor memory and data sending/receiving system
CN1422097A (en) Digital filter for reducing voltage peak value
US9274170B2 (en) Semiconductor device
CN1591021A (en) Method and device for testing rotating speeds of multiple fans
CN1725189A (en) Detection method for failure of chip

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: INST OF TELECOMMUNICATION SCIENCE AND TECHNOLGOY

Free format text: FORMER OWNER: DATANG MOBILE COMMUNICATION EQUIPMENT CO., LTD.

Effective date: 20110406

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100083 NO. 40, XUEYUAN ROAD, HAIDIAN DISTRICT, BEIJING TO: 100191 NO. 40, XUEYUAN ROAD, HAIDIAN DISTRICT, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20110406

Address after: 100191 Haidian District, Xueyuan Road, No. 40,

Patentee after: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

Address before: 100083 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: DATANG MOBILE COMMUNICATIONS EQUIPMENT Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee after: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

Address before: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210602

Address after: 100085 1st floor, building 1, yard 5, Shangdi East Road, Haidian District, Beijing

Patentee after: DATANG MOBILE COMMUNICATIONS EQUIPMENT Co.,Ltd.

Address before: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20070822