HomeEmbedded Systems Quiz #2 Embedded Systems Quiz byIndian -8:01 PM 0 SPI Protocol Quiz Click beside the answer you think is correct. You can change your choice before submitting. What is CPHA in SPI? Clock Phase Clock Polarity Chip Select None MISO stands for: Master Input Slave Output Master Input Serial Output Master Initiated Serial Output None SPI mode 0 corresponds to: CPOL=0, CPHA=0 CPOL=0, CPHA=1 CPOL=1, CPHA=0 CPOL=1, CPHA=1 Which SPI line can be shared among multiple slaves? MISO MOSI SCK CS Maximum practical SPI speed depends on: Cable length and device Only the master clock Only the slave device None In SPI, data is shifted out on: Rising or falling edge of clock Only rising edge Only falling edge Any edge randomly Which microcontroller pin is often used for CS? Any GPIO Only SPI pins Only ADC pins Only PWM pins SPI supports how many slaves without extra logic? 1 2 Unlimited with separate CS Only 4 SPI is commonly used for: Memory devices Sensors Displays All of the above Which is NOT an SPI signal line? CLK MISO SDA MOSI SPI uses which type of clocking? Asynchronous Synchronous Phase-locked None Which SPI line sends data from Slave to Master? MOSI MISO SCK CS SPI clock polarity of 1 means: Idle low Idle high Rising edge active Falling edge active Full-duplex SPI means: Can only send Can only receive Send and receive simultaneously None When multiple slaves are connected, each CS should be: Pulled high to select Pulled low to select Always high Always low SPI is best suited for which distance? Long distances (>10m) Short distances (<1m) Any distance Wireless only SPI devices are often referred as: Masters and Slaves Clients and Servers Sources and Sinks Publishers and Subscribers SPI slave cannot initiate communication because: It has no clock MOSI is input only CS is always high None of the above Which protocol is simpler to implement: I2C or SPI? I2C SPI Both equal None Which of the following is a disadvantage of SPI? Needs more pins for multiple slaves Slower than UART Only half duplex None Submit Tags: Embedded Systems Quiz SPI questions Facebook Twitter