Adafruit Matrix Portal I2S Question

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
gmag
 
Posts: 2
Joined: Fri Feb 03, 2023 1:26 pm

Adafruit Matrix Portal I2S Question

Post by gmag »

I am looking to purchase the Adafruit Matrix Portal Part #: 4745 for a project that consists of a spectrum analyzer and one of your matrix displays. We would like to use the Matrix Portal assembly, however our spectrum analyzer circuit requires the use of I2S. We are wondering if said assembly is I2C compatible and if so, which pins should I be using? Thanks!

User avatar
danhalbert
 
Posts: 4654
Joined: Tue Aug 08, 2017 12:37 pm

Re: Adafruit Matrix Portal I2S Question

Post by danhalbert »

Hi, is it I2S or I2C? CircuitPython does not support I2S in (only out). There is a STEMMA/QT I2C connector on board.

Note that running the matrix uses a substantial chunk of CPU power (like 30%, at least).

User avatar
gmag
 
Posts: 2
Joined: Fri Feb 03, 2023 1:26 pm

Re: Adafruit Matrix Portal I2S Question

Post by gmag »

Apologies, it's I2S. And I would be using it with Arduino software.

User avatar
danhalbert
 
Posts: 4654
Joined: Tue Aug 08, 2017 12:37 pm

Re: Adafruit Matrix Portal I2S Question

Post by danhalbert »

The exposed pins are, per https://learn.adafruit.com/assets/111881:

header: PA00, PA01, PA04, PA05, PA06, PA07
STEMMA/QT: PB30, PB31
3-pin connector: PA02

These are unfortunately not the I2S-capable pins. But you could use one of the other boards that are supported by the Protomatter library. Possible boards are listed here: https://www.adafruit.com/product/3036, and include many chip families (nrf, RP2040, ESP32xx, etc), not just SAMD51. You'd have to make sure the I2S-capable pins are also available, and maybe swap some pin assignments around.

If the ESP32 coprocessor is not going to be used, you're going to have a lot of choice.

This may be helpful: https://www.adafruit.com/product/3036, though I don't know if you have enough pins left over on Feathers for I2S.

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

Return to “Adafruit CircuitPython”