PIC Microcontroller
PIC Microcontroller
MICROCONTROLLE
R&
ARCHITECTURE
INTRODUCTION
These microcontrollers are found in many electronic devices such as phones, computer
control systems, alarm systems, embedded systems, etc. Various types of
microcontrollers exist, even though the best are found in the GENIE range of
programmable microcontrollers. These microcontrollers are programmed and simulated
by a circuit-wizard software.
DEVICE FAMILIES
It is not different from other microcontrollers CPU and the PIC microcontroller CPU
consists of the ALU, CU, MU and accumulator, etc.
Arithmetic logic unit is mainly used for arithmetic operations and to take logical
decisions. Memory is used for storing the instructions after processing. To control
the internal and external peripherals, control unit is used which are connected to
the CPU and the accumulator is used for storing the results and further process
MEMORY ORGANIZATION
STACK.
RANDOM ACCESS MEMORY (RAM)
These registers are used for general purpose only as the name
implies. For example, if we want to multiply two numbers by
using the PIC microcontroller.
Read only memory is a stable memory which is used to store the data
permanently. In PIC microcontroller architecture, the architecture ROM
stores the instructions or program, according to the program the
microcontroller acts.
The ROM is also called as program memory, wherein the user will
write the program for microcontroller and saves it permanently, and
finally the program is executed by the CPU. The microcontrollers
performance depends on the instruction, which is executed by the CPU.
ELECTRICALLY ERASABLE PROGRAMMABLE
READ ONLY MEMORY (EEPROM)
Port C is an 8-bit and the Port D is an 8-bit port acts Port E is a 3-bit port which
input of output operation is as a slave port for serves the additional
decided by the status of connection to the function of the control
the TRISC register. microprocessor BUS. signals to the analog to
digital converter.
BUS
BUS is used to transfer and receive the data from one peripheral to another. It is classified into
two types such as data bus and address.
Address Bus: Address bus is used to transmit the memory address from the peripherals to the
CPU. I/O pins are used to interface the external peripherals; UART and USART both are serial
communication protocols which are used for interfacing serial devices like GSM, GPS, Bluetooth,
IR , etc.
BUS
ADVANTAGES OF PIC MICROCONTROLLER: