Embedded System Questions and Answers Part-29

1. In which register does the data is written in the master device?
a) index register
b) accumulator
c) SPDR
d) status register

Answer: c
Explanation: The serial peripheral interface follows a master slave mechanism in which the data is written to the SPDR register in the master device and clocked out into the slave device SPDR by using a common clock signal called SCK.

2. What happens when 8 bits are transferred in the SPI?
a) wait statement
b) ready statement
c) interrupt
d) remains unchanged

Answer: c
Explanation: The interrupts are locally generated when 8-bits are transferred so that the data can be read before the next byte is clocked through

3. Which signal is used to select the slave in the serial peripheral interfacing?
a) slave select
b) master select
c) interrupt
d) clock signal

Answer: a
Explanation: The slave select signal selects which slave is to receive data from the master.

4. How much time period is necessary for the slave to receive the interrupt and transfer the data?
a) 4 clock time period
b) 8 clock time period
c) 16 clock time period
d) 24 clock time period

Answer: b
Explanation: The SPI uses an eight clock time period for the slave to receive the interrupt and transfer the data which determines the maximum data rate.

5. What does I2C stand for?
a) inter-IC
b) intra-IC
c) individual integrated chip
d) intel IC

Answer: a
Explanation: The I2C is known as inter-IC, which is developed by Philips for interfacing with the peripheral devices.

6. Which company developed I2C?
a) Intel
b) Motorola
c) Phillips
d) IBM

Answer: c
Explanation:The I2C is developed by Philips for use within the television sets.

7. Which of the following is the most known simple interface?
a) I2C
b) Serial port
c) Parallel port
d) SPI

Answer: a
Explanation: The I2C is the most known simple interface which is used currently. It can combine both the hardware and the software protocols to provide a bus interface which helps in the communication with many peripherals.

8. Which are the two lines used in the I2C?
a) SDA and SPDR
b) SPDR and SCL
c) SDA and SCL
d) SCL and status line

Answer: c
Explanation: The I2C bus consists of two lines which are called SDA and SCL. The master and slave devices are attached to these lines.

9. Which of the following developed P82B715?
a) Philips
b) Intel
c) IBM
d) Motorola

Answer: a
Explanation: The special buffer chip, P82B715 for increasing the current drive is developed by Philips

10. Which pin provides the reference clock for the transfer of data?
a) SDA
b) SCL
c) SPDR
d) Interrupt pin

Answer: b
Explanation: The SCL pin can provide the reference clock for the transmission of data but it is not a free running clock.