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.11 seconds.

  1. Replies
    82
    Views
    11,258

    Just a quick update. I am hoping to begin a...

    Just a quick update. I am hoping to begin a "soft release" of the T4 bootloader chips next week, and a full release later in February.

    A "soft release" means we are going to limit the per-person...
  2. Replies
    19
    Views
    134

    Teensy Loader uses only HID protocol. It never...

    Teensy Loader uses only HID protocol. It never tries to access any serial ports.

    In the Arduino IDE, Teensy should appear twice in the Tools > Ports menu. If you select the "Teensy ports" entry,...
  3. Replies
    23
    Views
    275

    When no Teensy is connected in HID bootloader...

    When no Teensy is connected in HID bootloader mode, it already does exactly that, but with this message.

    23285

    And the teensy_reboot utility which Arduino uses to try to ask Teensy to go into...
  4. Replies
    23
    Views
    275

    Not really. But it can detect a lack of USB...

    Not really. But it can detect a lack of USB communication. I had originally planned for the red LED to blink slowly if the PC doesn't complete USB enumeration. It did in the early betas, but...
  5. Replies
    23
    Views
    275

    Does anything appear in the Verbose Info window...

    Does anything appear in the Verbose Info window when the red LED (near the USB connector) turns on? The 2 screenshots in msg #8 and #9 have none of the info indicating any USB communication...
  6. Replies
    23
    Views
    275

    Try Help > Verbose Info. You can copy & paste...

    Try Help > Verbose Info. You can copy & paste that info, or use the Log menu to save it to a file. Maybe showing that info will help us figure out what's going wrong.
  7. Replies
    23
    Views
    275

    Teensy Loader might also be configured for one of...

    Teensy Loader might also be configured for one of the smaller boards. Just press the button on Teensy to go into bootloader mode, so Teensy Loader can detect you have Teensy 4.1. Then open the HEX...
  8. Replies
    9
    Views
    169

    Any chance for a photo of it working? Always fun...

    Any chance for a photo of it working? Always fun to see lots of LEDs lit up! :D
  9. Replies
    4
    Views
    133

    Teensy 3.x only supports 12 Mbit USB device. ...

    Teensy 3.x only supports 12 Mbit USB device. Teensy 4.x supports 480 Mbit, but can also run at 12 Mbit, but that is very rare in these modern times. It's been about 20 years since PCs and USB hubs...
  10. Very difficult to say what's really going wrong...

    Very difficult to say what's really going wrong here. But with a quick look at the Teensy code, this looks like trouble:



    void loop() {
    // Buffer next command
    int count = 0;
    ...
  11. Replies
    32
    Views
    3,024

    Yeah, it still *feels* like 2020, which would put...

    Yeah, it still *feels* like 2020, which would put msg #32 six days into the future.
  12. Replies
    4
    Views
    133

    Only plausible if not using send_now(). ...

    Only plausible if not using send_now().




    Everything on the Teensy side software should happen in just a few microseconds. When you call send_now(), Teensy definitely isn't "holding on" to...
  13. Replies
    9
    Views
    169

    Looked very briefly at that library. Looks like...

    Looked very briefly at that library. Looks like the hardware SPI is hard-coded to only the main SPI port.

    For example, "SPI.begin()" at line 90:
    ...
  14. Replies
    9
    Views
    169

    I'm not familiar with that library. Is it this...

    I'm not familiar with that library. Is it this one? (from a quick search)

    https://github.com/MajicDesigns/MD_MAX72XX


    ps: forum messages are editable for only 2 hours, mostly as an anti-spam...
  15. Nope, no idea why. I tried to glance at your...

    Nope, no idea why. I tried to glance at your schematic, but the max image size the forum allows is too small. Maybe try attaching a PDF to your message? Click "Go Advanced" if you're in the "Quick...
  16. Replies
    2
    Views
    71

    The RTC hardware doesn't do that sort of thing...

    The RTC hardware doesn't do that sort of thing automatically. You need to use code to implement it.
  17. I tried running your test program on a very old...

    I tried running your test program on a very old Teensy 3.6 prototype with the LQFP chip. The DAC definitely works.

    23238
  18. Replies
    13
    Views
    213

    Just to take a step back and look at the "big...

    Just to take a step back and look at the "big picture" here, all of the problems you're likely to face are from the hardware running much too fast, rather than not fast enough. I know this may seem...
  19. Replies
    5
    Views
    112

    Probably a mistake or misunderstanding in the...

    Probably a mistake or misunderstanding in the wiring. We can probably help more if you show photos of how you really connected it. The best anyone can say is this hardware is definitely known to...
  20. Replies
    5
    Views
    272

    The Ethernet Pins & Socket are now live on the...

    The Ethernet Pins & Socket are now live on the website! :)

    https://www.pjrc.com/store/header_socket_3x2.html

    23223
  21. Replies
    5
    Views
    272

    I have some good news. Quite some time ago, PJRC...

    I have some good news. Quite some time ago, PJRC ordered a large batch custom length header pins for exactly this use. They finally arrived late last week. I've been reluctant to mention it until...
  22. No. This is the first I've heard from Chrome...

    No. This is the first I've heard from Chrome supporting serial without some sort of 3rd party extension.

    Does it work on Linux? My main desktop system is Ubuntu 18.04.

    How do I use it? Is...
  23. It's a shame 10/100 Magjack pinouts never...

    It's a shame 10/100 Magjack pinouts never followed any sort of standard. So many different & incompatible pinouts for exactly the same circuitry!
  24. FWIW, I just tested editing serial2.c in Arduino...

    FWIW, I just tested editing serial2.c in Arduino 1.8.13 with Teensyduino 1.54-beta5. I changed SERIAL2_TX_BUFFER_SIZE to 512. Indeed Serial2.availableForWrite() returns 511.

    I can't explain why...
  25. The latest core library code, which is currently...

    The latest core library code, which is currently only on github, supports addMemoryForWrite() on Teensy 3.x, thanks to Kurt!

    With this feature you no longer need to edit the core library. You can...
  26. Maybe initialize your pointer, so it can't be...

    Maybe initialize your pointer, so it can't be NULL at startup. So change this:



    Q *Qchip;

    Q DOC_output; // Queue for DOC

    to something like this:
  27. I'd recommend using PWMServo, and of course use...

    I'd recommend using PWMServo, and of course use only the PWM capable pins.

    To use 125 Hz, you'll probably need 2 edits. First, the easy one. Find this line:


    ...
  28. Hmmm, 16ms... let me guess, Microsoft Windows? ...

    Hmmm, 16ms... let me guess, Microsoft Windows?

    As a quick test, try running a game or playing a video in another window while doing your latency test. Does that shave 15ms off?
  29. Replies
    2
    Views
    75

    Maybe try the command line Teensy Loader? ...

    Maybe try the command line Teensy Loader?

    https://github.com/PaulStoffregen/teensy_loader_cli

    It has similar HID code. If that works, maybe you could use its HID code as a guide to get that...
  30. Replies
    60
    Views
    932

    If that was one of the purple prototypes - yeah,...

    If that was one of the purple prototypes - yeah, it was weak because I hand soldered it without any way to solder the underneath pads (I don't use a reflow oven)
  31. Replies
    18
    Views
    350

    Yes. Use the InternalTemperature library to...

    Yes. Use the InternalTemperature library to check the actual temperature inside the chip after your program has been running for quite some time. Do this measurement with your project as it will be...
  32. The short answer is yes, for all practical...

    The short answer is yes, for all practical purposes they're the same. All should work fine.

    2 minor caveats:

    Some very early (like ~9 years ago) WS2811 used half speed 400 kHz bit rate. ...
  33. Replies
    18
    Views
    350

    Yes, indeed, the moral of this story is you need...

    Yes, indeed, the moral of this story is you need to do something (or simply avoid doing certain things) to keep the internal temperature below 95C if you want the chip to last more than 3 years.
  34. Replies
    60
    Views
    932

    The double buffering design, in hindsight, was a...

    The double buffering design, in hindsight, was a mistake on my part. Eventually it should get removed from all the output objects.

    In the earliest days of the audio library, back in late 2013, I...
  35. Replies
    11
    Views
    214

    Impedance matters. The lower the resistor value,...

    Impedance matters. The lower the resistor value, the less susceptible to interference. A capacitor gives low impedance, but only at high frequencies. Just looked over this thread again and still...
  36. You really should use the interrupt from the same...

    You really should use the interrupt from the same timer that's generating the PWM.

    And yeah, if you want help with a specific problem, posting complete code to reproduce the problem is the way to...
  37. Replies
    16
    Views
    404

    Yes, the bottom 8 bits (plus 8 more empty/zero...

    Yes, the bottom 8 bits (plus 8 more empty/zero bits) are just ignored.
  38. Replies
    14
    Views
    196

    For a smaller scale example, search for "Bose...

    For a smaller scale example, search for "Bose wave radio". Lots of info online about its amazing design which makes the most of 2 relatively small speakers. Some seriously good sound design there!...
  39. Replies
    14
    Views
    196

    The other thing which has a huge effect, but...

    The other thing which has a huge effect, but takes a lot of extra space and is worthless for non-bass sound, is a "folded horn" structure.

    Lots of info can be found online by searching for "folded...
  40. Replies
    14
    Views
    196

    Surrounding room, not usually. But surrounding...

    Surrounding room, not usually. But surrounding the speaker with an enclosure, yes, absolutely. Even the very best woofers give poor bass performance without an enclosure around them.
  41. Replies
    14
    Views
    196

    Are there some techniques (probably at one time...

    Are there some techniques (probably at one time patented) which improve the apparent bass response of small speakers?

    I know almost nothing about how this is actually done, but this is the one...
  42. Replies
    60
    Views
    932

    I ran several tests. Looks like MCLK can only be...

    I ran several tests. Looks like MCLK can only be 16 or 48 MHz.

    We need to keep the sample rate at 44117.6, same as Teensy 3.x. The main use case is playing 44.1 kHz WAV files, either from SD...
  43. Replies
    60
    Views
    932

    Maybe each interrupt will need to reprogram the...

    Maybe each interrupt will need to reprogram the other channel's settings to get it ready again? At least it's only 4 registers to write.
  44. Replies
    20
    Views
    2,024

    Know anyone at NXP? As far as I'm aware, the...

    Know anyone at NXP?

    As far as I'm aware, the highest resolution DAC they've ever put into these sorts of chips is 12 bits.
  45. Replies
    8
    Views
    174

    This thread is so mysterious. I really don't...

    This thread is so mysterious. I really don't understand what you're asking here. It kinda reads more like stream of consciousness.

    But to try to answer the specific hardware question, yes, both...
  46. Replies
    60
    Views
    932

    The good news is the DMA controller is much...

    The good news is the DMA controller is much simpler, with only 4 registers instead of the 8 we normally use in the TCD. There is no "minor loop", just 1 transfer for each trigger event. Fortunately...
  47. Replies
    60
    Views
    932

    It should be possible. The oversampling code...

    It should be possible. The oversampling code might need to be disabled.




    Yup. The audio library as ifdefs to put in a do-nothing version of each unsupported output, so the library at least...
  48. Replies
    129
    Views
    5,447

    Pages for all 6 of the 32 bit Teensy boards are...

    Pages for all 6 of the 32 bit Teensy boards are now in the new format. All are still missing some info, but probably ok for now.

    The last thing on my urgent documentation list is pinout diagrams...
  49. Replies
    2
    Views
    69

    They're 402

    They're 402
  50. Replies
    16
    Views
    404

    Nope. The problem is a design flaw in the...

    Nope. The problem is a design flaw in the PCM1802 breakout PCB. Those 5 pads should connect to 3.3V, but whoever designed the board didn't connect them to anything at all.

    Detailed writeup on...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4