Page 337 - ARM Based Microcontroller Projects Using MBED
P. 337

12.5 EXERCISES                            323
































            FIG. 12.8  Output waveform.



                                           12.4 SUMMARY

              In this chapter we have learned about the following:
            • SPI bus
            • Mbed SPI bus functions
            • A project using an SPI compatible device


                                           12.5 EXERCISES


            1. Explain the signals used in the SPI bus.
            2. Draw a table comparing the advantages and disadvantages of using SPI bus instead of
               2
              I C bus.
            3. The Nucleo-F411RE development board is to be connected to three SPI bus slave sensors.
              Draw the circuit diagram of this project.
            4. What are the limitations for connecting devices to the SPI bus?
            5. Explain the Mbed functions that can be used in SPI bus-based projects.
   332   333   334   335   336   337   338   339   340   341   342