Search results

  1. P

    Teensy 4.1 I2C issues when using Audio

    Great to hear this, thanks! I will try it later on, I changed all my project code to teensy4_i2c so I need to change everything back again to test it out. Unfortunately I have some other projects I have to work on at this moment, so it may take a while.
  2. P

    Teensy 4.1 I2C issues when using Audio

    @h4yn0nnym0u5e: I can confirm that your patch, combined with checking the error returned by TwoWire::endTransmission(), solves the issue. Without the patch, TwoWire::endTransmission() will end up in a continuous error 4 "we lost bus arbitration to another master" state. What is next, a pull...
  3. P

    Mixer with more than 4 channels

    Just out of curiosity: why is there an AudioMixer4 but not an AudioMixer8 or more? I know that multiple AudioMixer4s can be chained to effectively create more channels. But the ability to use an AudioMixer8, for example, instead of 3 chained AudioMixer4s would result in cleaner application code...
  4. P

    Teensy 4.1 I2C issues when using Audio

    Sure, I created a new quick & dirty program (using PlatformIO) to contain the minimum amount of code to reproduce the problem. main.cpp contains: #include <Arduino.h> #include "USBHost_t36.h" #include <array> #include <Audio.h> #include <Wire.h> #include <SPI.h> #include <SD.h> #include...
  5. P

    Teensy 4.1 I2C issues when using Audio

    Thanks for the swift reply! Do you have any idea why the Audio and I2C code together could cause hangs? And why sandwiching the I2C calls between AudioNoInterrupts() and AudioInterrupts() could be solving the problem? In an attempt to further analyse the problem, I switched Wire.h over to...
  6. P

    Teensy 4.1 I2C issues when using Audio

    I'm trying to build a synthesizer using a Teensy. My current test setup consists of: Teensy 4.1 M5Stack 8Angle (8 potentiometers, 1 switch and 9 RGB leds through I2C) M5Stack 8Encoder (8 rotary encoders, 1 switch and 9 RGB leds through I2C) 20x4 char LCD connected through I2C using a level...
Back
Top