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

  1. Replies
    92
    Views
    11,966

    Yet another update... doing more testing. This...

    Yet another update... doing more testing. This morning I found (and fixed) a timing issue with initializing the flash chip's non-volatile status2 register. This is another place where the Teensy...
  2. Any use of pinMode will do this. It completely...

    Any use of pinMode will do this. It completely reconfigures the pin, overwriting the previously set interrupt config.

    Maybe pinMode should check for this case? I'm also considering adding a...
  3. I copied your code into Arduino, but it doesn't...

    I copied your code into Arduino, but it doesn't compile. Stuff is missing. See below....




    Since you already have the hardware wired up, try opening File > Examples > Encoder > Basic and...
  4. I gave it a shout-out on Twitter. Hope that...

    I gave it a shout-out on Twitter. Hope that helps.
  5. Replies
    92
    Views
    11,966

    Another quick update - all the new code is in. ...

    Another quick update - all the new code is in. On a virgin board, the fuses IMXRT fuses are set the first time the MKL02 talks to it. The initialization delivers a unique ethernet mac address as...
  6. Maybe move stuff like this back to setup? ...

    Maybe move stuff like this back to setup?



    AudioMemory(20);
    sgtl5000_1.enable();
    sgtl5000_1.volume(defaultVolume);


    If that doesn't fix the problem, just keep moving more...
  7. Replies
    12
    Views
    146

    Maybe switch to Teensy 4.1 and save that 4.0 for...

    Maybe switch to Teensy 4.1 and save that 4.0 for another project not needing as much I/O?
  8. Replies
    12
    Views
    146

    Maybe you're using the Wire library? (can't tell...

    Maybe you're using the Wire library? (can't tell from only a quick look)

    Wire uses pin 18 & 19.

    Again, details here:

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

    23350
  9. Replies
    12
    Views
    146

    If using Teensy 3.x, use of pin 22 would also...

    If using Teensy 3.x, use of pin 22 would also conflict. AudioOutputI2S uses pin 22 for data output on those boards.

    Just move those encoder signals to unused pins and odds are good everything...
  10. Replies
    12
    Views
    146

    If this is Teensy 4.0, use of pin 21 conflicts...

    If this is Teensy 4.0, use of pin 21 conflicts AudioOutputI2S, because I2S uses pin 21 for BCLK.
  11. Replies
    12
    Views
    146

    Can you reproduce the problem with a simpler...

    Can you reproduce the problem with a simpler program? This one appears to depend on MegunoLink.h, Display.h, Filter.h - maybe other stuff?

    Maybe try testing with the Arduino IDE and the Encoder...
  12. FWIW, the blink program we pre-load on every...

    FWIW, the blink program we pre-load on every Teensy is slightly more than it seems. It's actually this code:

    https://github.com/PaulStoffregen/USB_Tester/blob/master/extra/USB_Tester_Blink.ino
    ...
  13. Python is by far the most requested interpreted...

    Python is by far the most requested interpreted language. I know you love Forth, but I hope you can understand that viewpoint is relatively rare among the people who buy & use Teensy.
  14. Replies
    13
    Views
    591

    Yes, I can confirm PJRC registered with IEEE...

    Yes, I can confirm PJRC registered with IEEE several years ago for a 24 bit OUI.
  15. Many of the I2S DACs do this oversampling in...

    Many of the I2S DACs do this oversampling in their hardware.
  16. Yup, that looks right. Not sure why we're...

    Yup, that looks right.

    Not sure why we're turning on MCLK with PT8211 on Teensy 3.2. Maybe just leftover code from I2S?
  17. Are you sure it's really a 4.7K resistor? When...

    Are you sure it's really a 4.7K resistor?

    When we've seen problems like this before, with intermittent communication having CRC errors, the cause was a much higher resistor value mistakenly used...
  18. It can be more efficient if you can arrange for...

    It can be more efficient if you can arrange for even 1 of the buffers to be 32 bit aligned.
  19. Not possible. Many of the required signals are...

    Not possible. Many of the required signals are not accessible.

    But you can add QSPI PSRAM.

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

    The raw performance for cache misses is obviously lower for...
  20. Well, yes. You might guess that from "Posts"...

    Well, yes. You might guess that from "Posts" count. In fact Frank has a long history of contributing not just good ideas, and a lot of pretty amazing code. So his voice & opinion does carry quite...
  21. Replies
    5
    Views
    121

    Maybe consider sharing your usb_desc.h file? ...

    Maybe consider sharing your usb_desc.h file? Might help others who find this thread.

    If using Quick Reply, click "Go Advanced" to get the full editor which lets you attach a file to your message.
  22. Replies
    5
    Views
    121

    Yes, but you will need to edit usb_desc.h to...

    Yes, but you will need to edit usb_desc.h to create a custom USB config. See the comments in that file for details.

    Remember there are 2 copies of this file, one for Teensy 3 and the other for...
  23. Replies
    628
    Views
    57,244

    Merging and testing MTP and LittleFS pull...

    Merging and testing MTP and LittleFS pull requests is at the top of my priority list for after the T4 bootloader chip “soft” release. Sorry I can’t do it now... really want to. But so many people...
  24. Replies
    184
    Views
    10,128

    Yup, that's been the plan all along. :)

    Yup, that's been the plan all along. :)
  25. Yes, very likely. Look for problems near pin...

    Yes, very likely.

    Look for problems near pin 8. If stray solder got onto the pins of that little chip near pin 8, it would cause this sort of problem.

    And just to be clear, this problem almost...
  26. Replies
    184
    Views
    10,128

    I do have a plan (kinda 2 plans), but so far...

    I do have a plan (kinda 2 plans), but so far haven't written anything....

    1: For the wav file player and other file-based audio library stuff, I'm planning to add a useFilesystem(FS &filesys)...
  27. Replies
    92
    Views
    11,966

    It's not going to do anything so complex. And...

    It's not going to do anything so complex. And even if it did, the nature of most failures is that you can't attempt the next stage anyway. If communication with the IMXRT fails, there's no way to...
  28. Google search for "DDI0403E". If Google doesn't...

    Google search for "DDI0403E". If Google doesn't find the PDF, click the link to ARM's website, then click "Download" to get the PDF.

    Once you're viewing the PDF, turn to page B3-602 for the AIRCR...
  29. Replies
    40
    Views
    460

    Microsoft did fix some bugs in usbser.sys between...

    Microsoft did fix some bugs in usbser.sys between Windows 8 to Windows 10, but apparently not this one.
  30. It's supposed to "just work" if you change to...

    It's supposed to "just work" if you change to that folder and just run "make" with all the files still located in the places the installer wrote them.

    I can understand why you probably want to...
  31. Which Linux distro is this? It's been a while...

    Which Linux distro is this? It's been a while since I've heard of one so terrible. (eg, Gentoo...)

    EDIT: oh, I see it's Arch, missed that earlier.

    Reality is PJRC only tests the x86 build on...
  32. Replies
    134
    Views
    5,634

    RTS should work on any digital pin (as the web...

    RTS should work on any digital pin (as the web page documents). Only CTS is scarce.
  33. Replies
    40
    Views
    460

    My gut feeling is the guesswork on msg #28 is...

    My gut feeling is the guesswork on msg #28 is probably right. Microsoft probably only supported use of the modern WIN32 APIs in their USBSER.SYS driver. FTDI's driver probably has support for older...
  34. Replies
    134
    Views
    5,634

    The serial page...

    The serial page lists the pins supported by Teensyduino 1.53.

    Kurt added support for the XBAR pins, and other nice features like addMemoryForRead(), but that stuff hasn't yet made any non-beta...
  35. Replies
    40
    Views
    460

    No, for USB serial it's just the USBSER.SYS...

    No, for USB serial it's just the USBSER.SYS driver built into Windows.

    On Windows 10, it loads automatically. On Windows 2000, XP, 7 & 8, Windows doesn't load USBSER.SYS automatically. So a...
  36. Replies
    40
    Views
    460

    Ok, here's the video demo. Sorry about the...

    Ok, here's the video demo. Sorry about the mediocre quality... not easy to shoot 2 screens and get exposure perfect (and I really need to get back to the bootloader chips... not time to do a more...
  37. Replies
    40
    Views
    460

    Yup, it sure looks that way. The problem...

    Yup, it sure looks that way.




    The problem is on the PC side. Nothing you can do on Teensy will help. The combination of Termite & the Windows driver simply isn't sending the control...
  38. Replies
    40
    Views
    460

    Here's a (maybe) similar report, where RTS didn't...

    Here's a (maybe) similar report, where RTS didn't work.

    https://forum.pjrc.com/threads/59612-DTR-Off-blocks-USB-serial-receive?p=230233&viewfull=1#post230233

    It turned out Coolterm works. The...
  39. Replies
    92
    Views
    11,966

    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...
  40. Replies
    40
    Views
    460

    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,...
  41. Replies
    23
    Views
    301

    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...
  42. Replies
    23
    Views
    301

    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...
  43. Replies
    23
    Views
    301

    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...
  44. Replies
    23
    Views
    301

    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.
  45. Replies
    23
    Views
    301

    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...
  46. Replies
    9
    Views
    189

    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
  47. Replies
    4
    Views
    155

    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...
  48. 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;
    ...
  49. Replies
    32
    Views
    3,058

    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.
  50. Replies
    4
    Views
    155

    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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4