M2T2V1 Introduction
M2T2V1 Introduction
So, the CPU (central processing unit) can refer to any of these, or it can refer to just the
processing section of a microcontroller or embedded microprocessor. These definitions
are not any rules in the industry. There is an overlap between these different terms. In
fact, both microcontrollers and desktop microprocessors are used in embedded systems.
Microprocessor Vs Microcontroller
Microprocessor Microcontroller
Microprocessors have only the execution unit in A microcontroller, on the other hand,
them. Everything else needed should be put as has everything it needs on one chip.
an external peripheral device.
Microprocessors have few I/O pins Microcontroller More pins on the chip are available for
I/O pins. user I/O since they aren’t needed for the
bus. As memory and other peripherals
are already integrated within the chip.
The bit size actually refers to the size of a ‘word’ used inside the processor. It is CPU
specific. The size of the word differs in each microcontroller between 8/16/32/64 bits. This
‘word’ can be used as an address, a variable, a register, or as an instruction. The length
of this word is defined by bit width. Bit width has an effect on the size of internal ROM
and RAM memory also. Theoretically, in an 8-bit processor, the memory size is dictated
by the processor bit width of 8 bits, which gives 255 unique memory locations. Whereas a
16-bit microcontroller can handle up to 65K memory locations and a 32-bit
microcontroller can handle up to 4GB memory locations. Examples of 8-bit – 8051,
Atmega8, Atmega328, Atmega32, PIC16f84 Examples of 16-bit - PIC24 series and
dsPIC series. Examples of 32-bit - PIC32MX series, ARM processors like Cirrus Logic
processors, Texas Instruments DaVinci series, STM32 series, etc.