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. I am hopeful Arduino will eventually make the...

    I am hopeful Arduino will eventually make the improvements we recently discussed, to not default to installing beta package on non-beta IDEs. When they make that improvement, then we won't need a...
  2. A new batch of Teensy LC is in production now. ...

    A new batch of Teensy LC is in production now. They should be available by October 24.

    Recently almost everything seems to end up 1 week late, so this Oct 24 date is a bit on the conservative...
  3. Replies
    2
    Views
    30

    Is it a genuine Teensy? Can you show us photos?

    Is it a genuine Teensy? Can you show us photos?
  4. Normally FreqMeasure isn't recommended for higher...

    Normally FreqMeasure isn't recommended for higher frequencies, mainly because the resolution diminishes as shorter periods are measured. But joepasquariello found some really impressive ways to work...
  5. I put the 10 frequency code on github. ...

    I put the 10 frequency code on github.

    https://github.com/PaulStoffregen/FreqCountMany
  6. Oh man that sucks, especially the scalper price...

    Oh man that sucks, especially the scalper price for a replacement.

    If you can still cancel that 3X priced order, email me directly and I'll find one we can sell at normal price.
  7. Yep, 300 updates over 2.7 seconds is ~111...

    Yep, 300 updates over 2.7 seconds is ~111 frames/sec. That does indeed match 9 ms to communicate 300 RGB pixels of 24 bits at 800 kbps.

    The BasicTest example and colorWipe() are meant to be very...
  8. Well this is really bizarre. Rather than just...

    Well this is really bizarre. Rather than just quickly delete this as junk (doesn't quite look like spam, no links or usual spammer stuff), does anyone have any idea what this is? Maybe a bot...
  9. Replies
    23
    Views
    3,419

    Yes, yes, and sort-of. A huge backlog has...

    Yes, yes, and sort-of.

    A huge backlog has built up over the last 4 months of inadequate chip supply. It's going to take time (maybe several weeks) to fully catch up, but ultimately (assuming NXP...
  10. Sorry, the motion sensors are long gone. No...

    Sorry, the motion sensors are long gone. No plans to ever make more.
  11. Replies
    23
    Views
    3,419

    Just yesterday we got word from NXP that a large...

    Just yesterday we got word from NXP that a large batch of chips will come by late-November. Assuming they actually deliver (usually they've been +/- a couple weeks when they give these sorts of...
  12. Speed is limited at 800 kbps. RGB has 24 bits,...

    Speed is limited at 800 kbps. RGB has 24 bits, so each LED on the strip takes 30 us. With a strip length of 300, you need 9 ms to update (plus a short time between frames). All 4 in this case...
  13. Here's a quick experiment to extend FreqCount to...

    Here's a quick experiment to extend FreqCount to 10 simultaneous inputs.

    Or at least a 16 bit counting version which accumulates groups of 16 bit counts, rather than extending the count with...
  14. Might be worth mentioning FreqCount is using...

    Might be worth mentioning FreqCount is using QuadTimer 4 for counting and IntervalTimer for the gate interval.

    Theoretically, it should be possible to craft code which would use all 4 of the...
  15. I'm pretty sure there is a serious problem with...

    I'm pretty sure there is a serious problem with the circuitry connected to Teensy, or perhaps in the way it's connected, rather than the problem being slow rise time. But what circuitry problem...
  16. Maybe a log pot could avoid the need for the...

    Maybe a log pot could avoid the need for the equation. But a log or "audio taper" pot is a poor solution for a couple reasons.

    1: The ADC resolution is poorly utilized, with just a tiny part of...
  17. Here's a quick way to see what it (or pretty much...

    Here's a quick way to see what it (or pretty much any equation) really does.



    Serial.begin(9600);
    while (!Serial) ; // wait for serial monitor to open
    for (int knob=0; knob <= 1000;...
  18. Replies
    2
    Views
    95

    Human senses are quite non-linear. They also...

    Human senses are quite non-linear. They also tend to be extremely slow relative to the speed of electronics. The ways our minds interpret sensations can vary quite a lot.
  19. In Arduino, click File > Preferences, and then...

    In Arduino, click File > Preferences, and then turn on verbose output during compilation.

    It's very verbose! Buried in a mountain of output you'll see almost everything has a full pathnames. ...
  20. First clear it at the source in the GPIO...

    First clear it at the source in the GPIO register. Then you probably also want NVIC_CLEAR_PENDING(IRQ_GPIO6789).
  21. Here's a guess for the other chip, again only...

    Here's a guess for the other chip, again only from reading the datasheet.


    {{0xEF, 0x40, 0x14}, 24, 256, 4096, 0x20, 1048576, 5000, 300000, "W25Q80DV"},
  22. Here's my best guess for that chip based on just...

    Here's my best guess for that chip based on just reading the datasheet.


    {{0x62, 0x06, 0x13}, 24, 256, 4096, 0x20, 524288, 5000, 300000, "SST25PF040C"},

    If this actually works, please confirm...
  23. Use analogRead() to get the pot position and then...

    Use analogRead() to get the pot position and then call the functions to adjust the filter accordingly.

    For an example, check out Part 2-7 in the audio library tutorial, which starts on page 19 in...
  24. Thanks for testing. Could I talk you into...

    Thanks for testing. Could I talk you into sending a pull request?
  25. There are a few different FreeRTOS ports. I'm...

    There are a few different FreeRTOS ports. I'm guessing you used this one?

    https://github.com/tsandmann/freertos-teensy

    Looks like it has an implementation of _gettimeofday() in...
  26. Really depends on the scope of words possible and...

    Really depends on the scope of words possible and editing.

    Deep knowledge of the SAMD timers (which I do not have) would be needed to add all the hardware abstraction defines. It's theoretically...
  27. The sei() function is meant for AVR, where a...

    The sei() function is meant for AVR, where a single bit manages whether interrupts can happen.

    ARM is much more sophisticated. Priority levels are the main mechanism which manages whether an...
  28. It isn't just 1 place. The answer depends on...

    It isn't just 1 place. The answer depends on which audio library objects you've instantiated and the order they where created, and of course which Teensy you're using.
  29. Sounds like you're working with a bare ILI9341...

    Sounds like you're working with a bare ILI9341 display rather than one on a PCB. Any chance for a photo? Might help people who later find this thread more quickly understand when this issue with...
  30. If you have a really old version of the software,...

    If you have a really old version of the software, and you're running Microsoft Windows, here are direct links to download the installers to update.
    ...
  31. Replies
    2
    Views
    99

    Usually best to call this _reboot_Teensyduino_()...

    Usually best to call this _reboot_Teensyduino_() function.

    https://github.com/PaulStoffregen/cores/blob/master/teensy4/usb.c#L215

    If the process changes in the future, this function will get...
  32. No, MK66FN2M0VMD18 will not work.

    No, MK66FN2M0VMD18 will not work.
  33. I believe on MacOS the files are stored in a...

    I believe on MacOS the files are stored in a "Library" folder which is in your home directory but hidden by MacOS Finder. You'll probably need to use Terminal and type "cd ~/Library" to get to it. ...
  34. Replies
    103
    Views
    48,665

    Yes, that's exactly what "-" rather than pins...

    Yes, that's exactly what "-" rather than pins numbers means, no CTS is available.
  35. Replies
    1
    Views
    128

    The 11880ms limit is due to a 16 bit integer...

    The 11880ms limit is due to a 16 bit integer which counts the number of 8 sample updates. 65535 * 8 / 44100 = ~11.89 seconds.

    But another limitation is small error which accumulates due to...
  36. That's not what happened, but it's easy to...

    That's not what happened, but it's easy to misinterpret this way.

    Arduino 1.8.x has complicated rules for where it will find files for boards and libraries. One of the places Arduino 1.8.x...
  37. Only 6 can be pressed at the same time, plus the...

    Only 6 can be pressed at the same time, plus the 4 modifier keys (shift, ctrl, alt, windows/cmd).

    Nearly all USB keyboards have this limitation. They all use the same protocol which supports only...
  38. Teensy's USB keyboard interface uses the same...

    Teensy's USB keyboard interface uses the same protocol as virtually all USB keyboards (top-tier gaming keyboards being the exception). The only real difference is the speed of "typing".

    Maybe...
  39. All sorts of unrelated problems are possible with...

    All sorts of unrelated problems are possible with low quality DC-DC converters. Especially the very small ones tend to not have enough capacitance at the input and output. Some people (including...
  40. Replies
    11
    Views
    215

    Another gotcha is PSWITCH. It will not work if...

    Another gotcha is PSWITCH. It will not work if simply wired to 3.3V. NXP's documentation about this quite misleading. It's not a simple active-high enable. A low to high transition is required...
  41. Replies
    11
    Views
    215

    Maybe not the answers you wanted, but hopefully...

    Maybe not the answers you wanted, but hopefully this gives you the info you need to get started, rather then wasting a lot of time on reverse engineering.
  42. Replies
    11
    Views
    215

    SWD absolutely will not work. All Teensy 4.1...

    SWD absolutely will not work. All Teensy 4.1 boards are permanently fuse configured for JTAG. NXP did not implement dynamic switch between SWD & JTAG as ARM's documentation says. It will only talk...
  43. Replies
    11
    Views
    215

    If you play with JTAG boundary scan, the IMXRT...

    If you play with JTAG boundary scan, the IMXRT chips have an undocumented bug were weird/wrong things happen if you stay in the various scan states for more than about 8 seconds. Parking in the...
  44. Replies
    11
    Views
    215

    If you do attempt this, here are the signal...

    If you do attempt this, here are the signal locations you'll need.

    29461

    BOOT0 needs to be connected to GND for normal operation.

    PSWITCH needs a low-to-high transition to turn on the 1.15V...
  45. Replies
    11
    Views
    215

    Teensy 4.1 uses JTAG, not SWD. It would in...

    Teensy 4.1 uses JTAG, not SWD. It would in theory be done if you solder more wires and use a JTAG adaptor. Just know that SWD can not work.
  46. Replies
    11
    Views
    215

    Teensy 4.0 & 4.1 schematics haven't been updated...

    Teensy 4.0 & 4.1 schematics haven't been updated for the U2 chip substitution. Realistically, they probably won't ever get updated. This U2 part is meant to be a temporary change until the original...
  47. Replies
    5
    Views
    125

    Quick answer would be no, or at least not known...

    Quick answer would be no, or at least not known to me.

    But some of these libraries, like ModbusRtu, do use specific pins depending on their config. Maybe start looking there?

    I can also say...
  48. Replies
    2
    Views
    132

    The reason why is really the intersection of 3...

    The reason why is really the intersection of 3 factors.

    1: NXP designed this way.

    2: Many difficult decisions had to be made about which of the chip's GPIO pins to bring to the outside edges of...
  49. Replies
    8
    Views
    275

    If the same code works when built with...

    If the same code works when built with Arduino+Teensyduino but fails when compiled with PlatformIO, that's an issue you should report to the PlatformIO developers on github. Of course they'll need a...
  50. Replies
    8
    Views
    275

    Two questions... Can you reproduce the problem...

    Two questions...

    Can you reproduce the problem without PlatformIO, only using Arduino IDE with Teensyduino 1.57 installed?

    Can you give us the Arduino sketch and Python code and any other...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4