Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: PaulStoffregen

Page 1 of 10 1 2 3 4

Search: Search took 0.14 seconds.

  1. Thanks for testing. I really should have done...

    Thanks for testing. I really should have done this weeks ago, but at least now this serial monitor issue is finally fixed. But I still need to work on the new toolchain for MacOS and the lesser...
  2. I left the serial monitor panel open every time I...

    I left the serial monitor panel open every time I clicked Upload (using the small test program) and I was not able to reproduce this problem after a few dozen tries.

    If you give me a complete...
  3. void setup() { pinMode(13, OUTPUT); ...

    void setup() {
    pinMode(13, OUTPUT);
    Serial.begin(9600); // not needed
    Serial.println("Begin");
    }

    void loop() {
    static unsigned int count = 0;
    Serial.print("count = ");
    ...
  4. I tried dozens of uploads with Arduino 2.0.2 and...

    I tried dozens of uploads with Arduino 2.0.2 and a simple program. Could not get any behavior where the Upload button remains grayed out.

    29802

    Clicking either Verify or Upload causes the...
  5. Ok, I believe I have a fix for this problem on...

    Ok, I believe I have a fix for this problem on Windows. If anyone is still watching this thread, please give this teensy-monitor.exe a try. Does it fully solve the problem on your machine?

    On my...
  6. Replies
    2
    Views
    37

    First, check File > Prefs. The URL needs to be...

    First, check File > Prefs. The URL needs to be this:

    https://www.pjrc.com/teensy/package_teensy_index.json

    If it has "156", delete the old URL and use this one.

    Then in the Boards Manager,...
  7. Looking at this issue again today. Can confirm,...

    Looking at this issue again today. Can confirm, reproducible with Arduino 2.0.2 on Windows. Can't reproduce it on Linux. Haven't tried MacOS yet.

    29800
  8. Replies
    5
    Views
    131

    Those are the digital audio pins.

    Those are the digital audio pins.
  9. Yup, it was a bug in the USB MIDI code affecting...

    Yup, it was a bug in the USB MIDI code affecting transmit when running at 12 Mbit/sec speed.

    I've committed a fix on github.
    ...
  10. That's really a question about the cheap USB...

    That's really a question about the cheap USB isolator product, which PJRC does not make or sell.

    On this Amazon product page the product description says "The product onboard power supply Sunrise...
  11. Replies
    3
    Views
    132

    Very unlikely any Teensy 4.1 with the original A...

    Very unlikely any Teensy 4.1 with the original A chip are still being sold. Teensy 4.1 completely ran out of stock from May to July 2021 before the first batch with new B chips. Since then, stock...
  12. Replies
    3
    Views
    132

    No, there is no warranty replacement for simply...

    No, there is no warranty replacement for simply having the earlier version of the hardware (which is also well over 1 year old now).

    Have you actually encountered problems from either of those...
  13. Replies
    3
    Views
    105

    Are you using the USB host port on Teensy 3.6? ...

    Are you using the USB host port on Teensy 3.6? That's the main feature you don't get with Teensy 3.5. Those pins become just 2 more analog inputs on Teensy 3.5.

    Also check how much of the...
  14. Ah, but perhaps there is a software bug impacting...

    Ah, but perhaps there is a software bug impacting USB MIDI when running at 12 Mbit speed. I've added it to my list of issues to investigate.
  15. Maybe this thread can help? ...

    Maybe this thread can help?

    https://forum.pjrc.com/threads/71472-Customize-the-Teensy-Loader-and-using-the-LPUART-to-load-the-code?p=315644&viewfull=1#post315644

    I specifically tested ADUM3160....
  16. Replies
    13
    Views
    1,660

    Just in the last couple days I've spent way more...

    Just in the last couple days I've spent way more time than I wanted on voltage regulators.

    Even made this test on my workbench, since some of them have less than reliable info...

    29793
  17. In many of its modes, Teensy uses HID protocol...

    In many of its modes, Teensy uses HID protocol rather than Serial. MIDI, Audio, and MTP (all without being Serial) are also possible.

    If you are used to Arduino boards which always uses Serial...
  18. If the LED anode is connected to 3.3V and the...

    If the LED anode is connected to 3.3V and the resistors connected to the cathode, so logic low turns on the LED, you could use pinMode OUTPUT_OPENDRAIN to avoid any conflict.

    But the conflict...
  19. Replies
    34
    Views
    5,785

    Teensy 4.0 is shipping again. Many went out...

    Teensy 4.0 is shipping again. Many went out today, and we even managed to ship some over the weekend.

    Most of them are still in production. We'll get more each week out of production and into...
  20. Replies
    2
    Views
    112

    Yikes, that's hot. Definitely not normal for...

    Yikes, that's hot. Definitely not normal for free air convention cooling, but if tightly wrapped in an insulator, could happen.

    Try reducing the speed in Tools > CPU Speed. If you can run at...
  21. Every time I write code for those timers (and...

    Every time I write code for those timers (and must admit, it's been quite a while) I keep the reference manual open on my screen right next to the code window. With some registers you write a 1 bit,...
  22. As far as I know, nobody has done much...

    As far as I know, nobody has done much benchmarking on USB host serial driver speed, so the only info available would be guesswork.

    My guess is software overhead inside USBHost_t36 probably limits...
  23. Have you tried the easiest, but not necessarily...

    Have you tried the easiest, but not necessarily most efficient way, of just connecting a wire from XLAT/BLANK to another pin and then use attachInterrupt() on that pin?
  24. Yes, you can do this with 2 resistors. Just try...

    Yes, you can do this with 2 resistors. Just try to avoid driving the pins to opposite outputs. If each pin has its own resistor, the hardware should be fine, but it does waste power.
  25. Which Teensy are you using? I believe all of...

    Which Teensy are you using?

    I believe all of them work with the Tlc5940 library. Support for Teensy 4.0 & 4.1 was added fairly recently, so make sure you have version 1.57 installed.
  26. Are you using MacOS, Windows or Linux? Which...

    Are you using MacOS, Windows or Linux? Which version? Are you running directly on real hardware, or inside a virtual machine?
  27. As for what went wrong that killed your hardware,...

    As for what went wrong that killed your hardware, I don't know and really can't know from only this info.

    I can say the thing we've seen over and over that instantly kills a Teensy 4 is...
  28. I believe the beta test Defragster mentioned was...

    I believe the beta test Defragster mentioned was the period from December 2018 to August 2019, before Teensy 4.0 was released.

    The first ~6 months were before NXP released the RT1062 chip, so we...
  29. Confirm, on Teensy 4.0 the PIT timer has only a...

    Confirm, on Teensy 4.0 the PIT timer has only a single interrupt slot, so all 4 timers get the same priority. It is a hardware limitation.

    With older Teensy 3.x the timers did have separate...
  30. I'll try to do something with an upcoming beta. ...

    I'll try to do something with an upcoming beta. Hopefully you can keep that problematic Lenovo S30 around for testing? Since I have no way to reproduce the problem here, I'm going to be depending...
  31. Replies
    3
    Views
    298

    We *were* selling Teensy 3.5 at $29.45 (usd) but...

    We *were* selling Teensy 3.5 at $29.45 (usd) but stock ran out. Some are still in the shipping queue or still in transit to distributors, but those are (probably) the very last Teensy 3.5 for quite...
  32. Replies
    6
    Views
    449

    Looks like I can move C17. It's not much, but...

    Looks like I can move C17. It's not much, but the distance from C29 has always been so close than even a small change can make an improvement, which hopefully will make solder bridging less likely....
  33. Replies
    6
    Views
    449

    Unfortunately the bottom side parts placement is...

    Unfortunately the bottom side parts placement is tightly constrained by many factors on the other 5 PCB layers.

    C29, C24, C18 have critically important placement to minimize the loop area where...
  34. Replies
    2
    Views
    105

    Get the "Windows Serial Installer" from this...

    Get the "Windows Serial Installer" from this download page:

    https://www.pjrc.com/teensy/td_download.html

    Or you can run the Teensyduino installer. It has this as one of its first steps.
  35. In a nice & convenient tightly integrated way,...

    In a nice & convenient tightly integrated way, no, not really.

    But if you can configure their IDE to output in .HEX format (not .BIN), you can just run Teensy Loader and use File > Open to open...
  36. The guidance on the website was written in the...

    The guidance on the website was written in the days of 16 MHz Teensy 2.0. With the timer clocking at 16 MHz, measuring a 10 kHz signal would give you 1600 timer counts. Or in other words, the error...
  37. Replies
    51
    Views
    5,253

    Sticky: For Arduino 2.0.x, you don't run the installer. ...

    For Arduino 2.0.x, you don't run the installer. Instead you add a URL with File > Prefs, then use Boards Manager.

    Details here:
    https://www.pjrc.com/arduino-ide-2-0-0-teensy-support/
  38. The Arduino tone() function is by far the...

    The Arduino tone() function is by far the simplest way.

    Here is Arduino's documentation. All Teensy models support this.
    ...
  39. I added a link to this thread from the T4...

    I added a link to this thread from the T4 bootloader page.
  40. You could do this many possible ways, but these...

    You could do this many possible ways, but these are probably the most likely, in order of increasing difficulty.

    1: Edit the core library files for pinMode(), digitalWrite(), digitalRead()

    2:...
  41. Replies
    9
    Views
    505

    By itself (if you solder a thumbwheel pot), it...

    By itself (if you solder a thumbwheel pot), it doesn't. It's just an analog input.

    To implement volume control, software needs to repeatedly read the analog input and adjust the volume by...
  42. Opps, well that's embarrassing! That web page...

    Opps, well that's embarrassing! That web page has shown slightly wrong syntax all these years. I've updated it just now.

    In C++ the init list syntax can only be used where the constructor is...
  43. There is no github repo with boards.txt and...

    There is no github repo with boards.txt and platform.txt.




    Can confirm both of those suspicions to be true.
  44. This form allows images. Click the "insert...

    This form allows images. Click the "insert image" button in the editor toolbar. Images need to be under 1280 pixels, so make sure to trim away excess so only the important info is shown.
    ...
  45. Can you also show the program you created on...

    Can you also show the program you created on Windows which works?

    In other words, there may be a "simple" error or misunderstanding you've overlooked that makes your program do something...
  46. I did not read that commented part, because it...

    I did not read that commented part, because it was commented out.

    Can you show the correct binary data Windows sends? (here on this forum, not google drive)
  47. Looks like the very first time loop() runs, it...

    Looks like the very first time loop() runs, it will send the request.

    There seems to be nothing in your program to assure that USB_serial.begin(baud, format ); happens before you use...
  48. Ok, I've just re-read all 57 messages of this...

    Ok, I've just re-read all 57 messages of this thread.

    Just to recap and make sure I understand (and to help bring anyone else up to speed without reading all 57 messages), it seems you bought a...
  49. FreqMeasure does exactly the thing you asked. ...

    FreqMeasure does exactly the thing you asked. The example program averages 30 readings together and converts raw data to frequency as floating point. But if you delete that averaging and...
  50. Replies
    13
    Views
    1,660

    Yup, supply chain problems are tough for everyone...

    Yup, supply chain problems are tough for everyone this year, even Google.

    The fact that PJRC has shipped any Teensy 4.0 & 4.1 in 2022 is a result of an pretty incredible amount of mostly invisible...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4