Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Teensy 4.1 I2S Pins - Map to different pins?

  1. #1
    Junior Member
    Join Date
    Dec 2020
    Posts
    7

    Teensy 4.1 I2S Pins - Map to different pins?

    I'm working with an OCTO2811 and an I2S MEMS Microphone. I have a conflict using the I2S2 IN2 (pin 5). Is it possible to remap to a different pin, such as PIN 41?

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,727
    Yes, on Teensy 4.0 & 4.1, you can remap to any digital pins, even less than or more than 8 pins if you like.

    In Arduino, click File > Examples > OctoWS2811 > Teensy4_PinList to see how.

    On Teensy LC & 3.x, OctoWS2811 always uses the fixed set of 8 pins.

  3. #3
    Junior Member
    Join Date
    Dec 2020
    Posts
    7
    Thanks for the info. I'm trying to use Teensy 4.1 pins (I2S external microphone) 3-LRCKL, 4-BCLK, 5-RX. I assumed pin 5 was the problem when using the I2S AudioInputI2S2, maybe it's really a pin 4 problem. I remapped pin 5 for the OctoWS2811 and still seem have a conflict when using the I2S Microphone and the LEDs at the same time.

    Iím not using the Audio Shield for this project. I am using the OctoWS2811 Adaptor.

    I'm open to any suggestions on how to use both the OctoWS2811 and either AudioInputI2S or AudioInputI2S2 at the same time.
    Last edited by daryl; 01-21-2021 at 01:30 AM.

  4. #4
    Junior Member
    Join Date
    Dec 2020
    Posts
    7
    I almost have this figured out. The conflict is the physical connection on pin 5 between the Teensy 4.1 and the OctoWW2811 Adapter. Still digging...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •