Search results

  1. KenHahn

    Adding a Schottky across solder jumper on Teensy4.1

    I use a SOD-523 / SC-79 package style which is pretty small, but fits nicely on the pads. I normally still mount it at an angle to ensure good clearance for the pins. If you are connecting both VIN and USB power without the mod, you are directly connecting the 5V USB power on your computer...
  2. KenHahn

    Level Shifting for HD108 and SK9822 LED Strips (And Older APA102, HD107)

    If you are still looking for a level shifting solution, this SN74LVC4245A based breakout module would work for you. https://protosupplies.com/product/hi-speed-8-ch-logic-level-converter-module/
  3. KenHahn

    What can an UNO do that a Teensy 4.0 can not?

    It does technically violate the NXP spec, but we have seen no issues at that speed and as @defragster mentioned the speed increase seems pretty linear when running benchmarks. This is on a baseboard with 6-8cm SPI traces and 56 ohm series resistors on CLK and MOSI. A breadboard setup would...
  4. KenHahn

    What are the common reasons for Teensy 4.1 flash memory chip failure?

    In the shipment that I received, there are a number of slightly different batch numbers . I don't have the bag from the exact failed unit, but all the batch numbers appear to be around 179878, 17881, 17882
  5. KenHahn

    What are the common reasons for Teensy 4.1 flash memory chip failure?

    I had my first out of bag failure a couple of weeks ago. Crystal not working. Inspecting under a microscope did not show any obvious solder issues or contamination around the crystal. I used flux and reflowed the solder with a soldering iron and then cleaned the board and that fixed it same...
  6. KenHahn

    What can an UNO do that a Teensy 4.0 can not?

    I'm not sure why that is in there. Prints "ST7796_t3::init mode: 0". Maybe debug code that got left in? void ST7796_t3::init(uint16_t width, uint16_t height, uint8_t mode) { Serial.printf("ST7796_t3::init mode: %x\n", mode);
  7. KenHahn

    What can an UNO do that a Teensy 4.0 can not?

    Good to know. Something that trips everyone up the first time with this LCD is is that you have to invert the colors or they will be wonky. tft.init(320, 480); tft.invertDisplay(true);
  8. KenHahn

    What can an UNO do that a Teensy 4.0 can not?

    I have both resets both pulled HIGH through pullups and have never seen an issue after a lot of testing. If you do want to toggle them, I would expect that you could connect both together on the same line. Here is how I have it connected.
  9. KenHahn

    What can an UNO do that a Teensy 4.0 can not?

    As far as I have been able to determine, these all appear to be built at the same factory and they all come with pins preinstalled. You can find quite a bit of misc info on these display on the LCDWiki site which you might find useful if you haven't seen it...
  10. KenHahn

    What can an UNO do that a Teensy 4.0 can not?

    The one I sell has a 74LVC245 high-speed buffer chip which we have run the SPI at 80MHz to the display, so the SD should work with Teensy from that standpoint, but I haven't tried it. The one from Amazon does appear to be the same display. A little more info about that ST7796 display can be...
  11. KenHahn

    SPI data via DMA corrupt

    One thing that is different between your setups are the SPI signal routing and wire lengths. Your signals looks clean, so this may not be your issue, but I am wondering if you are using series dampening resistors (50-100ohm) on the SPI CLK and MOSI lines near the Teensy as they don't show in...
  12. KenHahn

    State of STxxxx and ILIxxxx libraries?

    The ST7796 is indeed a nice upgrade over the ILI9341. You get much better viewing angles, better color, higher resolution, faster SPI speed (up to 80MHz in my testing) and capacitive touch that doesn't require calibration. Teensyduino now directly supports the ST7796 as of the latest 1.60...
  13. KenHahn

    HELP: Cutting VIN from VUSB killed brand new Teensy 4.0

    Besides the possible wiring issue, also keep in mind that the maximum voltage on the VIN pin is 5.5V. You cannot directly connect 6V. If you want to use the 6V battery, connect a silicon diode in series between the 6V battery and the VIN pin to drop it down to a safe level.
  14. KenHahn

    Additional PSRAM ID that works plus goodies

    I have been using 120MHz in all the chip testing I do lately to gain confidence that the new 16MB parts can all handle it. That does seem to be about the max speed that they are happy at when using 2 chips. With 1 chip, it tested OK up to 144MHz and had it fail at 166MHz. With a Flash chip...
  15. KenHahn

    Overclocking the Teensy 4.x - Ultimate Thread

    Thanks for sharing @beermat. You weren't kidding about kitchen sink app! Quite the snappy graphics, is that the 7" RA8889 from BuyDisplay? Besides CPU clock, it looks like you are pushing all the boundaries. I don't think I have successfully run PSRAM past 166MHz, but that was at 600MHz...
  16. KenHahn

    Overclocking the Teensy 4.x - Ultimate Thread

    Here is my current testing platform. It is a Teensy 4.1NE on my Prototyping System for Teensy 4.1 baseboard. CPU Speed = 1.008GHz CPU speed is set through IDE. Setting in code using set_arm_clock(1008000000); gave intermittent results and occasional boot loops during startup. Heatsink =...
  17. KenHahn

    Overclocking the Teensy 4.x - Ultimate Thread

    Teensy 4.x is still the fastest microcontroller module readily available and many people use it primarily for that reason, but it can potentially be even faster if overclocking (OC) is used. Whenever OC is discussed, it is usually a sidebar to some other discussion. I have created this thread...
  18. KenHahn

    CAD for Breadboard and PCB - Help getting organized!

    For wiring a semi-permanent breadboard setup, I recommend using the U-shaped jumpers like shown below that lay close to the board. The wire is heavier duty 22AWG and provides more solid connections. While a little more trouble to initially install than the regular breadboard jumpers that...
  19. KenHahn

    PCB : need advice(s)

    Yes, you would need to add a wire if you don't use a resistor in order to complete the circuit. If you are connecting jumpers to the SPI bus, I would definitely add the resistors to be safe and they won't hurt anything. DRC errors are usually fairly easy to resolve. You need to take a close...
  20. KenHahn

    PCB : need advice(s)

    With larger setups like this, it is usually easiest to create a PCB rather than trying to breadboard stuff. That is especially true when working with the Audio Adapter that can be picky about wiring layout. It is pretty hard to make out your layout, but I have a few suggestions. In general...
  21. KenHahn

    Teensy 4.1 PSRAM and flash

    I personally wouldn't trust the Adafruit parts with the labeling sanded off. There have been some reported issues with these parts and not just on this thread. Looks like you are probably in the UK. I recommend these APS6404L-3SQR 8MB parts from Mouser. They are the most thoroughly tested...
  22. KenHahn

    Brainstorming possible causes of Ethernet link loss

    The magjacks used with the Ethernet module have a 1000pf capacitor as well as a 75 ohm resistor in series between the cable ground and the Teensy ground. This includes both the Cetus J1B1211 and the Link-PP JPJ4012AHNL. Paul's example schematic doesn't show that cap for some reason. Here is...
  23. KenHahn

    Overclocking The Teensy 4.1 and Teensy 4.0

    3214 was the number of CoreMark iterations that had run so far, not the measured CoreMark speed. With compiler set for 'Faster' and running Paul's original version of CoreMark I got CoreMark 1.0 : 4043.67 / GCC11.3.1 20220712 (flags unknown) / STACK I did also compile at 'Fastest' and the...
  24. KenHahn

    Overclocking The Teensy 4.1 and Teensy 4.0

    @jmarsh that's a good thought, I'll add that. I do have some small FRAM parts laying around that I have been looking for an excuse to play with - Cypress FM24CL16B-GTR. Maybe I'll solder one up and add some sort of logging feature as well since elapsedMillis will roll over on occasion...
  25. KenHahn

    Overclocking The Teensy 4.1 and Teensy 4.0

    @defragster after I took that picture and got the initial readings, I decided to add the VUSB and VBAT headers which also connected to the baseboard to see if it made any additional difference in thermals. Surprisingly, adding those had no effect and the temperature equalized at the exact same...
  26. KenHahn

    Overclocking The Teensy 4.1 and Teensy 4.0

    With all the discussion around overclocking and CoreMark recently, I have set up a long-term test operating the Teensy 4.1 at the maximum 1.008GHz clock. It is running CoreMark in an infinite loop which should be fairly stressful, though it isn't doing much with I/O other than updating an LCD...
  27. KenHahn

    Here is a sixth beta test for Teensyduino 1.60

    Windows 11 with Chrome. Installed 1.8.x version. Had to give usual permission to go ahead and install to get past Defender. Sees PJRC as publisher
  28. KenHahn

    Coremark

    I noticed a lot of the results are with overclocking enabled. As another data point, a couple years ago I ran CoreMark in an infinite loop on Teensy 4.1 running overclocked at 1.008GHz to conduct thermal stress testing using a heatsink with active cooling. It came in at 3887. Just ran it...
  29. KenHahn

    Teensy4.1: How to use as sub-board and access USB device

    The POGO pins shown above in the picture with the low profile headers are 7.5mm tall. They are individual small pins and a little tricky to install for that reason. I use a fixture, but you can also put the POGO pins in the board after the sockets are installed and use the Teensy to hold them...
  30. KenHahn

    open-source teensy-compatible - what features do you want?

    I wasn't going to post on this thread, but I do want to clarify a statement that is causing some confusion for my customers which is "sparkfun is now the exclusive maker and seller". That is technically true, just as it was true that PJRC was the exclusive maker and seller before and could...
  31. KenHahn

    VUSB/D+/D- pads question Teensy 4.1

    The Teensy 4.1 does not implement any additional protection components on the Micro-B USB. The signals connect directly from the connector to the processor. I am also not aware of anyone reporting electrical damage to a Teensy via the USB connection. When I did a baseboard with a remotely...
  32. KenHahn

    VUSB/D+/D- pads question Teensy 4.1

    Your wiring setup sounds fine to me. You can route the power to either the VUSB or 5V pin if the trace between them is still intact and you are powering the setup only from USB. The Teensy includes a 2.2uF cap on the power pins. The maximum capacitance per the USB spec is 10uF to keep...
  33. KenHahn

    VUSB/D+/D- pads question Teensy 4.1

    USB-C has a couple of pulldown resistors on the slave end that allow the host to detect that a slave device has been attached before it will supply power. As a guess, perhaps the adapter cable had these resistors molded into the Micro-B end which has now been cut off so the host doesn't see a...
  34. KenHahn

    Teensy 4.1 PSRAM and flash

    Sounds like good sleuthing on your part. An increase in current could indicate that the chip is going into latch-up. If that happens it would probably get warm or hot due to the increased current flow. If it doesn't destroy the chip, that condition can only be cleared by a power cycle. If...
  35. KenHahn

    Teensy 4.1 PSRAM and flash

    I let my test (p#21) run for 3 hours with no failure, so shut it down. The only legitimate reason to sand chips is to make it harder to reverse engineer an assembly once they are installed. Perhaps they were ESP chips sanded in preparation for a project that got canceled and then sold off as...
  36. KenHahn

    Teensy 4.1 PSRAM and flash

    I am running your test in post #20 on a setup with an 8MB PSRAM and the same Flash as you have. It has been running for 45 minutes so far without any issue. I'll let it run for awhile to see if anything shows up. The PSRAM that Adafruit sells through Digikey are listed as 'generic' PSRAM...
  37. KenHahn

    Additional PSRAM ID that works plus goodies

    I delayed as long as I could! @h4yn0nnym0u5e and @jmarsh were working on the prefetch stuff as noted above starting in post #127 and captured in https://github.com/PaulStoffregen/cores/pull/708. Prefetch is a nice speed improvement, but the 16MB parts require some extra hand-holding which...
  38. KenHahn

    Additional PSRAM ID that works plus goodies

    After a number of frustrating delays, these 16MB PSRAM parts are finally available. The chip mfr had to do a chip run to complete the order which took longer than they originally planned. ProtoSupplies.com will add these as additional order options to our various custom versions of the Teensy...
  39. KenHahn

    Teensy 4.1 PSRAM and flash

    Are you running the QSPI bus at the default speed set by Teensyduino or are you running it faster?
  40. KenHahn

    libstdc++ exception handling (__verbose_terminate_handler) causing bloat in output binary

    @defragster - if you want a large test case / challenge, you could try using it with the AudioPlatform software. I think Donald said it was getting close to running out of RAM
  41. KenHahn

    Teensy 4.1 as USB MIDI host

    No light on the keyboard usually means no power on the USB Host port which means the myusb.begin(); has not been executed or there is a wiring issue on the USB Host port I just ran your code in the IDE and plugged in a MIDI keyboard and it powers up and initializes OK and I get serial commands...
  42. KenHahn

    TeensyUserInterface update to support ST7796

    @mjs513 I'm impressed! With the Uno Q hitting everyone's doorstep I figured this would be lost in the shuffle for quite awhile, so thanks for pushing a release out. i will definitely be checking it out and I think it will prove to be a pretty useful tool.
  43. KenHahn

    SparkFun To Manufacture Teensy

    My last order came in pink poly as well. Besides inadequate ESD protection, the oversized thin poly bags also don't protect as well from physical damage. The fact that the bags are preprinted makes me think it may be a permanent change unfortunately. I sent a note to SparkFun customer service...
  44. KenHahn

    TeensyUserInterface update to support ST7796

    Checking in to see if there is a plan to eventually roll this new slider functionality into the TeensyUserInterface library?
  45. KenHahn

    Teensy Oscilloscope

    This link might give you some ideas: https://github.com/Rob65/TeensyScope
  46. KenHahn

    Teensy 4.1 and 512Mbit PSRAM

    The current 8MB PSRAM with 2 installed can work OK with the QSPI bus cranked up to 166.2MHz. There are 16MB PSRAM chips becoming available soon for a total of 32MB/256Mb, but they are limited to about 120MHz with 2 on the QSPI bus for a theoretical 480Mb/sec. Don't know what the realistic...
  47. KenHahn

    SparkFun To Manufacture Teensy

    Pink poly does not provide adequate protection. There was a note on the SparkFun website a few days ago about shipping in different packaging, but that note seems to be gone now. Hopefully it was just a temporary packaging issue and they are back to using the normal ESD bags.
  48. KenHahn

    Assistance Needed

    You have signals on both sides of the level shifters labeled the same. That will cause EasyEDA to connect them together on the PCB. Use different names like BUS0 and BUS0_5V to separate the 3V bus from the 5V bus.
  49. KenHahn

    Ensuring 5v stepped down to 3v3 for sync in on drum machine

    The buffer will work OK as long as the Vcc pin is connected to 3.3V. That is unclear from the schematic. It will then accept 5V or 3.3V input and convert to 3.3V to the Teensy. The 0.1uF cap placed between and close to the power and ground pins on ICs is always a good idea. It is one of...
  50. KenHahn

    TeensyUserInterface update to support ST7796

    Can confirm that all the changes worked as advertised. You guys are fast! Sorry, this was just poor verbiage on my part. The font size does change, I meant the issue remained independent of the font size used. I personally find the sliders a little easier to use if I increase the time...
Back
Top