spi-imx8lpspi

Driver for NXP i.MX8 low-power SPI controllers

Syntax:

spi-imx8lpspi [-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)
SPI config file template can be found at: $BSP_ROOT_DIRprebuilt/etc/system/config/spi/spi-template.conf
-v
Increase verbosity. This overrides the "verbose" value in the configuration file.

Driver-specific options You set these options in the configuration file in the bus section using the bs parameter.

dma
Enable DMA transfer (disabled by default).
dbt=num
Delay between transfers. In terms of half SPI shift clock. (Default is 0.)
pcssck==num
Delay from the PCS assertion to the first SCK edge. In terms of half SPI shift clock. (Default is 0.)
sckpcs==num
Delay from the last SCK edge to the PCS negation. In terms of half SPI shift clock. (Default is 0.)
pincfg==num
Pin configuration.
  • 0—(default) use SDI for input data and SDO for output data.
  • 1—use SDI for both input and output data.
  • 2—use SDO for both input and output data.
  • 3—use SDO for input data and SDI for output data.
smmu=[ on | off | 1 | 0 ]
Turn on (1) or off (0; default) the use of local I/O MMU protection services.Use only with dma.

Description:

Driver for NXP i.MX8 Low Power SPI controllers

Example:

Start SPI driver :
spi-imx8lpspi -c /etc/custom/spi.conf
Page updated: