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
    3
    Views
    104

    Have you tried shorter gate time?

    Have you tried shorter gate time?
  2. Replies
    128
    Views
    3,894

    Yes, we do need more & better documentation.

    Yes, we do need more & better documentation.
  3. Replies
    6
    Views
    170

    Generally speaking, 12V addressable LEDs need...

    Generally speaking, 12V addressable LEDs need normal 5V digital signals. So far we've not been given a link or datasheet or other solid tech info about the particular LEDs being used in this...
  4. Replies
    4
    Views
    173

    Like Teensy 3.5 & 3.6, which were about a 2X step...

    Like Teensy 3.5 & 3.6, which were about a 2X step up from Teensy 3.1 & 3.2 but still essentially the same chip architecture, any Teensy using the IMXRT1170 chip will be a 4.x model number. Even...
  5. Replies
    113
    Views
    13,349

    Ok, it's official, here is the T4 bootloader chip...

    Ok, it's official, here is the T4 bootloader chip soft release!

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

    The web page is currently blank. I will begin filling in the tech info later today.
  6. Replies
    113
    Views
    13,349

    The T4 bootloader chip will be a completely...

    The T4 bootloader chip will be a completely separate part from T3. Much as I'd like to make "one chip to rule them all", the IMXRT vs Kinetis differences are just too much to support with a single...
  7. Replies
    113
    Views
    13,349

    I programmed a few more chips and put them onto...

    I programmed a few more chips and put them onto virgin Teensy 4.0 & 4.1 boards. Now I have these 8 boards which I'm using for "final" testing.

    23457

    1 of these 8 is the Teensy 4.0 which had...
  8. Replies
    113
    Views
    13,349

    Still another update. I'm back on the T4...

    Still another update. I'm back on the T4 bootloader chip after the weekend. We had a large special order come in and of course we've been running short-staffed due to Covid social distancing, so...
  9. Seem unlikely... There are 2 irreconcilable...

    Seem unlikely...

    There are 2 irreconcilable forces here:

    1: We can not offer a boards package (until Arduino's software improves)

    2: He will not accept any other way (and we do offer a...
  10. Sloeber on Eclipse supports Teensy ...

    Sloeber on Eclipse supports Teensy

    https://eclipse.baeyens.it/how_to.shtml#/i

    So do Visual Micro and PlatformIO, which today are the most popular non-Arduino software.


    The only thing not...
  11. Replies
    4
    Views
    121

    Unless using that USB-RS485 adaptor is a hard...

    Unless using that USB-RS485 adaptor is a hard requirement, I believe you should consider connecting a RS485 adaptor directly to one of the hardware serial ports. Many RS-485 protocols can be...
  12. This looks like a case of believing nobody has...

    This looks like a case of believing nobody has given you an answer because you simply don't like the answer you did get. So maybe you're unable to see that answer, like it is invisible or something?...
  13. Replies
    18
    Views
    350

    Isn't turning a square to a pure enough sine...

    Isn't turning a square to a pure enough sine pretty difficult, analog filter wise?

    A chip like AD9833 could give a nice sine with harmonics all above 20 MHz, which ought to be pretty easy to...
  14. I'm really glad the inputs are working!

    I'm really glad the inputs are working!
  15. I should mention I've only built 1 of that board...

    I should mention I've only built 1 of that board and so far only tested the 8 outputs. Inputs are so far untested. Been too busy with so many other things to get more time to play with fun...
  16. Hopefully this fully resolves the problem? ...

    Hopefully this fully resolves the problem?

    https://github.com/PaulStoffregen/EEPROM/commit/36e165fade5df8219edcba57f20c4482719021fe
  17. If using Teensy 4.x and you want the math done...

    If using Teensy 4.x and you want the math done entire with fast 32 bit float, then:

    exp10f(((float)dB - 6.0f) / 20.0f)

    If you're not careful, it's easy to accidentally promote to 64 bit double...
  18. Normally, where 0 dB -> 1.0 exp10(dB / 20) ...

    Normally, where 0 dB -> 1.0

    exp10(dB / 20)


    For 6dB -> 1.0

    exp10((dB - 6) / 20)
  19. One final comment... this control algorithm for...

    One final comment... this control algorithm for the proportional term isn't ideal, because IntervalTimer update() effect isn't felt on the next error calculation, but on the timer's following cycle. ...
  20. Here's a little program to automatically adjust...

    Here's a little program to automatically adjust the IntervalTimer period.




    IntervalTimer mytimer;
    volatile uint32_t cyclesRisingEdge;
    volatile uint32_t cyclesPulse;
    volatile bool...
  21. Having run this test for a while now... I'm ready...

    Having run this test for a while now... I'm ready to conclude this isn't a bug, just the normal error of the crystal.

    With the Teensy 4.1 on my desk right now, "mytimer.begin(pulse, 1000000.0 -...
  22. Ok, I tried it here, and indeed I'm seeing the...

    Ok, I tried it here, and indeed I'm seeing the problem with this simple program. Maybe we have a bug in IntervalTimer?



    IntervalTimer mytimer;

    void setup() {
    pinMode(2, INPUT);
    ...
  23. To answer your 2 questions... No. This...

    To answer your 2 questions...




    No. This much drift is not normal. Timing is based on the 24 MHz crystal, which should error less than 30ppm.
  24. Replies
    4
    Views
    176

    I know nothing of these plugins, or even which...

    I know nothing of these plugins, or even which software they are for. Can you give a link or more background material?
  25. Replies
    18
    Views
    350

    When I suggested you connect only resistors and...

    When I suggested you connect only resistors and adapt the OctoWS2811 code, you said:




    Then when Mark asks about your requirements:
  26. Replies
    128
    Views
    3,894

    I wonder what portion is license fees to ARM?

    I wonder what portion is license fees to ARM?
  27. Replies
    9
    Views
    157

    My guess is the SPI signals. Maybe add resistors...

    My guess is the SPI signals. Maybe add resistors between Teensy and the wires going to that display.
  28. This sort of error usually means poor quality USB...

    This sort of error usually means poor quality USB signals. Circuitry connected to Teensy which draws too much power can also cause trouble.

    Try a different USB cable / hub / port / computer. If...
  29. Replies
    128
    Views
    3,894

    Wow, I knew it was expensive, but I didn't...

    Wow, I knew it was expensive, but I didn't imagine it was *that* expensive!
  30. Replies
    128
    Views
    3,894

    Personally, I don't tend to think of the...

    Personally, I don't tend to think of the microcontroller market and dev boards as a war or conflict.

    And yeah, since the beginning with Teensy 1.0 in 2008, the situation has always been that you...
  31. You can't use a function that takes inputs with...

    You can't use a function that takes inputs with IntervalTimer.




    Well, yes, you can if you use that approach to rewrite IntervalTimer. It is indeed possible to create something like...
  32. Replies
    128
    Views
    3,894

    Oh, opps....

    Oh, opps....
  33. Replies
    113
    Views
    13,349

    Except for the harmless case of trying to access...

    Except for the harmless case of trying to access the IMXRT chip too early and just retrying moments later, every problem has been a case of the bootloader was relying on the many things the Teensy...
  34. Replies
    128
    Views
    3,894

    Digikey has them in stock, at least for the...

    Digikey has them in stock, at least for the moment.

    https://www.digikey.com/en/products/detail/raspberry-pi/SC0915/13624793
  35. Replies
    18
    Views
    350

    In theory, you could connect resistors in a R-2R...

    In theory, you could connect resistors in a R-2R ladder or just binary weighted to several pins and write 8 bit numbers to a native port. You'd probably set up a timer to trigger a DMA channel to...
  36. Replies
    8
    Views
    194

    After uploading, the bootloader chip uses the...

    After uploading, the bootloader chip uses the hardware reset signal to fully reset the main processor. The serial port hardware is supposed to be fully reset.

    Let me answer now with another...
  37. Replies
    113
    Views
    13,349

    Fixed 1 more very minor issue. Sometimes after...

    Fixed 1 more very minor issue. Sometimes after loading a very small program, the bootloader would attempt to talk to the IMXRT chip before it was really ready. This is really a non-issue, since it...
  38. Replies
    113
    Views
    13,349

    Yup. These are all the boards I've tested in one...

    Yup. These are all the boards I've tested in one way or another over the last several days. All are in working condition for reuse in projects, but once the fuses are altered, they're no longer a...
  39. Replies
    113
    Views
    13,349

    Starting another round of (hopefully final) late...

    Starting another round of (hopefully final) late night testing.

    For a visual idea of how it's going... here's an untested virgin Teensy 4.1 with its MKL02 chip removed and a freshly programmed...
  40. Replies
    113
    Views
    13,349

    Still yet another update... For the last...

    Still yet another update...

    For the last couple days I've been searching for the cause of a strange startup bug, going over everything in the bootloader. But it turned out to not be a booloader...
  41. Replies
    6
    Views
    113

    Looks like it's working but you're printing the...

    Looks like it's working but you're printing the wrong thing in loop().

    Run this...



    #include <DMAChannel.h>

    #define SAMPLES 128
    __attribute__((aligned(32))) static uint32_t...
  42. Replies
    6
    Views
    113

    It should work. Is the DMA transfer ending...

    It should work.

    Is the DMA transfer ending with error status? Or does it complete but without any observable effect?
  43. Replies
    16
    Views
    245

    Arduino's website has 3 downloads for Windows. ...

    Arduino's website has 3 downloads for Windows. Only 2 of them work with Teensyduino.

    23417

    Any chance you actually have this "Windows app" version?
  44. According to the data sheet on page 14, this is a...

    According to the data sheet on page 14, this is a 20ns access time part. A slower (presumably cheaper) version exists with 30ns access time, which is probably a sign whatever you're trying to...
  45. It will only install into a complete copy of the...

    It will only install into a complete copy of the Arduino IDE.
  46. It is indeed headless, but only if you run it...

    It is indeed headless, but only if you run it with the "--dir=" option as documented on the web page under "Command Line Install". If you omit that command line arg, it will run with the GUI.
    ...
  47. Maybe this should be a new thread, but I'll just...

    Maybe this should be a new thread, but I'll just briefly mention my hope for WebHID to become officially supported by Chrome and hopefully other browsers.

    https://web.dev/hid/

    Then it will...
  48. Wow, that's quite a statement to make! The...

    Wow, that's quite a statement to make!

    The Teensyduino installer provides that "headless" non-GUI install option specifically so you can automate adding Teensy's files to a copy of the Arduino...
  49. Check out the "Command Line Install" info on the...

    Check out the "Command Line Install" info on the Teensyduino download page (scroll down... it's after the GUI installer screenshots)

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

    We currently do...
  50. Replies
    5
    Views
    150

    Officially, no. The 2nd USB port is only...

    Officially, no. The 2nd USB port is only supported in USB host mode.

    Unofficially, I believe WMXZ published a library with the normal device mode code converted to use the 2nd USB port. As I...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4