The relationship and difference between CPU and MCU, some specifics

Relationship: MCU is the frequency and specifications of the CPU to do the appropriate reduction, and add the memory to form a chip computer.

Difference:

One, referring to the different

1, CPU: as the core of the computer system computing and control, is the information processing, program operation of the final execution unit.

2, MCU: also known as a single chip microcomputer or microcontroller, is the central processor frequency and specifications to do the appropriate reduction, and memory (memory), counter (Timer), USB, A/D conversion, UART, PLC, DMA and other peripheral interfaces, and even LCD drive circuitry are integrated into a single chip, forming a chip-level computer.

Second, different functions

1, CPU: the function is mainly to explain the computer instructions and processing of data in the computer software. CPU is the computer is responsible for reading the instructions, decoding and executing the instructions of the core components.

2, MCU: MCU and the temperature sensor connected through the I2C bus, the I2C bus occupies two MCU input and output lines, the communication between the two rely entirely on the software to complete. The address of the temperature sensor can be set by two address pins, which makes it possible to connect 8 such sensors on one I2C bus at the same time.

Three, different classifications

1, CPU: mainly consists of two parts, namely, the controller, the operator, which also includes cache memory and the realization of the link between them, data, control of the bus. The three core components of the electronic computer is the CPU, internal memory, input/output devices. The efficacy of the central processing unit is mainly for processing instructions, performing operations, controlling time, and processing data.

2, MCU: according to its memory structure can be divided into Harvard (Harvard) structure and von Neumann (Von Neumann). Neumann (Von Neumann) structure. The vast majority of microcontrollers are based on the von Neumann structure.

Baidu Encyclopedia - MCU

Baidu Encyclopedia - Central Processing Unit