I2C Pins

The 5 pin GPIO connector SDA and SCL pins are the same I2C connections as on the FFC connector to the Raspberry Pi, there is only 1 I2C port. This port is used for touch events and backlight control by the Raspberry Pi GPU driver

Controlling the display backlight brightness via the I2C pins

Some users report this is possible but others that it can stop the touch sensing working and also cause problems if there are other I2C devices on the bus. This isn’t surprising as the GPU driver is accessing this I2C port as I2C master. By trying to also access is from your own separate master I2C port you are creating a multi master I2C bus and if the GPU driver or your I2C port driver hasn’t been implemented to support multi master arbitration then collisions will occur and break comms.

USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.

Comments

Your email address will not be published. Required fields are marked *