crypto notes2
crypto notes2
Memory:
• Memory module in the PIC consists of RAM, ROM and STACK
• GPR: general purpose registers as the name implies for general usage.
For example if we want to multiply any two numbers using PIC we
generally take two registers for storing the numbers and multiply the
two numbers and store the result in other registers. So general purpose
registers will not have any special function or any special permission,
CPU can easily access the data in the registers.
• Bus: Bus is mainly used for transferring and receiving the data
from one peripheral to another. There are two types of buses.
– Data Bus: It is used to transfer/receive only the data.
– Address Bus: is used to transmit the memory address from
peripherals to CPU.
– I/O pins are used for interfacing the external peripherals,
UART and USART is serial communication protocol which is
used for interfacing serial devices like GPS, GSM, IR,
Bluetooth etc.
Dr.K.Ragavan, SCOPE, VIT 11
Advantages of PIC Microcontroller:
• They are reliable and malfunctioning of PIC percentage is very
less. performance of the PIC is very fast because of using RISC
architecture.
• Power conception is also very less when compared to other micro
controllers. When we see in the programmer point of view
interfacing is very easy, also we can connect analog devices
directly with out any extra circuitry and use them. Programming
is also very easy when compared to other microcontrollers.
Disadvantages of PIC Microcontroller:
• The length of the program will be big because of using RISC (35
instructions).
• Program memory is not accessible and only one single
accumulator is present.