Adafruit Feather RP2040 with Adafruit 15x7 CharliePlex FeatherWing issue

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jwinslade
 
Posts: 44
Joined: Fri May 21, 2021 12:00 pm

Adafruit Feather RP2040 with Adafruit 15x7 CharliePlex FeatherWing issue

Post by jwinslade »

Rather than immediately go through detailed debugging, I thought I would post this here and see if anyone has run into this before.

I'm trying to interface the Adafruit 15x7 CharliePlex FeatherWing to the RP 2040 feather, which looks like it should be straightforward. Power and SCl/SDA.

I'm using Arduino IDE with Earle P's code for the 2040.

The sketch immediately errors out with 'IS31 not found'.

If I unplug the 2040 feather and plug in a M0 Basic feather, same code, same wiring, just plugging in a different Feather board into the breadboard, it works fine. I'm using the swirl demo.

The only difference is that it's the 2040 Feather instead of the M0 Basic Feather.

Has anyone else seen anything like this?

Thanks.

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Feather RP2040 with Adafruit 15x7 CharliePlex FeatherWing issue

Post by adafruit_support_carter »

In Arduino, the Feather RP2040 I2C port ends up being Wire1 (not the default Wire):
https://learn.adafruit.com/adafruit-fea ... qt-3084853

Change:

Code: Select all

  if (! ledmatrix.begin()) {
to:

Code: Select all

  if (! ledmatrix.begin(ISSI_ADDR_DEFAULT, &Wire1)) {

User avatar
jwinslade
 
Posts: 44
Joined: Fri May 21, 2021 12:00 pm

Re: Adafruit Feather RP2040 with Adafruit 15x7 CharliePlex FeatherWing issue

Post by jwinslade »

Thank you.

I had a feeling it was something like that.

User avatar
jwinslade
 
Posts: 44
Joined: Fri May 21, 2021 12:00 pm

Re: Adafruit Feather RP2040 with Adafruit 15x7 CharliePlex FeatherWing issue

Post by jwinslade »

Thanks again, that did it. It probably saved me a couple of hours digging through the code and such. ;-)

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

Return to “Feather - Adafruit's lightweight platform”