Introduction - If you have any usage issues, please Google them yourself
SPI communication principle is very simple, it is the work of master-slave mode, this mode usually has a master device and one or more from the device, requires at least four lines, in fact, 3 can also be (one-way transmission). SPI-based devices are all common, they are SDI (data entry), SDO (data output), SCK (clock), CS (chip select).