Hi All,
I have very basic question.
We have 5 slaves on same I2C bus. 4 Out of 5 slaves can support 400Khz maximum and one slave can support maximum 100Khz.
Right now I have configured I2C bus for 100Khz and everything is working fine.
I would like to know is it possible to configure different frequencies (100Khz for 1 slave and 400Khz for rest of the slaves) for different slaves.
Thanks,
Jemish
Hi Jemish
seems this is not possible for the same bus, also there is useful discussion on
bus speed of /dev/i2c-2 on imx6q | element14 Community
Best regards
igor
Hi Igor/Artur,
Thanks a lot for your suggestion ! Based on your inputs we think it would be better to keep same frequency 100Khz for all the slaves. We can close this thread now.
Thanks,
Jemish
The only way to do this is to re-configure the I2C_IFDR register of the I2C controller IP each time you need to change the frequency.
Have a great day,
Artur
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------