MSP430 Microcontroller Questions and Answers – SPI

This set of MSP430 Microcontroller Questions and Answers for Aptitude test focuses on “SPI”.

1. Is SPI a full duplex technique?
a) yes
b) no
c) cant be said
d) depends on the conditions
View Answer

Answer: a
Explanation: Yes, SPI is a technique where a data can be transmitted/ received in both the directions.

2. The concept of SPI is based on __________
a) two counters
b) four flip flops
c) two shift registers
d) four steady state machines
View Answer

Answer: c
Explanation: The concept of the SPI is based on the two shift registers, one for the transmitter and the other is there for the receiver terminal.

3. Writing on the trailing edge of the clock pulse and reading on the leading edge of the clock pulse is done when
a) CPHA is set
b) CPHA is reset
c) CPOL is set
d) CPOL is reset
View Answer

Answer: b
Explanation: When CPHA is reset to zero, then writing on the trailing edge of the clock pulse and reading on the leading edge of the clock pulse.
advertisement
advertisement

4. When CPOL=1 then,
a) clock idles high between transfers
b) clock idles low between transfers
c) bit idles high between transfers
d) bit ideals low between transfers
View Answer

Answer: a
Explanation: When CPOL=1, clock idles high between transfers.

5. Is CPKH and CPOL the same.
a) yes
b) no
c) cant be said
d) depends on the conditions
View Answer

Answer: b
Explanation: CPKL=CPOL and CPKH=(not CPHA).
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. SPI with the USI can be selected by ________
a) setting the USII2C bit in the register USICTL1
b) clearing the USII2C bit in the register USICTL1
c) setting the USIPE5–7 bits in USICTL0
d) clearing the USIPE5–7 bits in USICTL0
View Answer

Answer: b
Explanation: SPI with the USi can be selected by clearing the USII2C bit in the register USICTL1.

7. SCLK, SDO, and SDI are found ___________ on F20x3.
a) P1.0-2
b) P1.2-4
c) P1.4-6
d) P1.5-7
View Answer

Answer: d
Explanation: SCLK, SDO, and SDI are found at P1.5-7 on F20x3.
advertisement

8. Transmission and reception are made at a time in SPI?
a) true
b) false
c) cant be said
d) depends on the conditions
View Answer

Answer: a
Explanation: Transmission and reception occur at a time in SPI. This means that a value is received only if the transmitter is active.

9. When the buffer is ________ the low power mode is__________
a) empty, reset
b) having one byte, reset
c) full, reset
d) empty, two
View Answer

Answer: c
Explanation: When the buffer is full, the low power mode is cleared.
advertisement

10. Falling edge of the SS pin denotes ________
a) end of the transfer
b) starts a new transfer
c) selects a new master
d) none of the mentioned
View Answer

Answer: b
Explanation: Falling edge of the SS pin denotes the start of a new transfer over SPI.

Sanfoundry Global Education & Learning Series – Microcontroller.

To practice all areas of Microcontroller for Aptitude test, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.