i2c-lpi2c
I2C manager for Lower Power I2C interface
Syntax:
i2c-lpi2c [options]
Runs on:
QNX OS
Options:
There are i.MX 93 EVK board-specific (single-dash) and generic (double-dash) options available.
CAUTION:
The i.MX 93 EVK board-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
i.MX 93 EVK board-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 0, 1, 2, 3, .. The default is 0.
- -p address
- The I2C physical base address.
- -r retry
- Number of retries before NACK is detected. If the specified timeout is a non-zero value and NACK is detected, a transaction is repeated the maximum of timeout-times where timeout can be value between 0-255. The default is 0.
- -t timeout
- Command timeout value, in milliseconds. The default is 1000 ms.
- -v
- Set to be verbose.
Generic options:
These are generic options for the driver.
- --b bus_speed
- 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: