51 MCU oscillation cycle clock cycle machine cycle instruction cycle

Publisher:TP9111Latest update time:2016-03-24 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
(1) Oscillation period

      The oscillation cycle refers to the cycle of the oscillation source or the cycle of the external input clock that provides the timing signal for the single-chip microcomputer.
(2) Clock cycle The
      clock cycle is also called the state cycle or state time S. It is twice the oscillation cycle and is divided into P1 beat and P2 beat. Usually, arithmetic logic operations are completed in P1 beat, and data transfer operations between internal registers are completed in P2 beat. (Note the phase relationship between P1 and P2)
(3) Machine cycle
      A machine cycle consists of 6 states. If the execution process of an instruction is divided into several basic operations, the time required to complete a basic operation is called a machine cycle. The single-cycle instruction execution time of a single-chip microcomputer is a machine cycle.
(4) Instruction cycle
  The instruction cycle is the total time required to execute an instruction. The instruction cycle of the MCS-51 single-chip microcomputer usually consists of 1, 2, or 4 machine cycles.

For example: If the crystal frequency is Fosc=12MHz, and Tosc=1/12µS, what are the oscillation period, clock period, ALE, and machine period?
Oscillator
period:                    Tosc=1/Fosc=1/12µS
Clock (state, S) period: S     =2Tosc=1/6µS
ALE (address latch):      ALE =6Tosc=1/2µS
Machine period:                            =12Tosc=1µS

Reference address:51 MCU oscillation cycle clock cycle machine cycle instruction cycle

Previous article:Production of single chip microcomputer driving LCD1602
Next article:C51 program for single chip microcomputer to drive standard PC keyboard

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号