PCA9546 Not working

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Daveedwards
 
Posts: 10
Joined: Mon Jan 30, 2023 6:05 pm

PCA9546 Not working

Post by Daveedwards »

Been having issues with the PCA9546.

Feather: Adafruit Feather ESP32S3 4MB Flash 2MB PSRAM with ESP32S3
Board: PCA9546 4-Channel STEMMA QT Multiplexer
CircuitPython version: 8.0.0-beta.6 (Issues oalso on 7.3)
Example following: https://learn.adafruit.com/adafruit-pca ... hon-python

Description: Device has been setup following the example above. Also expereince the exact same issue on the ESP32-S2 Feather. I am unable to see any devices connected to the PCA9546 using the receommnded adafruit_tca9548a library. When running the exmaple code the output is as below and this is with or wihout devices connected to the PCA9546. Have swapped cables and also tried to different PCA9546 boards and get the same results. Any suggestions on how to correct this?


https://github.com/adafruit/Adafruit_Ci ... /issues/44

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: PCA9546 Not working

Post by dastels »

How are you connecting the Feather & PCA9546?

Dave

User avatar
Daveedwards
 
Posts: 10
Joined: Mon Jan 30, 2023 6:05 pm

Re: PCA9546 Not working

Post by Daveedwards »

Yes, have tried connecting to two different feathers and get the same issue

User avatar
Daveedwards
 
Posts: 10
Joined: Mon Jan 30, 2023 6:05 pm

Re: PCA9546 Not working

Post by Daveedwards »

Sorry, mis-read the question. Connected via the STEMMA QT on the Feather.

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: PCA9546 Not working

Post by dastels »

Can you test it using C++? See https://learn.adafruit.com/adafruit-pca ... er/arduino.

Dave

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: PCA9546 Not working

Post by dastels »

OK.. the 0x0b address your scan is showing is the onboard battery monitor.

I'd still like to see if it works using C++. If so it points to a library issue.

Dave

User avatar
Daveedwards
 
Posts: 10
Joined: Mon Jan 30, 2023 6:05 pm

Re: PCA9546 Not working

Post by Daveedwards »

Hi

No issue was found in the end, after some pointers on GitHub on the below issue it worked. Don’t know what I did wrong the first time around. Thanks for replying and suggestions.

See closed issue https://github.com/adafruit/Adafruit_Ci ... /issues/44

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”