Calibration method and device for system clock of USB equipment

A system clock and system clock frequency technology, applied in the USB field, can solve problems such as large USB devices, no system clock calibration, and failure to use normally, and achieve the effect of reducing costs

Active Publication Date: 2013-10-23
SHENZHEN EXCELSECU DATA TECH
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The system clock generated by the USB device using the HSE crystal oscillator does not need to be calibrated, but this solution requires the addition of an HSE crystal oscillator, which increases the size and space of the PCB (Printed Circuit Board, printed circuit board) in the USB device, and also increases the cost of the USB device; For USB devices that directly use the HSI crystal oscillator, the USB device can work normally at room temperatu...

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
  • Calibration method and device for system clock of USB equipment
  • Calibration method and device for system clock of USB equipment
  • Calibration method and device for system clock of USB equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0051] Take the USB Key in the USB device as an example. The USB Key is a hardware device with a USB interface, which belongs to the slave device, and performs data interaction with the PC through the USB interface. The USB Key has a built-in single-chip microcomputer or smart card chip, has a certain storage space, can store the user's private key and digital certificate, and uses the built-in public key algorithm of the USB Key to realize the authentication of the user's identity. The USB bus interface is implemented by a chip with a USB module. Usually, the clock of the USB hardware engine module is 48Mhz, and the allowable range of the clock deviation of the USB h...

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 a calibration method and device for a system clock of USB equipment. The method comprises the following steps: taking the system clock of the USB equipment as a clock source of a USB equipment timer in counting function after performing frequency division to the system clock of the USB equipment through utilizing the counting function and capturing function of the USB equipment timer, and taking a low-velocity clock of the USB equipment as a trigger source of the USB equipment timer in capturing function; capturing the jump edge of the trigger source, and obtaining the actual count value of the system clock of a corresponding capturing interval; calibrating the frequency of the system clock of the USB equipment as per the obtained actual count value, a preset theoretic count value and an acceptable error range. According to the invention, the calibration method and device have the benefit that the frequency of the system clock can be calibrated in time when the USB equipment system clock has deviation in frequency, so that the USB equipment can be normally used; further, the cost of the USB equipment is reduced as only an HSI crystal oscillator is adopted by the USB equipment.

Description

technical field [0001] The invention relates to USB technology, in particular to a method and device for calibrating a system clock of a USB device. Background technique [0002] The engine clock of the USB (Universal Serial Bus, Universal Serial Bus) device comes from the frequency division of the system clock, and the system clock comes from HSE (High speed external clock signal, high-speed external clock signal) or HSI (High speed internal clock signal, high-speed internal clock signal). The system clock generated by the USB device using the HSE crystal oscillator does not need to be calibrated, but this solution requires the addition of an HSE crystal oscillator, which increases the size and space of the PCB (Printed Circuit Board, printed circuit board) in the USB device, and also increases the cost of the USB device; For USB devices that directly use the HSI crystal oscillator, the USB device can work normally at room temperature, but in harsh environments, because th...

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
IPC IPC(8): G06F1/14
Inventor 陈柳章
Owner SHENZHEN EXCELSECU DATA TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products