Hello,
As there are two I2C master in QCA4020,
I2C0_Master -> SCL(Gpio 10) & SDA(GPIO 11)
I2C1_Master -> SCL(Gpio 16) & SDA(GPIO 17)
By default if we configure i2c only I2C0_Master is been configured and it is working.
We want to use both I2C masters, How to configure I2C1_Master ?
Do we need to change anything in @target\build\tools\devcfg\threadx\DevCfg_master_fom_out_cdb.xml file?
Regards,
Akshaay
Hi Akshaay,
we are actually also using both I2C instances. We did not change the xml configuration file for this except to adjust the driving current.
What you need to do is to open both instances of the I2C device using the qapi_I2CM_Open() function and calling it for each instance separately. But maybe you did this already.
Regards,
Andreas