spi-amd

QNX Board Support Packages8.0BSP User's GuideAMD Sapphire Ryzen EdgeAMDAMDx86

Driver for AMD SPI controllers

Syntax:

spi-amd [-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'.)
read_mode=num
It defines the read mode. Following values can be used:
  • 0x0 Normal read up to 33Mhz
  • 0x6 Normal read for up to 66Mhz
The default is 0x0 & supported clock rates: 66660000, 33330000, 22220000, 16660000, 800000

Example:

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