Search results

  1. H

    Teensy 4.1 TLC5940 flicker issue

    Ok so I finally figured it out. Turns out the Bounce2 library was completely messing up the TLC5940 timing somehow. So if you plan on using both libraries, then do NOT use currentDuration KEYWORD2 previousDuration KEYWORD2
  2. H

    Teensy 4.1 TLC5940 flicker issue

    GOD FUCKING DAMNIT There was one wrong line that was completely eating up all the time in the loop and calling some function all the time. I have the switches wired as active low and I accidentally called one switch with a reading of "switchx.rose()" which is completely wrong since it only...
  3. H

    Teensy 4.1 TLC5940 flicker issue

    edit: did not figure it out gonna keep debugging
  4. H

    Teensy 4.1 TLC5940 flicker issue

    Small update, I tried doing a small demo sketch using the encoders to change the float values and show them on the LED's and I get no flickering right now. My big guesses are that either: a) it's a timing/latency problem in the bigger sketch b) me using an i2s DAC and the audio library might...
  5. H

    Teensy 4.1 TLC5940 flicker issue

    Hello, I have a TLC5940 driving some LED's that are indicating the value of a variable and I'm using encoders to change that value. I have some common anode bipolar LED's that are high brightness and they flicker every now and then when I change the brightness of a particular LED. I have it so...
  6. H

    TLC5940 led driver on Teensy 4.0

    Great! :D Big weight off my chest, would have had to redesign everything to work around that.
  7. H

    TLC5940 led driver on Teensy 4.0

    Would it work to reassign the sclk pin from pin 7 on the teensy 4.1 to pin 9 on the teensy? I'm using an I2S chip alongside the TLC5940 and the SDATA out for I2S is on pin 7...
  8. H

    Teensy 4.0 polysynth (audio) with OLED - can it handle it?

    One question for you Paul, I have a CS4344 DAC chip and if I understand it correctly I can use the same pins for SCLK and SData for both the OLED and the DAC right?
  9. H

    Teensy 4.0 polysynth (audio) with OLED - can it handle it?

    DAAAAMN 132 oscillators Ok i'm not gonna worry about it then lol
  10. H

    Teensy 4.0 polysynth (audio) with OLED - can it handle it?

    Hi all, Right now I'm starting my work on my bachelor thesis for my EE studies and the basic design is that it's a 4 voice synthesizer with an OLED screen that has menus for voice spread, voice detune and whatnot. Now I'm still struggling with one decision: If the Teensy 4.0 can handle all of...
  11. H

    CS42448 balanced output filter HELP!

    I think i'd need to filter the output though, since there is still some high frequency noise in the signal. Granted it's above the hearing spectrum but still, Cirrus reccomends filtering it.. I think you're right about it working as a driver. Maybe it'll work out just fine? Has anyone tried...
  12. H

    CS42448 balanced output filter HELP!

    Hello I'm wondering if someone could point me to some proper documentation on doing an active balanced output filter for the CS42448 chip. The datasheet only gives me circuits for a single-ended output, passive and active. There is a circuit that takes the balanced output of the chip and gives...
  13. H

    Teensy 3.2 - I2s object - CS4334 DAC - Aliasing

    Correction: the input impedance of the op amp is 330k Ohm, not 1k. So C4 should be around 3.3nF.
  14. H

    Teensy 3.2 - I2s object - CS4334 DAC - Aliasing

    Oh yeah, i forgot to update the schematic, messed up the calculations when i designed it at first :) Right now i have a 100nF capacitor for C4, because it's all i had laying around. The capacitor alongside R14+input impedance of the op amp(R7 or 1k ohm) should form a low pass. (I got a...
  15. H

    Teensy 3.2 - I2s object - CS4334 DAC - Aliasing

    Hey! Ok so I've made an 8 voice poly synth with four choosable waveforms, 2 operator FM and a selectable 8 voice karplus strong synth. I've implemented Cirrus Logic's CS4334 16-bit DAC and everything works fine for sine and triangle waveforms. But there's a problem for square and sawtooth...
Back
Top