The principle of single chip microcomputer and its application find a master 30

Updated on technology 2024-05-12
4 answers
  1. Anonymous users2024-02-10

    Fill a vacancy. 1 Binary numbers 10101010 converted to decimal as (170) hexadecimal (aa). The 6 decimal number 8421bcd is (0110).

    2 MCU refers to a computer that integrates (** processor (CPU)), (memory), (timer), and various IO ports on a chip.

    3 The pseudo-instruction of the flag program is ( ) The pseudo-instruction that marks the beginning of the program is (org).

    4 Semiconductor memory can be divided into two categories: RAM and ROM.

    5.The 8051 single-chip microcomputer has (4) and IO ports, with a total of (32) IO lines.

    6. There are three transmission directions for single-chip microcomputer serial communication: (read) (change) (write).

    2. Questions and answers. What are the main components of a microcontroller?

    CPU Clock Circuits Program Memory Data Memory Positioning Counters Expansion Bus Control Circuits Parallel Io Interface P0 P3

    Full-duplex serial IO interface.

    What are the interrupt sources of the microcontroller? What are the interrupt priorities?

    Interrupt source: int0 int1 t0 t1 rx tx

    Interrupt Priority: px0 px1 pt0 pt1 ps

    3.Briefly describe the advantages and disadvantages of parallel communication and serial communication?

    4.Briefly describe the configuration of the internal RAM of the 80C51 microcontroller?

    The internal RAM has a total of 256B and is divided into two parts, the low 128B (00H 7FH) is the true RAM area, and the high 128B (80H FFH) is the Special Function Register (SFR) area.

    The working register (00H 1FH) consists of 8 universal registers (R0 R7).

    Bit addressing area (20h 2fh) stack, data buffer (30h 7fh).

    3. Programming questions.

    Compile a program to clear the 40h-47h address unit in the 80c51 microcontroller.

    org 00

    mov r3,#07h

    mov r0,#40h

    loop:mov @r0,#00h

    inc r0

    djnz r3,loop

    sjmp $

    end, debugging passed).

  2. Anonymous users2024-02-09

    1、 170,aah

    2. Processor, memory, clock circuit.

    3. equ, bit, org, db, org4, internal memory, external memory.

    6. Simplex, half-work, full-duplex.

    Short-answer questions: Just read the book yourself.

    Programming: org 0000h

    ajmp start

    start:mov r0,#40h

    mov r1,#08h

    mov a,#00h

    loop: mov @r0,a

    djnz r1,loopend

  3. Anonymous users2024-02-08

    The questions are too concentrated, you have to answer them for a while, don't worry.

  4. Anonymous users2024-02-07

    The principle of single-chip microcomputer is that the single-chip microcomputer is mainly composed of three parts: combinator, controller and register. The combinator consists of an arithmetic logic unit (ALU), an accumulator, a register, etc.

    Firstly, the accumulator and the register input two 8-bit source data to the ALU, then the ALU completes the logical operation of the source data, and finally the calculation result is stored in the register. The controller is composed of program counters, instruction registers, instruction decoders, timing generators, and operation controllers, etc., and is an "organization" that issues commands and coordinates the operation between various parts of the entire system.

    The registers mainly include accumulator A, data register DR, instruction register IR, instruction decoder ID, program counter PC, address register AR, etc.

    The specific applications of single-chip microcomputers in various fields are as follows:

    1. In the field of instrumentation, once a single-chip microcomputer is used to control it, it makes the instrumentation digital, intelligent, miniaturized, and more powerful.

    2. In the field of household appliances, single-chip microcomputer control of household appliances has been widely realized, such as rice cookers, refrigerators, air conditioners, color TVs, stereos, etc.

    3. In the field of network communication, mobile phones, small program-controlled switches, building automatic communication and call systems, etc., have realized single-chip microcomputer control, and single-chip microcomputers generally have communication interfaces, so that communication equipment can easily communicate with computers.

    4. In the field of industrial control, a single chip mechanism can be used to form a variety of control systems, such as intelligent management of factory assembly lines, intelligent control of elevators, various alarm systems, and computer networking to form a secondary control system.

    5. In the field of medical equipment, the single-chip microcomputer has also greatly realized its value, and has been widely used in various analyzers, monitors, bed call systems, medical ventilators and other medical equipment.

Related questions
4 answers2024-05-12

The working principle of the watchdog: after the system runs, the watchdog counter is started, and the watchdog begins to count automatically, if the watchdog is not cleared at a certain time, then the watchdog counter will overflow and cause the watchdog to be interrupted, causing the system to reset. The role of the watchdog is to prevent the program from looping, or running away. >>>More

21 answers2024-05-12

It's very similar, and the district is different.

The integration of the instruction set's self and transistors, baicpu is now tens of millions of integrated zhi chips, single-chip microcomputer dao is home appliances, automobiles, some automatic and semi-automatic electrical applications, how many instructions can be there? The 'instruction set' of different types of programs is not the same, and the algorithms for processing ** and data calculation are different, so it is difficult to implement, and the most important thing is that the integration is so high! >>>More

13 answers2024-05-12

In addition, if the MCU you choose is 8-bit, you need to install 8-bit C Compiler, if it is 16-bit, you need to install 16-bit C Compiler, and 32-bit C Compiler needs to be installed.

13 answers2024-05-12

Overview of microcontrollers.

1. What is a single-chip microcomputer A computer that can work should be composed of several parts: CPU (for operation and control), RAM (data storage), ROM (program storage), input and output devices (such as: serial port, parallel output port, etc.). >>>More

4 answers2024-05-12

The MCU is generally what we call the MCU, which is generally composed of internal CPU, memory, flash and peripherals. >>>More