i2c-lpi2c
Driver for inter-integrated circuits on the Toradex Apalis i.MX 8 QuadMax Ixora Board
Syntax:
i2c-lpi2c [board_specific_option [board_specific_option]...]
[generic_option [generic_option]...]]
Runs on:
QNX OS
Options:
There are Apalis i.MX 8QM Ixora-specific (single-dash) and generic (double-dash) options available.
CAUTION:
The Apalis i.MX 8QM Ixora-specific options must always appear before generic options, otherwise
the driver fails to initialize. For example, the correct sequence would as
follows:
i2c-lpi2c -v --u0
However, if you
incorrectly issue the command in the wrong sequence as shown here, it will
fail:i2c-lpi2c --u0 -v
Apalis i.MX 8QM Ixora-specific options:
These are the board-specific options available for this driver.
- -b
- Driver in blocking mode. Transmits are not interrupt driven.
- -c clockspeed
- Input clock. If this option isn't specified, the default is 24000000 Hz.
- -i irq
- The I2C IRQ number.
- -I interface
- The interface to use. The interface values can be 1, 2, 4, 6, 8, 9, 10, 11, 13.. The default is 0.
- -r retry
- Number of retries when NACK is detected. If retry is non zero value and NACK is detected a transaction is repeated max. n-times where n can be between 0-255. (default: 0)
- -t timeout
- Command timeout value, in milliseconds.
- -p address
- The I2C physical base address.
- -v
- Set to be verbose.
Generic options:
These are generic options for the driver.
- --b
- The default bus speed. If this option isn't specified, the default is 100000.
- --u unit
- The unit number to spend to the device name. The default is 0.
Page updated: