I am trying get some understanding of how to work with I2C devices attached to one of the two I2C busses that are exposed on the 40 pin GPIO connector. I am learning a little, but have a lot of questions.
First, I want to make it is understood that I am talking about I2C on the Intel processor NOT the Arduino processor!
My first question : does anyone have a good way of either determining or fixing the I2C bus ordinals, so they doNOT change on reboot?
I am seeing the bus numbers change on reboot for the two I2C busses on the GPIO connector.
the available I2C’s busses that are exposed on the GPIO appear to be the ones managed by the ‘Synopsys DesignWare I2C adapter’
The bus numbers of these are between 0 and 7. This bus number is used by most of the I2C interface routines. Of these tools I have found for python and c, while you can change the bus number in these routines, none of them seem to expect the bus number to changing on boot.
i2c-3 i2c Synopsys DesignWare I2C adapter I2C adapter i2c-1 smbus SMBus I801 adapter at f040 SMBus adapter i2c-6 i2c i915 gmbus misc I2C adapter i2c-4 i2c i915 gmbus dpb I2C adapter i2c-2 i2c Synopsys DesignWare I2C adapter I2C adapter i2c-0 i2c Synopsys DesignWare I2C adapter I2C adapter i2c-7 i2c AUX C/port C I2C adapter i2c-5 i2c i915 gmbus dpc I2C adapter
Thanks for your help!