Search results

  1. E

    T4.1 Ethernet Library

    In the UdpNtpClient example "time.nist.gov" is used as the address. Often the resolving of the name fails. An alternative name that is more universal world wide is "pool.ntp.org". I almost never see a failure using it. Using the pool of NTP servers also spreads the load out much better. I also...
  2. E

    Teensy 4.0 and step stipcks hookup.

    Looks like they are clamping VCCIO to ground until VM is present. Could be nasty to some power supplies. I like my p-fet switch much better. Especially considering I'm also turning on the VS motor supply via an IO line from the Teensy. I also read lots of TMC docs and never saw anything on it so...
  3. E

    Teensy 4.0 and step stipcks hookup.

    Does anybody know if these issues also effect the TMC2209? I've integrated a few of them onto a PCB with all the rest of my needed circuits. I can see how to add circuits to deal with the issues. If possible I don't want to increase the BOM cost and the size of the PCB. I've added a p-fet...
  4. E

    Teensy Loader Ubuntu problem

    A new error message showed up just once today. It is not in any of my other syslogs for the past few days. I have not been able to get it to repeat. It was printed out after the Teensy 3.6 was reset into program mode for an automatic upload, but definitely well before the programming timeout ran...
  5. E

    Teensy Loader Ubuntu problem

    Real frustration... Removed ModemManager, no change. Removed cups, no change, but now my syslog fills with a few hundred colord messages every time I plug in or remove a USB device. ??? Why did removing cups break colord?
  6. E

    Teensy Loader Ubuntu problem

    As far as I know it is a real Teensy 3.6. I ran across that message when tracing down the dtr/rts error message in the kernel dmesg output.
  7. E

    Teensy Loader Ubuntu problem

    That pesky rts/cts error is where I'm at right now. I've been looking into how to disable modem control on the usb serial handling driver cdc_acm. Ideally with an option at module load. I don't know if it will fix it, Seams we aren't the only one with the issue. :mad: Stupid regression if this...
  8. E

    Teensy Loader Ubuntu problem

    I'm also getting bit by this. Same error messages. I must press the prog button for it to program the Teensy 3.6. System was loaded with Ubuntu 18.10 last December and kept up to date software wise. Exact same set of cables works fine using a Raspberry Pi running raspbian.
  9. E

    Teensy 4.0 (hypothetical) pin assignments

    I have multiple copies of the development environment installed on my linux box by having them under different user IDs. I need to do that because I'm working with three radically different controller boards that have conflicting setups in the development environment.
  10. E

    Fastled issue on Teensy 3.6

    I've been debugging as CFS, farming, time and thunderstorms have allowed. Some long tests got stopped by power outages. The halting of the serial IO is the same issue as in the Lockups with FastLED & TeensyThreads thread so I'm taking the lockups diagnosis there...
  11. E

    Lockups with FastLED & TeensyThreads

    Lockups of the serial IO become more likely to happen when I use threads.delay() than when just using threads.yield(). I think a long interrupt happening at the right time can do it too, but I haven't tested extending interrupt handler execution times yet. FastLED.show() is stopping during it's...
  12. E

    WS2811 LEDs don’t work with 5V power supply

    That is the absolute maximum allowable range for voltages going into the input IO pin. This is important for circuits for protecting the IO pin from voltages outside that range, like in an ESD discharge. It isn't what will work for actually communicating data to the chip. For that you need to...
  13. E

    Lockups with FastLED & TeensyThreads

    See post #16 in: https://forum.pjrc.com/threads/53800-Fastled-issue-on-Teensy-3-6 Also see: Thread on the perils of unaligned word access across memory bank boundary: https://forum.pjrc.com/threads/45489-A-dangerous-Teensy-3-6-quirk
  14. E

    Fastled issue on Teensy 3.6

    I looked into possible timing issues in FastLED as I waited for crashes. On a Teensy 3.6 does this need to be enabled for the hardware SPI, and disabled for bit banged SPI? in fastspi.h #if defined(FASTLED_TEENSY3) && (F_CPU > 48000000) #define DATA_RATE_MHZ(X) (((48000000L / 1000000L) / X))...
  15. E

    Fastled issue on Teensy 3.6

    Those are the ones that were added to my file when I told the IDE I wanted to use the FastLED library. Yeah, I thought it was a bit much too.
  16. E

    Fastled issue on Teensy 3.6

    I took some oscilloscope pictures last night. Daytime shots had to many reflections, and the traces weren't visible for SCI1 images. SCI0 was on channel 1, and SCI1 on channel 2. Channel 2 doesn't get a text tag in the lower left side. SCI1 @ DATA_RATE_MHZ(4), 4MHz. I couldn't get a stable lock...
  17. E

    Fastled issue on Teensy 3.6

    I'm going to chock this down to a hardware issue for SPI0. The broken pin on my driver chip was the VCC power one. That meant the incoming signal to the first APA102 wasn't very well formed. It propagated that and timing got off fast. 8MHz was the limit. Now that I have a good solid drive...
  18. E

    Fastled issue on Teensy 3.6

    Using library FastLED at version 3.1.8 in folder: /home/pi/software/arduino/arduino-1.8.5/hardware/teensy/avr/libraries/FastLED Some extra variables and library calls remain, but heavily trimmed down. #include <fastspi_nop.h> #include <cpp_compat.h> #include <fastled_config.h> #include...
  19. E

    Fastled issue on Teensy 3.6

    Code in this https://forum.pjrc.com/threads/53008-Lockups-with-FastLED-amp-TeensyThreads thread, but tied into issues with TeensyThreads library lockups. In my current development code I moved the show call into it's own thread and have nothing done in the main loop. It seams to be stable now...
  20. E

    Fastled issue on Teensy 3.6

    I guess I should mention that from my 12 AWG supply wires, I have 100uF electrolytic capacitors and connections at the density of every 10 LEDs over to the +5V and ground on the strips on one prototype. It didn't allow me to clock data into my APA102 LED strips any faster. The only way I've...
  21. E

    Fastled issue on Teensy 3.6

    Could be that or the infamous APA102 timing issue that means longer strips have to be run at slower data rates. Just slow this down DATA_RATE_MHZ(8) until it works reliably. I have a 20 Amp medical grade DC to DC converter with 12 AWG wires with plenty of bulk capacitance supplying my strips...
  22. E

    Fastled issue on Teensy 3.6

    pin 14 is an alternate for SCK0 so is fine. The card that comes with the 3.6 shows it and other alternates. I have a system setup with both MOSI0 on pin 11 & SCK0 on pin 14, and MOSI1 on pin 0 & SCK1 on pin 32 running without hitch. Defines and variables. #define numleds 288 #define...
  23. E

    Teensy 4.0 (hypothetical) pin assignments

    I've only skimmed through this article at DigiKey. It is primarily on USB 3.1 power capabilities and implementing them with a USB-C connector, up to 20V at 5 Amps is possible. It just touches on the battery charging of USB 2.1. Limiting to 5V it is 1.5 Amps or 3 Amps depending on the connector...
  24. E

    Cooking a Teensy 2.0

    Use a powered USB hub so you don't blow the port on the PC if it isn't fixed.
  25. E

    Repairing a WS2812

    In order to get an idea what needs to be done, I'd need a closeup of an LED to see what chip package type it is. That effects the best methods for removal. There are people over at the EEVblog forum that can help you much better than I can. Link in my previous post. A Louis Rossmann video on...
  26. E

    WS2812 + Octo + capacitor?

    The capacitors are there to absorb spikes generated during switching on and off of gates, LEDs, etc. Also a big bulk capacitor will absorb the bigger spike when you turn the string off. I have 100uF electrolytic plus .1uf ceramic caps at the ends of all the APA102 strings of LEDs I use. In...
  27. E

    Microsecond Level Synced Clock

    Sorry, still no code that will run out of the box. If you have questions about how the parts integrate in to the missing code and the variables I may have left out, ask. Because of my CFS, I don't have the time to spend separating out the relevant code properly and do everything else I need to...
  28. E

    Microsecond Level Synced Clock

    I'm currently away from my development computer and the code which they are part of. So just some notes that elaborate on the interrupt routines and how they are tied into my code. As said, this is a work in progress. I didn't mention that it is a new part of the code I use to animate...
  29. E

    My wish list teensy

    This is the type of on/off I'd like to see. I usually see it implemented as press to turn on. Short press to turn off by normal software control, long press to force off now. Yep, I remembered reading about some support for power control and wakeup: For the T4 MCU it seams there is much much...
  30. E

    Teensy 4.0 (hypothetical) pin assignments

    That sucks. I know ways around it, but they all make the PCB cost more, and I don't see that being done. I very likely wouldn't make the decision to add that much cost to the PCB.
  31. E

    Repairing a WS2812

    I'm no expert either, but I at least know many of the issues and were to look. Also soldering is so second nature to me and I don't think of how to do it. I've been doing it since I was 8. PS, buy the high quality solder and flux. A good modern temperature controlled soldering iron also help...
  32. E

    Teensy 4.0 (hypothetical) pin assignments

    The more I read on FlexIO and XBAR the more mushy my brain gets, but they look very interesting. I already can see where they would provide low level hardware support for coordinated motion control in a robot or 3D printer even if you have more degrees of freedom than one MCU can handle. I do...
  33. E

    Repairing a WS2812

    It's basic SMD rework, but the chip may be highly water absorbent so it may need baking out first if hot air is used. Some of the suppliers also use low melting point plastics which means temperature control is vital. I've chip replaced APA102s. I use two soldering irons with wide tips so I...
  34. E

    Maximum Number of Touch Pads/Latency

    I made a mistake on the number of columns. There are 13, labeled S0 to S12. S is likely for scan. This keyboard uses a Toshiba 4044 CMOS R/S latch for it's capacitive sensor. ON semiconductor makes one with similar specs that may be a possible substitute. I've probed the circuit out. Should't...
  35. E

    Microsecond Level Synced Clock

    These are the interrupt service routines I use to quickly slew the Teensy RTC to the PPS from the GPS's PPS output, then gather the data for calculating fine grained rtc adjustments for various temperatures. I included the arrays I use for storing the captured time & temperature data. You can...
  36. E

    Maximum Number of Touch Pads/Latency

    I have a small format keyboard I love that has the old large diameter DIN connector. After many years of use the keys still have excellent action because I changed the rubber membrane with small springs at each key. I'm tempted to now change the controller in it and make it a USB keyboard I can...
  37. E

    Teensy Specific #define and Their Use?

    Thanks! Lots of good stuff linked to in that thread. I must not have used the right search terms.
  38. E

    Teensy Specific #define and Their Use?

    I'm wondering what all the Teensy 3.X specific #defines are. I want to modify a few libraries that I use for multiple different development boards and processors, and not have to maintain multiple copies. A listing of them on a reference web page would be a nice resource for developers.
  39. E

    Program stops when it encounters FastLED.show()

    My suggestion would be to back out the changes to the FastLED library one by one until it works again. Edit: It may also be in any other library used that changed over that time period. I ran into an issue with FestLED.show() failing when it was in the main loop() with threads running. It is...
  40. E

    hardware failure

    is any chip, resistor, etc on the pcb getting hot to the touch?
  41. E

    teensy 4 pad traces

    When I solder wires to the pads, I use slightly longer wires so the wires to the holes hopefully are the ones that take up any load, unless a specific wire is pulled. What I really think would be a good idea for the Teensy 4 is to have at least one 32bit word wide port with control lines where...
  42. E

    How do I get to OctoWS2811.h on Linux/Arduino ISP to run Basic?

    You can also store data on a SD card and play it from there. Generally it will need to be raw data, not compressed. Unless it is a very simple and fast decompression to apply.
  43. E

    Supercap for RTC?

    I've only recently done it for a Teensy 3.6, but haven't tested how long it will maintain the RTC. I originally did it for a DS3231, and would get 4 to 7 days with temp corrections, and a bunch more without. I'm using a 1F super cap with it's positive terminal tied to the Vbat. Between the...
  44. E

    Lockups with FastLED & TeensyThreads

    OK, I now have 10 additional LEDs hooked up to IO lines. Relax, I used a 74HC04 hex inverter chip to drive 6 of them, with only 4 driven directly by IO pins, and they are driven at under 2mA. I can confirm all threads I start continue to work after the main loop lockup, and have continued to do...
  45. E

    Lockups with FastLED & TeensyThreads

    I'm experiencing intermittent lockups on a Teensy 3.6 when using FastLED and TeensyThreads libraries together. Sometimes it will lockup nearly immediately, and other times it can take 15 to 20 minutes. I have two threads that at this point just do some calculations. No IO yet. Eventually one...
Back
Top