应用时钟串口IIEB
+HM> AN200
SPI Using the Rabbit Clocked Serial Ports
Serial Peripheral Interface (SPI)
The SPI is a four-wire full-duplex synchronous serial data link that is implemented in
many microcontrollers and peripheral devices. The SPI was originally developed by
Motorola1 to enable a glueless microcontroller interface with industry-standard serial
devices such as serial EEPROMs, data converters, liquid crystal displays, as well as other
peripherals and microcontrollers.
The SPI consists of shift registers that serially transmit and receive data at the same time.
For serial communication to take place within a SPI-based system, one device has to act as
a master and at least one other device has to act as a slave. In this……