Hi All,
I've been dealing with this problem in the last 3 days. Teensy 4 connected to a DIY DAC based on TDA1387. Only BCKL, LRCLK and DOUT connected, no MCLCK is needed by it.
When listening, a very annoying "click" is heard every 10sec. aprox. out of the DAC. Sometimes it can play for a minute without problem, sometimes it "glitches" every after a few seconds, quite randomly.
I sampled the problem with a recorder and the glitches are actually very little sections that remain unsampled, showed as short flat horizontal lines within the zoomed waveform, as it can be seen in the picture.
Anyone can help me diagnose this problem? I2S cables are very short, around half cm. for LRCLK and BCKL, 1.5cm. max. for DOUT. I'm using single unshielded CAT5 cables for each connection so that might be a problem, even though they are so short. I tried using 100-330ohm resistors across each path and the problem was still there; same symptom in the breadboard with long cables as well.
Strange enough with the Teensy 3.6 this doesn't happen. If cables are the problem, which one (of the three) can most likely cause this effect? Or could it also be my USB connection? (sound source is a laptop doing USB pass-through).
Many thanks in advance.
Domingo
I've been dealing with this problem in the last 3 days. Teensy 4 connected to a DIY DAC based on TDA1387. Only BCKL, LRCLK and DOUT connected, no MCLCK is needed by it.
When listening, a very annoying "click" is heard every 10sec. aprox. out of the DAC. Sometimes it can play for a minute without problem, sometimes it "glitches" every after a few seconds, quite randomly.
I sampled the problem with a recorder and the glitches are actually very little sections that remain unsampled, showed as short flat horizontal lines within the zoomed waveform, as it can be seen in the picture.
Anyone can help me diagnose this problem? I2S cables are very short, around half cm. for LRCLK and BCKL, 1.5cm. max. for DOUT. I'm using single unshielded CAT5 cables for each connection so that might be a problem, even though they are so short. I tried using 100-330ohm resistors across each path and the problem was still there; same symptom in the breadboard with long cables as well.
Strange enough with the Teensy 3.6 this doesn't happen. If cables are the problem, which one (of the three) can most likely cause this effect? Or could it also be my USB connection? (sound source is a laptop doing USB pass-through).
Many thanks in advance.
Domingo