Introduction - If you have any usage issues, please Google them yourself
SPI (Serial Peripheral Interface) is a Serial Peripheral Interface module is Motorola first defined on the MC68HCXX series processor, it is a kind of synchronous Serial communication protocol at a high speed. It can make for data exchange between single-chip microcomputer and peripheral modules, block than the EEPROM, Flash, real-time clock, AD conversion, digital signal processor and digital signal for exchanging data between decoders, and application more is used as an extension of the peripherals like buttons. SPI bus system is a kind of synchronous serial peripheral interface Is a kind of high speed, full duplex, synchronous communication bus, and on the pin of the chip takes only four lines, saved the chip pins, save a space for PCB layout at the same time, provide a convenient, it is out of the characteristics of this kind of simple and easy to use, now more and more chip integrates the communication protocol. SPI has master-slave two ways of working, can work under the mode of