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; generated 59 minute(s) ago.

  1. Replies
    5
    Views
    31

    They updated revisions.txt just yesterday, in...

    They updated revisions.txt just yesterday, in prep for the release next week.
  2. Replies
    5
    Views
    31

    Ok, I've updated boards.txt in the source, so...

    Ok, I've updated boards.txt in the source, so this will be in 1.50-beta1.




    Yes, they fixed the bug that was causing unnecessary recompile.
  3. Replies
    5
    Views
    31

    Arduino 1.8.11

    Apparently Arduino is planning to release version 1.8.11 on Monday, Jan 27th.

    This isn't great timing for Teensy, as I have travel plans, returning Tuesday afternoon. Normally I try to make a...
  4. I do not recall it ever working.

    I do not recall it ever working.
  5. I've been working on this problem today, and it...

    I've been working on this problem today, and it remains quite a mystery.

    Weeks ago I had thought it may be a bootloader bug. I imagined the bootloader might be mis-configuring vector catchbits,...
  6. Replies
    9
    Views
    215

    PJRC currently makes only one IMXRT-based product...

    PJRC currently makes only one IMXRT-based product (Teensy 4.0) with this commercial temperature chip.

    NXP does make a similar part with is rated for -40C. But we do not use it on Teensy because...
  7. Replies
    48
    Views
    4,013

    I can confirm Teensy Loader erases all but the...

    I can confirm Teensy Loader erases all but the top 64K of flash (4K of which is the read-only restore image) when you load any new .hex file.

    This is meant as a security feature for people who...
  8. Replies
    2
    Views
    51

    The mixer and amp features can do this now. When...

    The mixer and amp features can do this now. When you set the gain to 0 or 1.0, they act like switches. Internally the code handles gain of 0 and 1.0 as special cases, routing the signals rather...
  9. Yes, this is the correct way to measure. 1.5 to...

    Yes, this is the correct way to measure. 1.5 to 1.6 volts means the SGTL5000 did turn on its analog circuitry. That is a sure sign the SDA and SCL signals are connected properly, and power is good,...
  10. Try running the synth guitar example, and then...

    Try running the synth guitar example, and then measure the DC voltage on each of the 3 test pads underneath the headphone jack.

    The DC voltage is an indication whether the STGL5000 chip...
  11. It's too late to consider a different flash chip...

    It's too late to consider a different flash chip for Teensy 4.1. Winbond W25Q64JV is already designed in and parts have been ordered.

    But maybe a different flash chip would make sense for the...
  12. Replies
    1
    Views
    42

    This depends on what you consider "possible". ...

    This depends on what you consider "possible".

    If you only consider software support which exists today, then no.

    If you have good programming skill and deep knowledge of USB, it is possible to...
  13. Replies
    2
    Views
    39

    Usually Serial1 is simplest. Connect TX1 (pin 1)...

    Usually Serial1 is simplest. Connect TX1 (pin 1) of each Teensy to RX1 (pin 0) of the other Teensy. Also connect GND to GND.

    Bill Porter's EasyTransfer library is probably the simplest way to...
  14. I can also confirm it definitely does work. ...

    I can also confirm it definitely does work.



    Adafruit's libraries support more pin combinations. Many of their libs support almost any pins, using slow GPIO access to the pins rather than...
  15. Replies
    9
    Views
    215

    The IMXRT1062 chip is rated for commercial...

    The IMXRT1062 chip is rated for commercial temperature range, so the lowest rated temperature is 0 celsius.

    In practice, it can probably run quite a bit colder, but that's not guaranteed or tested...
  16. In Arduino, click File > Examples > EEPROM to...

    In Arduino, click File > Examples > EEPROM to open the examples which show how to use it.
  17. Replies
    7
    Views
    996

    Quick update, if anyone's still watching this...

    Quick update, if anyone's still watching this thread... today I am working on making the bootloader compatible with virgin IMXRT chips (the chip on Teensy 4.0 gets fuses initialized by our...
  18. Replies
    34
    Views
    550

    Ha! Who could possibly expect I would divert...

    Ha! Who could possibly expect I would divert engineering time away from the huge list of features people want on Teensy to port code to non-PJRC products? Crazy talk!

    But I do occasionally take...
  19. Replies
    1
    Views
    39

    Look at the Wire library constructors, in...

    Look at the Wire library constructors, in WireIMXRT.cpp

    https://github.com/PaulStoffregen/Wire/blob/master/WireIMXRT.cpp#L312

    FWIW, the Arduino pin numbers don't follow NXP's GPIO numbering,...
  20. Replies
    34
    Views
    550

    I don't understand what you mean. PT8211 works...

    I don't understand what you mean. PT8211 works great with Teensy 3.2, 3.5, 3.6 and 4.0. PJRC recently revised the $2.65 PT8211 kit to include 2 circuit boards, one with the signals routed for...
  21. Replies
    14
    Views
    129

    If you turn off interrupts, the USB interrupt...

    If you turn off interrupts, the USB interrupt can't respond to Arduino's request to automatically reboot. Teensy is running, just not handling any interrupts when I/O occurs.

    Expect to need to...
  22. Replies
    4
    Views
    113

    Frank is right, on Teensy 3.x we use a frequency...

    Frank is right, on Teensy 3.x we use a frequency close but not exactly 44.1 kHz.

    When the PDB timer is the clock master, it's generated from 48 MHz / 1088, or 60 MHz / 1360, because the timers...
  23. Replies
    14
    Views
    129

    You can also get a 20 MHz waveform from the PWM...

    You can also get a 20 MHz waveform from the PWM hardware, but not at 50% duty cycle. The timers run at 60 MHz (when Teensy 3.6 runs at any multiple of 60 MHz), so a 20 MHz carrier is only 3 timer...
  24. Replies
    14
    Views
    129

    Two issues. 1: By default pinMode() turns on...

    Two issues.

    1: By default pinMode() turns on the slew rate limit feature. This greatly reduces noise and undesirable high speed effects when normal wires are used, but it also limits how fast the...
  25. The most important concept is I2S master vs I2S...

    The most important concept is I2S master vs I2S slave. It's about the direction of the clocks, not data. The I2S master creates the clock signals, BCLK & LRCLK (and maybe also MCLK). Those signals...
  26. Don't suppose you can just set the block size...

    Don't suppose you can just set the block size back to 128?

    Many parts of the audio library automatically adapt to different block sizes. But some parts definitely depend on 128 samples. USB...
  27. Teensy 4.0 has completely different timers. The...

    Teensy 4.0 has completely different timers. The FTM timers are only in Teensy 3.2.

    The good news is the FlexPWM timers in Teensy 4.0 have even more capability than the FTM ones Teensy 3.x had. ...
  28. The Audio and Servo libraries should work...

    The Audio and Servo libraries should work together well on Teensy 3.x and 4.0.

    Interrupt priority levels are used, so the Servo library gets the low latency interrupt response it needs to create...
  29. Replies
    7
    Views
    227

    If you don't already have the software, install...

    If you don't already have the software, install Arduino and Teensyduino.

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

    Then run Arduino and make sure Teensy is selected in Tools > Boards. The...
  30. You're asking for pluggable discovery JSON, but...

    You're asking for pluggable discovery JSON, but from the context of the question, it sounds like you really mean the package index JSON. There is no package index, because we do not use Arduino's...
  31. Replies
    122
    Views
    8,269

    Indentical FPUs is looking very unlikely. The M4...

    Indentical FPUs is looking very unlikely. The M4 core will almost certainly have the single precision FPU we get now in Teensy 3.5 & 3.6.
  32. Temporarily disable Windows Defender.

    Temporarily disable Windows Defender.
  33. Yup, exactly my thoughts - just didn't have time...

    Yup, exactly my thoughts - just didn't have time to write a lengthy message.

    Also, the ResponsiveAnalogRead library can work wonders for this sort of use.

    Code that transmits MIDI messages too...
  34. Replies
    9
    Views
    115

    This is the one you want for FM. ...

    This is the one you want for FM.

    https://www.pjrc.com/teensy/gui/?info=AudioSynthWaveformModulated

    You can modulate frequency directly (the default way), or indirectly by phase modulation.
  35. That's really a question for MCS electronics. ...

    That's really a question for MCS electronics. Best to ask on their forum.

    https://www.mcselec.com/index2.php?option=com_forum&Itemid=59

    As far as I know, their software only works with the...
  36. As a quick experiment, try adding delay(10) in...

    As a quick experiment, try adding delay(10) in the loop.

    Yeah, I know *adding* delay seems counter-intuitive. But please, give it a try anyway. It's so simple and easy to test.
  37. Any chance Windows Defender or other anti-virus...

    Any chance Windows Defender or other anti-virus software is interfering?

    I believe Windows 10 gives you a way in settings to temporarily pause Defender. The installer does not use any internet...
  38. Replies
    7
    Views
    188

    I saw a project where someone used 8 panels. I...

    I saw a project where someone used 8 panels. I don't know if they were using SmartMatrix or other code to drive them. But that is a huge amount of data to transfer, maybe starting to push the...
  39. Replies
    33
    Views
    1,271

    Sticky: If you're using the pre-4.0 boards and not using...

    If you're using the pre-4.0 boards and not using MacOS Catalina, 1.49 only bring very minor improvements, like a few harmless compiler warnings fixed.

    Likewise, Arduino 1.8.9 may run faster than...
  40. No, the audio library does not support Teensy LC...

    No, the audio library does not support Teensy LC at all.
  41. Replies
    30
    Views
    955

    Yes, I know it's frustrating. :( In a perfect...

    Yes, I know it's frustrating. :(

    In a perfect world, we would have implemented absolutely every feature from Teensy 3.x before releasing Teensy 4.0. The the reality is I'm not that good. PJRC...
  42. Replies
    2
    Views
    76

    Are you sure it's an A/D. Here's the datasheet...

    Are you sure it's an A/D.

    Here's the datasheet I was able to download. Says "16 Bits Digital-to-Analog Converter IC". Looks like same as PT2811, but with voltage reference on pin 7.
  43. Replies
    30
    Views
    955

    I don't understand your question. Which...

    I don't understand your question. Which functionality are you asking about? Audio shields? USB streaming audio?

    The audio library does support I2S on Teensy 4.0 and works great with the audio...
  44. That's pretty compelling. One minor issue,...

    That's pretty compelling.

    One minor issue, discussed just yesterday, is the installer doesn't know how to delete the old files if they're present from a prior install. I believe Arduino is...
  45. Replies
    33
    Views
    1,271

    Sticky: This is normal, though the complexity of...

    This is normal, though the complexity of Cortex-M7 memory doesn't fit well into Arduino's very simple summary.

    The lion's share of this 41K is ITCM memory used for code. The hardware has 32K...
  46. One last followup to this old thread. ...

    One last followup to this old thread. Teensyduino 1.49 has been released. USB MIDI device mode is now fully supported on Teensy 4.0.
  47. Replies
    1
    Views
    51

    In the Teensy Loader window, turn off Auto mode...

    In the Teensy Loader window, turn off Auto mode and keep it somewhere visible on your desktop.

    Then just press the button on your Teensy. The Teensy Loader window should respond by detecting the...
  48. That means no communication is working between...

    That means no communication is working between Teensy and the MCP23017 chip. While not good, at least this mean you know to focus on the power and I2C wires. There's no point worrying about the...
  49. Try running File > Examples > Wire > Scanner. ...

    Try running File > Examples > Wire > Scanner. After uploading, make sure you have Teensy selected in Tools > Ports, then open the Arduino Serial Monitor.

    What does it print in the serial monitor?
  50. Replies
    29
    Views
    2,466

    Try adding this at the beginning of setup()? ...

    Try adding this at the beginning of setup()?


    pinMode(A1, INPUT_DISABLE);

    Does it help?
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4