03-10-2020, 08:27 PM
Interesting comments here re creating other i2s buss... would that sidestep the current clash ?
https://www.instructables.com/id/Raspber...c-Devices/
https://www.instructables.com/id/Raspber...c-Devices/
Quote:sudo nano config.txt
Add the following line of code, preferable in the section where spi and i2c is enabled.
dtoverlay=i2c-gpio,bus=4,i2c_gpio_delay_us=1,i2c_gpio_sda=23,i2c_gpio_scl=24
This line will create an aditional i2c bus (bus 4) on GPIO 23 as SDA and GPIO 24 as SCL (GPIO 23 and 24 is defaults)
Also add the following line to create i2c bus 3
dtoverlay=i2c-gpio,bus=3,i2c_gpio_delay_us=1,i2c_gpio_sda=17,i2c_gpio_scl=27
GPIO 17 will be the SDA and GPIO 27 will be the SCL for i2c bus 4.
Tipe control X to exit.
Note on the Bus Numbering and order:
Never use bus 0 and 2, it is use for other things in the board like eprom on hats etc
----------
bob
bob