Browsed by
Category: XBee

I2C – Squaring up multi device communications

I2C – Squaring up multi device communications

UART and SPI communication have benefits and limitations.  UART is confined to point to point links, whereas SPI requires additional slave select channels from the master.  Both do not scale well for multiple devices.  For that reason, I2C was developed with the introduction of device addressing in the data channel. I2C stands for Inter-integrated Circuit and it uses a clock channel to synchronize its data channel.  Only two wires are required to achieve this.  They are defined as SDA for…

Read More Read More

SPI vs SPI – Serial Peripheral Interface

SPI vs SPI – Serial Peripheral Interface

The UART serial communication method discussed in my last post showed a limitation of scale.  Asynchronous serial data should only be point to point.  If many devices are required, the complexity of design and cost increase. The Serial Peripheral Interface, or SPI protocol, is a method to reduce the complexity and costs of scaling.  In contrast to UART, SPI does not require complex bridgeheads.  Receiving devices need nothing more than a shift register to operate. Without going into too much…

Read More Read More

Serial Communications

Serial Communications

Ideas and thoughts are shared with people through speech, text, or some other form of communication.  This is how one knows, or at least has some idea of, what the other is thinking.  Electronic devices are similar.  Without communication, devices and people would be isolated in the cosmos.  Like language, devices use sets of standards and protocols to accomplish communication. In this post, I’ll introduce briefly parallel communication.  Next I’ll be covering the most fundamental communication methods of serial communication. …

Read More Read More