SPI Bus Host Adapter - SPI-10


SPI Bus Host Adapter SPI-10 allows to connect different kinds of devices to your PC by using USB-SPI/IO Interface.




SPI Slave Interface

By using SPI Slave Interface with SPI Bus Host Adapter you can operate with the single or multiple slave devices which are connected to master device.

The slave device is not capable of generating the serial clock (SCK) signal and thus can not get active on its own. The slave just sends and receives data if the master generates the necessary SCK. The slave device receives the clock and slave select from the master device.

In multiple slave device systems the SPI slave devices can share out the same MISO (master input slave output) and MOSI (master output slave input) lines. Each slave device has MOSI connected to its data input and MISO connected to its data output. And the only one slave device is actually enabled at a time by giving each slave device a unique slave select pin.

To configure your slave device for data transmission in SPI Slave mode use DLN_SpiSlaveSetCfg() function. You can configure the clock polarity (CPOL), clock phase (CPHA), the ability to transmit or receive data. You can also set SPI transaction length in bytes. To get slave device configuration use DLN_SpiSlaveGetConfig() function. The DLN_SpiSlaveSetResponse() and DLN_SpiSlaveArm() prepares the data which will be transmited from slave to master device. Use spi_slave application to control your slave device.