Archive for the ‘USB SPI Interface Adapter’ Category
USB SPI Interface Adapter
Today’s subject is USB SPI Interface Adapter.
In this article we would like to tell you more about the system of data transaction.
USB-I2C/SPI Adapter provides simple solution to control various hardware devices, USB GPIO interfaces and buses from your PC.
The USB SPI device (abbreviation from The Serial Peripheral Interface circuit) is a simple synchronous serial data link that provides the communication between a master and a slave, it also can be a processor if it is connected to the system.
The USB I2C/SPI devices is used for transmitting data bits from a master to a slave. During this transaction one SPI system is a master and other SPI devices act as slaves.
Here is the core of the work.
The SPI master controls the flow of data bits and gives tasks for slaves via MOSI (Master Out Slave In) line. A master can send data to several salves via MOSI and at the same time receives data from slaves, as for answer slaves use MOSI (Master Out Slave In) line. So the USB SPI Adapter has two lines: MOSI and MISO.
The SPI slave receives data from a master and fulfill tasks.
Each slave has its own MOSI and MISO data lines, Serial Clock (SCLK) and Slave Select (SS).
SCLK is a control line, which is used for regulating of data flow and used by a master.
SS is a control line, which allows a hardware to turn on and off a slave.
You can connect to one USB-I2C/SPI master up to 20 slave devices and you can operate them with the help of pins, as each of devices has its own pin.