Increasing both interface
speeds increases data throughput and decreases chances of data
collisions.
Adjusting external
pull-up resistors according to I2C specifications is necessary to allow
for communication if I2C speeds are increased. As a general guideline,
10kΩ is appropriate for 100kHz. Higher I2C bus rates require lower
valued pullup resistors. For 400kHz communications, use resistors closer
to 4.7kΩ.
Additional optimization
of this code can be necessary to meet increased bridge utilization.
Additional optimizations include higher device operating speeds,
multiple transfer buffers, or state machine simplification.
Note:Figure 1-1 example was only tested with default speed of
100kHz (I2C) speeds.
Check the pins being used for
both peripherals. There are some pins who require special considerations like
being open drained.