i2c-bcm2711
Driver for inter-integrated circuits on the Raspberry Pi 4 Board (Model B).
Syntax:
i2c-bcm2711 [board_specific_option [board_specific_option]...]
[generic_option [generic_option]...]]
Runs on:
QNX OS
Options:
There are Raspberry Pi 4 board-specific (single-dash) and generic (double-dash) options available.
CAUTION:
The Raspberry Pi 4 board-specific options must always appear before generic options,
otherwise the driver fails to initialize. For example, the correct sequence would as follows:
i2c-bcm2711 -v
However, if you
incorrectly issue the command in the wrong sequence as shown here, it will fail:
i2c-bcm2711 -v
Raspberry Pi 4 board-specific options:
These are the board-specific options available for this driver.
- -c clockspeed
- Input clock. If this option isn't specified, the default is set as -1.
- -i irq
- The I2C interrupt event number. The default is 149.
- -p address
- The I2C physical base address.
- -s slave_address
- The slave address. The default is set as 0.
- -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.
- --uunit
- The unit number to spend to the device name. The default is 0.
Example:
Specify a port of address 0xFE804000 with an IRQ of 149 to the first unit:
i2c-bcm2711 -p0xfe804000 --b100000
Page updated: