I2S audio output and problems w/ I2C IMU

Status
Not open for further replies.
TLDR: adding 100pf between pin 19/SCL and ground fixed it.

I also had this problem and fixed it with the help of this thread!

First of all, I am really amazed that Paul figured this out remotely, as it is such an insidious little problem that came from a very unexpected cause. Props!!!!

I had a BNO055, Teensy audio shield and exactly the same weird crash symptoms. Good data for a few seconds, then a weird crash to all ".06" values.
Remove the I2S1 line and everything was good.

I tried these things:
- adding various sizes of capacitors to the BNO055 power supply. No effect.
- shielding the sensor with some grounded copper tape (wrapped in non-conductive tape) but that did nothing. No effect!
- placing some grounded and insulated copper shielding near the MCLK pin (11). Nope.
- thinking that the 11Mhz must be leaking on the SDA/SCL lines, I added a 10pf bypass between pin 18 (SDA) and ground. No effect.
- then I thought: let's try 100pf (Xc about 145 ohms at 11Mhz) between pin 19 (SCL) and ground SUCCESS!

This problem was worse than catching a mouse in a fifty room mansion, so I am extremely impressed a Paul's answer! It's truly exceellent troubleshooting. Thank you.

Daniel

PS: I did see something in the Adafruit manual for the BNO055 that said something like "do watch out RF square waves, as the sensor does not like them and will give weird results!"
 
TLDR: adding 100pf between pin 19/SCL and ground fixed it.

I also had this problem and fixed it with the help of this thread!

First of all, I am really amazed that Paul figured this out remotely, as it is such an insidious little problem that came from a very unexpected cause. Props!!!!

I had a BNO055, Teensy audio shield and exactly the same weird crash symptoms. Good data for a few seconds, then a weird crash to all ".06" values.
Remove the I2S1 line and everything was good.

I tried these things:
- adding various sizes of capacitors to the BNO055 power supply. No effect.
- shielding the sensor with some grounded copper tape (wrapped in non-conductive tape) but that did nothing. No effect!
- placing some grounded and insulated copper shielding near the MCLK pin (11). Nope.
- thinking that the 11Mhz must be leaking on the SDA/SCL lines, I added a 10pf bypass between pin 18 (SDA) and ground. No effect.
- then I thought: let's try 100pf (Xc about 145 ohms at 11Mhz) between pin 19 (SCL) and ground SUCCESS!

This problem was worse than catching a mouse in a fifty room mansion, so I am extremely impressed a Paul's answer! It's truly exceellent troubleshooting. Thank you.

Daniel

PS: I did see something in the Adafruit manual for the BNO055 that said something like "do watch out RF square waves, as the sensor does not like them and will give weird results!"


Let me revive this topic. I also have troubles using a BNO055/Audio together. Both work fine when used separately, but
I got exactly the same symptoms explained here: values = -0.06 and the IMU hangs up. I tried the 100pF capacitor trick
explained above, and though it's better, the problem still appears after ~10s.

Any better idea to insulate the cables/device?
Thanks a lot anyway, I would have given up way before finding the problem myself...
Btw I use a T4/Audioshield + IMU BNO055 from Devantech. I maybe should use another one?

François
 

Attachments

  • Capture d’écran 2020-02-27 à 16.37.23.png
    Capture d’écran 2020-02-27 à 16.37.23.png
    174.4 KB · Views: 50
Status
Not open for further replies.
Back
Top