There is a I2C mater and several slaves with the same address so I need a mux to determine which slave device i want to control. And i use analog mux in the CY8CKIT-059 kit to implement my purpose.
p1 is SDAT source signal from master
p3 is connected to SDAT0 of slave device_0
p3 is connected to SDAT1 of slave device_1
as attached p1 shows.
and then I found it didn't work. So i took a measurement using scop as attached p2 shows.
channl4(green color) is clock from master
ch1(yellow) is measured by p1
ch2(blue) is measured by p3 .
ch1 and ch2 should get the same signal when using analog mux as their connection bridge, but they don't.
how do i solve the issue?
by the way, all of my pins' type setting is "analog", drive mode is "high impedance analog".
Solved! Go to Solution.
It is trather strange choice to use Analog Mux and pins for digital communication. Why standard Digital Mux is not used?
Because I2C is bidirectional signal, and digital mux don't allow bidirectional pin to be connected with it .
All I can choose is analog MUX.