SPI Interview Questions


1)Who designed SPI ?


    SPI was designed by Motorala.

______________________________________________________________

2)What is Full Form of SPI ?


   Serial Peripheral Interface

______________________________________________________________

3)How many wires are used in SPI Communication ?

SPI is 4 wired communication protocol.

a)Master out,Slave in (MOSI)

b)Master in,Slave out(MISO)

c)Serial Clock(SCLK)

d)Chip Select/Slave Select(CS/SS)

_______________________________________________________________

4)Is SPI Half Duplex (or) Full Duplex ?


    Full Duplex

_______________________________________________________________

5)Is SPI Synchronous (or) Asynchronous Communication ?


  Synchronous Communication

_________________________________________________________________

6)What is Standard Speed of SPI ?

   Speed of SPI is up to 10 Mbps.

_________________________________________________________________

7)What is the  main feature of SPI Communication ?

   SPI is Multi-Slave Communication Protocol.

_______________________________________________________________

8)What is the byte order in SPI ?

LSB First (or) MSB First.It depends on SPI device connected to master.

_________________________________________________________________

9)How many slaves can be connected in SPI ?

Maximum number of slaves are limited by the hardware.It is not restricted in the
protocol.

__________________________________________________________________

10)Name some SPI Devices ?

 1)Micro SD Card

 2)Digital Pressure Sensor

 3)Digital Accelerometer

 ___________________________________________________________________

11)What is the role of shift registers in SPI Communication ?

  In SPI,shift are used to transfer the data to slave using the MOSI bus and at the
  same time receiving the dummy data from MISO bus and viceversa.

_____________________________________________________________________

12)What is Clock Polarity and Clock Phase in SPI ?

Clock Polarity represents base value of the clock.

Clock Phase represents on which edge data to be sampled.

______________________________________________________________________

13)What are the Advantages of SPI ?

1)Full Duplex Communication.

2)Simple Hardware Interfacing.

3)Not Limited to 8 bits word in case of bit transferring

4)No Arbitration.

5)No   Start and Stop bit,so that data can be transferred without any disturbance.

_________________________________________________________________________

14)What are the Dis Advantages of SPI ?

1)No form of Error Checking,

2)Uses four wire.

3)No Acknowledgement

4)It allows only for a single master.

__________________________________________________________________________

15)What are the Applications of SPI ?

1)SPI Bus is commonly used for flash memory,sensor,Real Time Clock.

2)This bus is commonly used to send data between micro controllers to small
    peripherals like LCD Display,ADC.

3)Secure Digital Card.

___________________________________________________________________________