UNDERSTANDING SPI

Serial Peripheral Interface (SPI) is a data protocol that is used by microcontrollers for communicating with one or move peripheral devices, quickly and over short distances. SPI can also be used to communicate between two microcontrollers but whatever the situation, there is always one device that is designated as the master device. It is the…

UNDERSTANDING I²C

The inter-integrated (I²C) protocol allows communication between devices, with some designated as master devices and others as slave devices. As with SPI, it is designed for communication over short distances. However, unlike SPI, it is asynchronous. This means that only two wires are needed to exchange data. A further advantage is that it supports a…