Control Center Serial

SPI Read Command

<spi_read io="io"
          count="count"/>

Read a stream of bytes from the downstream SPI slave device when IO mode is either dual or quad. However, when IO mode is standard, it writes 00's and reads a stream of bytes.

Parameters

io
SPI IO mode to read a stream of bytes, with the value 0 for standard SPI, 2 for dual, or 4 for quad.
count
The number of bytes to read (maximum 65535).

Details

Please see the Aardvark I2C/SPI Adapter User Manual or the Promira Serial Platform User Manual for more information.