spi-ecspi

Enhanced Serial Peripheral Interface (SPI) driver

Syntax:

spi-ecspi [-c config_file] [-v]
            

Runs on:

QNX OS

Options:

These are the options available for this driver.

-c config_file
Path to the SPI configuration file (default: /etc/system/config/spi/spi.conf)
Note: SPI config file template can be found at "lib/io-spi/config_files/spi-template.conf"
-v
Increase verbosity. This will override the "verbose" value in the config file
Driver-specific options: (To be set in the config file by parameter 'bs' under section 'bus'.)
burst=mode
Indicate which mode used for SPI transfer using one of the following values:
  • 0 — Operate in word mode that supports any word length from 1-32 bits
  • 1 — Operate in burst mode that supports 8-, 16- and 32-bits words
The default is 1 (burst mode).
csdelay=num
Set number of SPI clocks between chip select active edge and first SPI clock edge. The default is 0.
loopback=num
Set internal loopback for test. The default is disabled (0).
waitstate=num
Set the number of wait states between transfers. The default is 0.

Description:

Driver for NXP i.MX8 Low Power SPI controllers

Example:

Start SPI driver :
spi-ecspi -c /etc/system/config/spi/spi.conf
Page updated: