This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TCA9548A: Can be control 32EA i2c of TCA9548A ?

Part Number: TCA9548A

6153.SCH.pdf

I want to control 32 iic hall sensors using 4 TCA9548A on 1 Arduino board.

Is it possible?

Currently, we have the following problems:

1. Wants to communicate with the first hall sensor, but communicates with an unknown hall sensor

2. 32 hall sensors were connected, but only some of them communicated
(If the Arduino board is reset, the number of iic hall sensors that can communicate increases)

  • Hello,

    Just to get a better understanding of your setup, you have 4 TCA9548A switches all attached to the same bus in parallel correct.

    1. Wants to communicate with the first hall sensor, but communicates with an unknown hall sensor

    The way you are using the address pins is correct. Just make sure that you are sending the right address on I2C bus.

    The address for this device is 1110(A2)(A1)(A0).

    With this device you can have multiple channels enabled at the same time. I would recommend enabling only one channel at a time in order to ensure you are communicating with the correct hall sensor.

    2. 32 hall sensors were connected, but only some of them communicated

    What bytes of data are you sending to enable each channel? Start at the address and write command that you send. When you say that the Arduino board is reset are you resetting the TCA device or the Arduino MCU itself?

    When a specific sensor isn't communicating have you verified on an oscilloscope that the correct data is being sent to the device.?

    Best,

    Chris