Search results

  1. J

    Damaged SGTL5000 Behaviour?

    Hi all, I have a PCB that uses a couple of SGTL5000 chips. I've built a few of them and they work. I had one that had a mistake. I didn't notice it, but the 1.8V regulator for one of the SGTL5000 chips wasn't fully connected. I fixed it, but something is still wrong. It appears that something...
  2. J

    Dynamic Audio Connection Bug? A new one!

    Well this is exciting! I won't be able to test for a while, but I appreciate the work!
  3. J

    Audio Router Module?

    I am currently using dynamic patch connections, but they have issues as well as there is a bug with them ( https://forum.pjrc.com/threads/64446-Dynamic-Audio-Connection-Bug-A-new-one! ) that I can't solve. Hopefully Paul will have time to look at it someday! For what I'm doing it would be easy...
  4. J

    Audio Router Module?

    Ah, interesting! I'm not sure I'd know exactly how to work this into the Teensy audio lib. Unfortunately I think the larger issue for my application is that I believe it's 1 in, multiple out, correct? What I'm looking to do is swap left/right channels. For that to work with this module I'd...
  5. J

    Dynamic Audio Connection Bug? A new one!

    Ah I am so sorry Paul! I had no idea the link wasn't working for you! I appreciate you looking into this when you have time! Happy to help in any way I can, I'm just not sure what to do. Thanks!
  6. J

    Add sliders to your touch screen projects -- free library

    Kris - One thing I just noticed. I believe lines 869 and 870 in ILI9341_t3_Controls.cpp might want to be commented out. There are a couple of println statements in there that I'm guessing were to aid in debugging. Thanks again!
  7. J

    Add sliders to your touch screen projects -- free library

    Kris, that's an awesome project! Those meters look great. You've definitely inspired me to add colour to mine. I'll take a peek at how you handled it for further inspiration. I know how I want to do it, but you've likely got a smarter way! Thank you for sharing!
  8. J

    Add sliders to your touch screen projects -- free library

    Hi Kris! I downloaded and tried, and it works great! Thank you for fixing this! I am glad you are inspired by my work. I honestly don't think it's that great, but I am happy it's something that will hopefully lead you to even greater things! I was actually going to make a suggestion for a...
  9. J

    Add sliders to your touch screen projects -- free library

    Absolutely, that part is easy! SliderLeft.init(DETAIL_SLIDER_LEFT_XSTART, DETAIL_SLIDER_LEFT_YSTART, DETAIL_SLIDER_LEFT_YSIZE, DETAIL_SLIDER_SCALE_LOW, DETAIL_SLIDER_SCALE_HIGH, DETAIL_SLIDER_SCALE, DETAIL_SLIDER_SNAP, DETAIL_SLIDER_SLIDER_COLOUR...
  10. J

    Add sliders to your touch screen projects -- free library

    I just updated to V5 and I'm still seeing the same results. I will try to find some time to create an example program that demonstrates what's happening. In the meantime, here's a quick photo:
  11. J

    Dynamic Audio Connection Bug? A new one!

    Hi all, Just curious if anyone has been able to replicate what I'm seeing with these patches. Thanks!
  12. J

    Add sliders to your touch screen projects -- free library

    Aha, I believe I have v4. I will check this out in the morning. Thanks for the quick reply!
  13. J

    Add sliders to your touch screen projects -- free library

    Hi Kris, I took the weekend and started playing with your library. I'm having a lot of fun so far! I'm having one small issue. I am using the vertical sliders in a bit of a non standard way. In addition to the touchscreen my project has encoders, so for now I'd like to be able to use both. If...
  14. J

    Dynamic Audio Connection Bug? A new one!

    Ok! I have come up with a test file that appears to show the issue. I don't think I can attach it directly, so here's a link to the .ino: https://www.dropbox.com/s/nbu17ni5niwdpg0/DynamicPatchTest_v1.ino?dl=0 I've set up a simple system with I2S input, output, a mixer, and a sine wave...
  15. J

    Dynamic Audio Connection Bug? A new one!

    Thanks for the reply! Back when I was looking at this last time, I remember there was a thread that talked of a bug that deleting and recreating connections would eventually crash the system. Naturally I can't find that original thread anymore. Nevertheless, I tried using delete and it failed...
  16. J

    Dynamic Audio Connection Bug? A new one!

    Hi all, I'm back playing with some dynamic audio connections. The ones I used to allow swapping left/right channels work great, and are in fact working well within this very project. I've tried to add another one and...it's just not working. pMixLTCANA1_0_ampLTCANAO1_0 = new...
  17. J

    Add sliders to your touch screen projects -- free library

    Ah, makes total sense. I haven't dug far into the examples yet, but is there one that shows the use of "pages"? In my application I want to use some sliders on a setup page, but not display them (or read them) when I'm on the main status page. Thank you!
  18. J

    Add sliders to your touch screen projects -- free library

    Hi Kris, just stumbled across your library and it's looking great! One question - Is there a reason you use the UTouch library instead of Paul's XPT2046_Touchscreen library? Thanks for all your hard work!
  19. J

    Audio Library for Linear Timecode (LTC)?

    I've never done this and I'm not really sure how MTC actually works at a low level. However, I can say that using this library you will be able to derive the incoming time code. I did a quick google search and there do seem to be some projects for Teensy and Arduino that talk about being able to...
  20. J

    Teensy 4.0 Alternate I2S Pins

    Ok, I'm a bit stymied here. Based on the official combinations in output_i2s_quad.cpp (7 and 32, 32 and 9, or 9 and 6) it would appear the the two output channels need to be consecutive. This may be why a value of 0x50000 won't work for I2S1_TCR3. In playing with it further, I tried dropping in...
  21. J

    Teensy 4.0 Alternate I2S Pins

    Well, I finally had enough time to play with this! I started out by testing both hex and quad output with a simple sine wave object feeding them. That all worked well. Then I started hacking away... Sadly...it didn't work. I changed the I2S1_TCR3 values as you suggested, and changed the config...
  22. J

    Teensy 4.0 Pin Current Capability

    Ah, thank you very much Paul! So based on this I'm seeing 4ma? Am I reading that right? Thank you!
  23. J

    Teensy 4.0 and ST7789_t3

    I'm running out of pins... Yes I could go to the Teensy 4.1, or I could use the backside pins on the T4.0, but I'd like to try solving this another way. So, some questions... On the ST7735 examples for the Teensy 3.2, it is clear that if I define things correctly I can end up with software...
  24. J

    Teensy 4.0 Pin Current Capability

    Hi all, I can't seem to find a reliable answer for the current capability (source/sink) of the I/O pins on the Teensy 4.0. I thought that info would be in here: https://www.pjrc.com/teensy/IMXRT1060CEC_rev0_1.pdf in table 22 (page 34), but no luck. There's a table on the PJRC site, but I...
  25. J

    Teensy 4.0 and ST7789_t3

    Semi-related question - Kurt, am I able to use a different pin for D/C (other than pin 9)? I might need that for I2S audio... Thank you!
  26. J

    Teensy 4.0 and ST7789_t3

    Just an update. I left one of the working displays for a couple days, and when I powered up my test setup today, it didn't work. I swapped to my other working display and...nothing again. I'm reasonably sure this might just be my test setup, but I don't really have a lot of trust for these...
  27. J

    Teensy 4.0 Alternate I2S Pins

    Hi all, I'd love a double check on this. I've been spending a bit of time learning about I2S on the Teensy 4.0. I understand that there are a maximum of 5 pins can can do I2S. I'm looking at going for quad in/quad out. By default this would use pins 8 and 6 for I2S data in, and 7 and 32 for I2S...
  28. J

    Audio Block Compatibility

    I'm starting to switch to VSCode with PlatformIO. Still early in the transition as I'm working on a few things and haven't had time to properly dive in. Agreed on the usefulness of the plotter. Seems like an excellent compromise, though I do wish it at least had a "pause" button. I did some...
  29. J

    Teensy 4.0 and ST7789_t3

    Great thought! I gave it a try but no dice. I couldn't get the actual LCD off the board, so I started closely inspecting the module. There appear to be 5 diodes (D1-5, you can see them in this photo: https://ae01.alicdn.com/kf/Hc21a745b39e5444ead93b59667adf517o.jpg ). On the three that don't...
  30. J

    Teensy 4.0 and ST7789_t3

    Here's the latest! It looks like of the 5 modules I have, only 2 are working. When I started I must have grabbed a bad one, then when I grabbed another to double check, it was also bad. Luckily the 3rd I grabbed was good. I have run them now on both the T3.2 and T4.0 and both work using the...
  31. J

    Teensy 4.0 and ST7789_t3

    Hi Kurt, Yep, I moved to a Teensy 3.2 as I knew I had that exact setup working with an ST7735. So interestingly, I grabbed another LCD randomly from the pile, and this one worked. I'm working to characterize what's going on now, you're very quick on the draw! As I suspected, this isn't a...
  32. J

    Teensy 4.0 and ST7789_t3

    Still plugging away at this. Haven't had time to solder up shorter wires, but I will hopefully do that soon. I did jump back a few steps to double check myself. I went back to a Teensy 3.2, and ran it with an existing ST7735 display. That worked as expected. Then I went to an ST7735 that came in...
  33. J

    Teensy 4.0 and ST7789_t3

    Thanks for trying it out, I appreciate it. I gave your version a try but still no love here. The only modification I made was to the reset pin definition. I'm going to rewire everything tomorrow in the hopes that my wires are just too long. I have some dupont jumpers that are about 4" long...
  34. J

    Teensy 4.0 and ST7789_t3

    Hi Kurt! Thanks for the confirmation that my pin choice was ok. I do have pin 0 connected to the reset pin, I also tried pin 1 just in case. I wasn't sure if there were limitations on the DC and CS combinations like on the Teensy 3.2. The display is a super generic on from AliExpress that I...
  35. J

    Teensy 4.0 and ST7789_t3

    Hi all, I'm trying my first ST7789 based LCD (320x240) with a Teensy 4.0 and I'm having a bit of trouble getting it to work. This is a generic LCD, nothing fancy. So far I've been unable to get anything to appear on the display, and mostly I'm wondering if I've chosen the correct pins on the...
  36. J

    Audio Block Compatibility

    Ok, I have done some tests, and here are my results! Since I have the two Teensys connected to two computers, I left DEBUG defined on both so I could get the serial output. When running both with just serial, one of them is showing a frequency of 44100.45, and the other 44099.71. After a bit of...
  37. J

    Audio Block Compatibility

    Apologies for the delay, but I am back and sorting through things. I will try out that code as soon as I can. I'm hoping this eliminates the SPDIF hardware as the culprit and perhaps makes me focus more on the USB interface. Out of curiosity, what environment are you coding in? Thanks!
  38. J

    Audio Block Compatibility

    Not a rush, I'm slammed this weekend and won't have time to test anything until Monday at the earliest. It wouldn't surprise me if this was something on my end. What you're describing was basically what I did on my first prototype. However it was using Teensy 3.2 boards, which made things a...
  39. J

    Audio Block Compatibility

    Nah, not only two connections but I wanted to clean up the wiring, get everything as short as possible to eliminate issues there, etc. I guess "tearing it apart" sounds a bit more intense than it was. It took about 5 minutes! I started with connecting only Main Teensy -> Aux Teensy. I tried...
  40. J

    Audio Block Compatibility

    Sounds good. I am going to try tearing everything apart and starting again. Do you have any recommendations for the links between the two Teensys? Should I connect out->in directly, or put in a resistor, etc. Thank you!
  41. J

    Audio Block Compatibility

    I did a bit more experimenting this morning. I still can't get the startup distortion to reappear. I'll keep trying to see if I can characterize that one better. On to the return path issue. I started by replacing the USB input on the main Teensy with a sine wave generator. It works fine until...
  42. J

    Audio Block Compatibility

    I agree that it's weird i can't reproduce it. I'll try again in the morning to see if the computer it more likely to make it happen after having slept awhile. Honestly I have no idea why that would make a difference, but who knows. I've done some work with tone generators. I used a couple of...
  43. J

    Audio Block Compatibility

    Sounds good, I'm happy to follow any troubleshooting plan you're thinking of. You are correct on the setup. The noise/distortion is present when I first connect the sending Teensy. It persists for some time, though how long seems to be variable. It took about 1 minute 40 seconds one time. I...
  44. J

    Audio Block Compatibility

    I hope I am able to explain this all clearly. I reverted to using spdif3 for transmit and spdif3_async for receive. I added the two tests you asked (more info later). I started with just the transmitter transmit connected to the receiver receive. No return. It sounds like there is a problem...
  45. J

    Audio Block Compatibility

    Hi there, Thanks for the reply! I tried altering the anti-aliasing attenuation but I have the same issue. I added the debug code you had in the example file, and here is a sample of the output: buffered time [micro seconds]: 887.04 processor usage [%]: 8.00 buffered time [micro seconds]...
  46. J

    Audio Block Compatibility

    Well, I just had a bit of a disappointing test. I took two Teensy 4.0 boards, connected SPDIF in on one to SPDIF out on the other, and vice versa. I also connected ground together. Here's the audio setup portion of the code I ran: // Outputs AudioOutputUSB USB_Out_1...
  47. J

    Audio Block Compatibility

    Thank you for the quick reply, and for reminding me of a few things! I completely spaced on the DAC thing, my mistake there. I can dispense with that part. I didn't realize that SPDIF on these chips doesn't use the I2S system. Reading the descriptions again it all makes a lot more sense. So...
  48. J

    Audio Block Compatibility

    Hi all, I am planning on migrating my project to the Teensy 4, mostly for more power and greater flexibility with some interfaces. I'm trying to double check if various blocks will play nicely together. There are two Teensys in this project. The auxiliary one would be simple, it would have...
  49. J

    I2S Timing Issues

    Just a quick update before I head to bed. I've been hacking away at these issues, and I've made a bit of progress. I've been working with @gfvalvo's BCLK = 64*Fs I2S blocks (available here: https://forum.pjrc.com/threads/45394-SPDIF-Input-and-Output ), and using them I have managed to be...
  50. J

    PlatformIO Config Options

    My issue was just that I was looking for documentation. speed12 pointed me the right way, so my current issue is solved.
Back
Top