Control system and control method for dynamic control of crystal clock generator

A clock generator and dynamic control technology, applied in the direction of program control design, program control devices, instruments, etc., can solve the problems of long time consumption, difficult to meet the application requirements of real-time requirements, etc., and achieve the effect of reducing the impact

Pending Publication Date: 2019-08-16
苏州冠讯电子科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Generally, the initialization of the chip will take 10-1000us, and the start-up of the crystal clock generator will take 100-500us. The two superimposed, the real work of the chip will be after 1.5ms, which is difficult to meet the application requirements with high real-time requirements.
[0005] Therefore, the traditional chip clock control system is a walk-through operation for each step, which consumes too much time and has great limitations for applications with high real-time requirements.

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
  • Control system and control method for dynamic control of crystal clock generator
  • Control system and control method for dynamic control of crystal clock generator
  • Control system and control method for dynamic control of crystal clock generator

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] A kind of dynamic control crystal clock generator control system, described dynamic control crystal clock generator control system comprises: central processing unit, crystal clock generator, flash memory controller, resistance-capacitance clock generator and crystal, described central processing unit The device is bidirectionally linked with the crystal clock generator, the flash memory controller, and the resistance-capacitance clock generator respectively, and the crystal clock generator is connected with the crystal. in,

[0040] The central processor is connected to the crystal clock generator through the first control signal, and the crystal clock generator is connected to the central processor through a high-precision clock signal.

[0041] The direction from the central processing unit to the flash memory controller is connected through the second control signal, and the direction from the flash memory controller to the central processing unit is respectively co...

Embodiment 2

[0044] Embodiment 2: Taking the control signal of a one-bit crystal clock generator (OSC) as an example, the control signal (setting) of the OSC must wait until the initialization of the flash memory is completed, and the CPU starts to execute the user program before starting.

[0045] A method for dynamically controlling a crystal clock generator, which includes a dynamic control crystal clock generator control system, and also includes a flip-flop, a two-choice selector and a crystal clock generator configuration bit, and the two-choice selector It is sequentially connected with the flip-flop and crystal clock generator configuration bits, and the CPU generates CPU write data signal, CPU write enable signal and CPU reset signal,

[0046] The method for dynamically controlling the crystal clock generator comprises the following steps:

[0047] S1: First, transmit the CPU write data signal and CPU write enable signal generated by the CPU to the selector;

[0048]S2: transmit ...

Embodiment 3

[0051] A method for dynamically controlling a crystal clock generator, which includes a dynamic control crystal clock generator control system, and also includes a flip-flop, a two-choice selector and a crystal clock generator configuration bit, and the two-choice selector It is sequentially connected with the flip-flop and crystal clock generator configuration bits, and the CPU generates CPU write data signal, CPU write enable signal and CPU reset signal,

[0052] The method for dynamically controlling the crystal clock generator comprises the following steps:

[0053] S1: First, transmit the CPU write data signal and CPU write enable signal generated by the CPU to the selector;

[0054] S2: transmit the CPU reset signal generated by the CPU to the trigger;

[0055] S3: The one-of-two selector selects the received CPU write data signal and CPU write enable signal and then transmits it to the trigger, and the trigger transmits it to the configuration bit of the crystal clock ...

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 control system for dynamic control of a crystal clock generator. The system comprises a central processing unit, a crystal clock generator, a flash memory controller, a resistance-capacitance clock generator and a crystal, the central processing unit is respectively in bidirectional connection with the crystal clock generator, the flash memory controller and the resistance-capacitance clock generator, and the crystal clock generator is connected with the crystal. In this way, the crystal clock generator configuration file in the flash memory is read through the chip flash memory controller, the starting time point of the crystal clock generator is flexibly controlled, and the influence of chip initialization and crystal clock oscillator starting time superpositionon real-time requirement application is reduced. The improved chip clock generator control system starts the crystal clock generator in advance by adding a control signal from the flash memory controller to the crystal clock generator, and accelerates initialization after the chip is awakened.

Description

technical field [0001] The invention relates to a crystal clock generator control system and a control method, in particular to a dynamic control crystal clock generator control system. Background technique [0002] Many chips such as microcontroller chips and audio codec chips have built-in crystal clock generators. In chip low power mode, in order to reduce power consumption, the crystal clock generator will be turned off. [0003] When the chip is woken up by an internal or external exception through an interrupt, the clock provided by the internal resistance-capacitance clock generator is used for initialization, mainly for the initialization of the embedded flash memory processor. After the initialization is completed, the user program will start the high-precision crystal clock generator to provide high-precision clocks for subsequent chip operations. [0004] Generally, the initialization of the chip will take 10-1000us, and the start-up of the crystal clock generat...

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): G06F1/14G06F9/4401
CPCG06F1/14G06F9/4403G06F9/4418
Inventor 肖有军孙艳玲高琼吕琴
Owner 苏州冠讯电子科技有限公司
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