Posts

Showing posts from July, 2022

Briefing- SPI

Image
SERIAL PERIPHERAL INTERFACE Developed by Motorola (low cost and simple interface, ease of use, uses less hardware and system resources). Full form is Serial Peripheral Interface. Importance of interfacing in consumer electronics. SPI Bus is used to send data between microcontrollers and peripherals like EEPROM, ADC, DAC, RTC, Sensors, SD Card, RFID, Wireless Tx/Rx, etc. It is a serial communication protocol. It is a synchronous data bus as the master or slave is synchronized on the edges of the clock. The maximum speed goes over 10 Mbps. It is a simple bus having 4 wires for data communication-  SCLK : Serial Clock used for all data communication MOSI : Master out slave in - Output data line is from master MISO : Master in slave out - Input data line is for master coming from a slave SS/CS : Slave select or Chip select - used to select a slave  It is a simple master communication protocol where one device initiates the communication with slaves. Means master is one, slave is m...