Search results

  1. impcc

    Non-deterministic behavior driving multiple I2C displays through MUX.

    UPDATE: I got the circuit up and running with 8x of the OLED Displays on the 1x MUX (all running at 400kHz) and, as anticipated, the frame rate is rather poor -- about 10FPS. It may be good enough for a prototype, but it won't be good enough for production. Oh well. Time will tell. Regards, Ian
  2. impcc

    Non-deterministic behavior driving multiple I2C displays through MUX.

    Thanks for the advice! The datasheet I'm looking at suggests that it's good to 400kHz, but I'm not twiddling with the speeds just yet, so I assume I'm at 100kHz. I tried putting a `delay(1)` between finishing the write to the first display and switching to the second display. This worked! It...
  3. impcc

    Non-deterministic behavior driving multiple I2C displays through MUX.

    Hi! I'm writing some code (below) to drive multiple 128x32 OLED I2C displays (which all have the same address) via the TI TCA9548A I2C 1:8 MUX. (10K pull-ups all around) I was able to get code working that drives two displays using the Adafruit_SSD1306 and U8glib libraries, YAY! Then, I wanted...
  4. impcc

    Whither Teensy Discord?

    I can understand that. I'll drop it. Ian
  5. impcc

    Whither Teensy Discord?

    After searching through the forums here, it appears that there isn't a dedicated Teensy development Discord/Slack. In reading these threads, I saw a good number of people running off to the Adafruit Discord, and a number of project-specific Discords mentioned, but nothing central and dedicated...
  6. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    Hi y'all! I wanted to come back and let everybody know: Those CNC Tech cords discussed here? They work BEAUTIFULLY! No glitches, no flakiness, no problems at all. And yes, they are pretty tight in the jack -- I wouldn't want to plug and unplug them all the time -- but they're rock solid for me...
  7. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    That's the plan. I just haven't gotten that far yet. I have the panel mount pigtails to disconnect power (as mentioned in the power convo) but I'm just trying to get up and running. FWIW, I did take one of my other Teensies and squish the jack down a little, and it dramatically improved the...
  8. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    To circle back around for future visitors to this thread: @BillFM Thank you for your help in diagnosing! I wanted to answer the inquiries you had so if someone else has similar problems, maybe it'll help. Yes. I will want to figure out the external supply 'story' soon, but for the purposes of...
  9. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    Thank you! Thank you! Thank you! While this tip didn't exactly solve my problem, it was the catalyst that helped me to stumble onto what I'll call the 'combo solution': I pulled up the spring pins with a scalpel, as you suggested -- it was still a little finicky -- but then I kinda picked the...
  10. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    My experience and my equipment are the only things I have to go on here. Number of Teensies I've used: 3 Number of Teensies I've had USB connectivity problems with: 3 Number of A -> MicroB cables I've tried with these boards: 6 (at least, if not more.) Number of years I've spent working in...
  11. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    But why aren't these 'purportedly poison' cables destroying other devices? And the first one I tried on this new T4.1 was the exact same Amazon Basics one I've been using primarily on my previous T4.1 (I have tried it on other devices to try and diagnose this issue), so it really just doesn't...
  12. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    I just want to be instructed as to how to get work done with my Teensies. That's it, and that's all. If the answer were "re-solder the micro-b connector" that would be fine -- I tried that; it didn't help. If the answer is 'buy this one, specific 'CNC Tech' brand A->micro-B cable', that's fine...
  13. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    There appeared to be zero solder at all on the shield thru-holes of my connectors. I soldered them up, but it didn't improve anything w/r/t connectivity.
  14. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    This is what my setup looks like. No joke. Like... whatever it takes... but this is absolutely a pain in the ass. And this is the most reliable cable I have.
  15. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    I did this earlier today. No difference for me. *shrug*
  16. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    Order submitted. I'll report back!
  17. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    All of my Teensies were purchased directly from PJRC. All 3 of them, so not a huge sample, but not an N of 1 either. I would be willing to consider the issue being on the USB-A end if I hadn't tried half a dozen different cables, or if other, non-Teensy, devices had issues, and if wiggling the...
  18. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    OK, I ordered another Teensy 4.1 recently and I have to wiggle the cable on it, even using the cable that was "good" for the other Teensy 4.1 I bought previously. I hate to be a negative Nelly, but this, by empirical process of elimination, indicates that there is a systemic problem with the...
  19. impcc

    How about an emulator/simulator that runs on your computer and emulates/simulates the Teensy itself?

    Yeah, that's mainly what I was hoping for: a way to iterate super-quickly on a PC, preferably with some kind of I/O sim (at least GPIO), but even just CPU sim would be cool. Again, I'm not demanding, mainly just asking if something already exists. I remember, from the days of yore (yeesh... 30...
  20. impcc

    How about an emulator/simulator that runs on your computer and emulates/simulates the Teensy itself?

    Sure. IIRC, the 68332's manual was ~1600 pages. And there was a sim for that, back in the day (early 90s). I didn't write it, but... I'm not requesting that someone create one, just asking if someone happened to have already done so. :)
  21. impcc

    How about an emulator/simulator that runs on your computer and emulates/simulates the Teensy itself?

    I've found a number of threads about the Teensy emulating lots of different stuff like classic games, etc. But how about the other way around? Can we emulate/simulate a Teensy itself on a desktop/laptop//PC/Mac computer (with any reasonable speed or fidelity?) I did not manage to find a thread...
  22. impcc

    TeensyThreads causes errors building in Platform.IO

    I think this is just down to the differences between the Arduino IDE and PlatformIO. Maybe it's just me, but I find the Arduino IDE absolutely infuriating to even try to use. PlatformIO, when it works, is a much more familiar experience. That said, I realize it's a minority experience, so I'm...
  23. impcc

    TeensyThreads causes errors building in Platform.IO

    The code is as simple as this: #include <TeensyThreads.h> And what I see when I go to build, I get all these warnings. I'm one of those "no warnings" people, so while it compiles successfully, I'm left left a little twitchy. .pio/libdeps/teensy41/TeensyThreads/TeensyThreads.cpp: In member...
  24. impcc

    Objective-C/GNUStep CoreFoundation?

    So, I've been tooling along with my Teensy 4.1 and thinking, "This thing is way more powerful than my old PPC Mac... and I don't need any graphics presentation at all, or at least only in-memory and flushed to some OLED or TFT over SPI/I2C, and not a windowserver type situation... I searched the...
  25. impcc

    Having a heck of a time getting a TFT w/ ST7735 to even compile

    Edit2: Got it to work! First problem was that I needed the alternate constructor that lets you pass in `&SPI1`. I also had a wiring mistake. (I'm an old fart at this point with bad vision and the angled screening of the pin numbers has caught me before. Maybe I should get a pair of 2x readers...
  26. impcc

    Having a heck of a time getting a TFT w/ ST7735 to even compile

    I was following this tutorial: https://docs.arduino.cc/retired/library-examples/tft-library/TFTDisplayText/ I will try the graphics test sketch now and see how far I get.
  27. impcc

    Having a heck of a time getting a TFT w/ ST7735 to even compile

    Interesting. I had no problem using it with the SSD1306 displays (128x32 OLED) I have. For the ST7735, I will try again with the ST7735_t3 driver. Ultimately, I need to be able to use both displays in the same project, so it sounds like I probably have some more figuring out to do even after I...
  28. impcc

    Having a heck of a time getting a TFT w/ ST7735 to even compile

    I have a Teensy 4.1. I normally use PlatformIO, but often fall back to Arduino IDE when things don't work, especially for the examples. If it matters, I have both the 1.8.19 version of the Arduino IDE installed and 2.3.0 (I changed the name of the app. I need this because I also develop for the...
  29. impcc

    USB Host Library MIDI hanging

    I've gotten the basics working. Starting from the "Teensy > USBHost_t36 > MIDI > Basic" example sketch, I had to remove the references to keyboards to get the MIDI part working. I'm not sure why, but the MIDI parts started working once I did. I'm also attempting to use PlatformIO instead of...
  30. impcc

    USB Host Library MIDI hanging

    Oh, don't worry. My sketch is literally just "receive midi message, blink LED" at this point. Thank you very much for your help!
  31. impcc

    USB Host Library MIDI hanging

    It looks like this is related to the problem I'm having: I have a Teensy 4.1 and am trying to use a USB-MIDI keyboard as INPUT to the Teensy 4.1 using the USB host header and connector. I also don't see +5V on the USB host header; not sure if that's expected or not. I've never had the MIDI...
  32. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    So, I switched to using the Arduino stack on PlatformIO, and I can't say it's been a breeze, but at least I got it to work. The Arduino IDE is such hot garbage that I'll deal with PlatformIO's difficulties, but man oh man could this have been easier.
  33. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    So, I think I found at least part of the problem: The microUSB jack on my Teensy appears to be flaky. I have to kinda wiggle it around just so to get it to power up at all. I guess I'll look into that next. Edit: Well I'll be! I tried a different cable and it worked much more reliably. It's...
  34. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    The PlatformIO Zephyr support supposedly wraps/hides the whole Cmake/Ninja part of it from you (which, frankly, having suffered in the Cmake/Ninja mines before, is pretty much a pre-requisite to me.) The conclusion I'm coming to is that Zephyr is still a pretty niche stack, and that I should...
  35. impcc

    Teensy 4.1 w/ Zephyr, VSCode, and PlatformIO HOWTO?

    Hi all, I have been trying for multiple days now to get up and running with VSCode, Zephyr, and my recently delivered Teensy 4.1, but I've not been able to even get to "Hello, World!" Does anyone have any recommended links for getting up and running with this combo? I've got 20+ years of...
Back
Top