microcontroller - an INTRODUCTION
Micro-Controller or Micro-controller Unit, (MCU in short) may be assumed as a miniature CPU box of a PC packed in an IC (Integrated Circuit). The MCU mainly consist of Clock generation and control system, ALU (Arthmatic and Logic Unit), Registers / Accumulators, RAM (Random Access Memory), Program Storage Memory ( Flash Memory ), Input and Output Control system, Communication system etc.
The following parameters / Specification in combination are important for selection of an MCU:
-
Number of Bits ( 8 or 32 etc. )
-
Storage Memory ( or Flash Memory ), in Kilo Bytes
-
SRAM (Static Random Access Memory), in Kilo Bytes
-
Clock Speed , in Mega Hertz
-
Number of IO (Input/Output) pins
-
EEPROM (Electrically Erasable Programmable Read Only Memory )
-
Timers and Counters
-
ADC (Analog to Digital Converter) channels
-
Types of Serial Communications (USART, SPI, TWI, USB etc.)
-
Interrupt management system
-
Memory Programming and Life cycles
-
Operating Voltage and Power requirements.
-
Working Temperature Range.
-
Price, Availability, Package and matching to the requirement.
-
Programmer Availability
-
Easiness of Software development ( programming and IDE )
Some MCUs may have all or some of the the above parameters, and some may have more than the above mentioned in the list

So, all the blocks in the MCU have clock and data bus connections and have control through the program loaded in the Flash memory. So, a software (program) is required to control all the blocks as per the individual's requirements.
A 32 bit MCU is faster ( costlier also ) than 8 bit MCU. Similarly, higher the Storage Memory capacity , SRAM and Clock Speed have advantage while processing complex program also also attracts more cost. Selection of MCU also depends on the IO pins and communication system availability. So, balancing should be done with the requirements and the cost of the MCU.