Professional Documents
Culture Documents
From <https://www.geeksforgeeks.org/difference-between-interrupt-and-polling/>
test Page 1
3.Explain memory organisation (program memory and data memory) of PIC
18f Controller?
test Page 2
4.Compare Microcontroller Vs Microprocessor
test Page 3
5.Explain Internal bus structure of PIC 18 F controller?
test Page 4
Timers/ Counters
PIC microcontroller has four
timer/counters wherein the one 8-bit
timer and the remaining timers have
the choice to select 8 or 16-bit mode.
Timers are used for generating
accuracy actions, for example, creating
specific time delays between two
operations.
From <https://www.watelectronics.com/pic-microcontroller-architecture-and-applications/>
Serial Communication
Serial communication is the method
of transferring data one bit at a time
sequentially over a communication channel.
From <https://www.watelectronics.com/pic-microcontroller-architecture-and-applications/>
It includes following protocol of communication
USART -->> universal synchronous and asynchronous receiver and transmitter
SPI protocol -->> Serial peripheral interface
I2C protocol-->> Inter integrated circuits
test Page 5
7.Explian asynchronous and synchronous serial communication?
IN SYNCHRONOUS METHOD
A synchronous serial interface always pairs its data line(s) with a clock signal,
and all devices on a synchronous serial bus share a common clock. This
makes for a more straightforward, even faster serial transfer, but it also
requires at least one extra wire between communicating devices. In simple
terms which interface required SCK, SCLK pin the synchronous .
In synchronous method, for example in SPI there are 4 pins used, 2 pins are
for MISO & MOSI (Master In Slave Out & Master Out Slave In), 1 pin for
fixed Clock (from single master device) and 1 Data pin for each slave device.
Here SS1, SS2, SS3 are data pins for 3 slave devices.
test Page 6
Examples of synchronous interfaces include USART, SPI, and USB etc.
IN ASYNCHRONOUS METHOD
This is also Serial communication but data transfer without any support
from an external clock signal or in other words in this you do not need a
clock for communicating with other devices. For example UART, RS232 etc.
are Asynchronous serial communication methods.
Usually RS232, RS422 & RS485 have two wires RX and TX with predefined
data rate (also called baud rate) and no predetermined master or slave device.
From <https://pijaeducation.com/communication/serial-communication-
methods-synchronous-asynchronous/>
8.Draw and explain simple I/o device (LED ) interface with Microcontroller
test Page 7
test Page 8
9.Explain different data bus and address bus for PIC18F controller
test Page 9
test Page 10