Principles and Applications of first class

Introducing:
two packages: Dual in-line package and chip package.

A microcontroller is integrated in a complete computer system on a single chip, although most of its functions are integrated on a small chip, but it has a majority of the components needed to complete the computer.

SCM Overview:
1. What is the microcontroller (chip microcomputer / microcontroller)?
It is a single-chip semiconductor integrated chip, is an integrated central processing unit (CPU), memory (RAM, ROM), a parallel I / O, serial I / O, timer / counters, interrupt the system, the system and the system bus clock circuit Microcomputer.

When the MCU is usually at the core of the system and embedded applications, so the international community usually referred to as embedded single-chip controller.

2. SCM application:
(1) detection and control
, such as: CNC machining centers, control greenhouse flowers
(2) instrumentation
such as: high precision digital multimeter, formaldehyde detector, pesticide detector, truck
(3) Consumer Electronics technology
(4) communication products
(5) weaponry
(6) various terminals and computer peripherals
(7) automotive electronics
(8) smart home

3. microcontroller development history:
In 1971 the first four microcontrollers
in 1976, eight SCM
1980s introduced MCS-51 series of high-end single-chip 8
-1990s MCS-96 series 16-bit microcontrollers
in the late 1990s STM32 series

Microcontroller 4. Trend:
Trend microcontroller will be the large-capacity, high performance, and other aspects of the peripheral circuits built-in development.
Improvement (. 1) of the CPU: CPU data bus width to increase
(2) the development of memory: a memory chip program commonly used flashes (Flash) Memory; chip increase data storage capacity, to meet the needs of a dynamic memory
(3) Low power consumption of
(4) the contents of peripheral circuits
(5) to simplify programming and simulation of
use (6) of the real-time operating system

5.8 mainstream microcontroller
MCS-51 series
Here Insert Picture Description

STC microcontroller series is the 8051 microcontroller core.

Keil C5 Introduction:
the Keil C51 (referred to C51), was developed based on the standard C language on the main difference:
'bit, the sbit, SFR, sfr16 data types: (1) extended four types
(2) sheets: data , idata, bdata
outer sheet: xdata, pdata data storage type
(3) interrupt n interrupt function
(4) library function, and other header files

Development:
Function (1) focused on SCM measurement and control, and complex digital signal processing and high-speed operation of the monitoring and control functions of the DSP strengths.
DSP chip refers to a chip can be realized in digital signal processing technology.
DSP effect is to change things for the motion of a string of numbers and extract useful information using computational methods to meet the needs of our practical application.

(2) unsigned character type variable is negated ~
bit is negated variables!

Published 65 original articles · won praise 50 · views 3594

Guess you like

Origin blog.csdn.net/qq_44907926/article/details/104395261