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
    38
    Views
    6,177

    Quick followup on this old thread. Teensyduino...

    Quick followup on this old thread. Teensyduino 1.49 was released, with updated RA8875 library and several of the features mentioned on this old thread.
  2. Quick followup to this old thread. Teensyduino...

    Quick followup to this old thread. Teensyduino 1.49 was recently released, making the "FLASHMEM" name official.

    Generally, PROGMEM is meant for variables and FLASHMEM is meant for functions. ...
  3. I tested with Linux (Ubuntu 18.04, 64 bit) and a...

    I tested with Linux (Ubuntu 18.04, 64 bit) and a no-name 7 port hub which is actually two "Genesys Logic, Inc. 4-port hub" chips inside, VID=05e3, PID=0610.

    Would you be willing to send me that...
  4. I ran it here (msg #32 code). Every time I...

    I ran it here (msg #32 code).

    Every time I type anything and click Send in the serial monitor, it reboots and USB always reconnects. I tested with Arduino 1.8.9 and Teensyduino 1.49 on Linux 64...
  5. That's it, just change that 0 to 2 in startup.c....

    That's it, just change that 0 to 2 in startup.c.

    What that undocumented bit in GPR16 really does, I have no idea. Well, other than preventing soft reboot from working... it definitely does that.
  6. Ok, I think I've *finally* found the bug. Here's...

    Ok, I think I've *finally* found the bug. Here's a fix.

    https://github.com/PaulStoffregen/cores/commit/d10668b560ef974fbac4e55249279f39e4b5bb72

    I tested only with SCB_AIRCR. Please let me...
  7. Replies
    7
    Views
    105

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

    They updated revisions.txt just yesterday, in prep for the release next week.
  8. Replies
    7
    Views
    105

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

    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...
  10. I do not recall it ever working.

    I do not recall it ever working.
  11. 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,...
  12. Replies
    9
    Views
    220

    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...
  13. Replies
    48
    Views
    4,034

    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...
  14. Replies
    2
    Views
    73

    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...
  15. 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,...
  16. 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...
  17. 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...
  18. Replies
    1
    Views
    45

    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...
  19. Replies
    2
    Views
    41

    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...
  20. 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...
  21. Replies
    9
    Views
    220

    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...
  22. In Arduino, click File > Examples > EEPROM to...

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

    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...
  24. Replies
    34
    Views
    552

    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...
  25. 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,...
  26. Replies
    34
    Views
    552

    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...
  27. Replies
    14
    Views
    131

    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...
  28. Replies
    4
    Views
    118

    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...
  29. Replies
    14
    Views
    131

    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...
  30. Replies
    14
    Views
    131

    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...
  31. 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...
  32. 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...
  33. 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. ...
  34. 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...
  35. Replies
    7
    Views
    228

    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...
  36. 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...
  37. Replies
    122
    Views
    8,286

    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.
  38. Temporarily disable Windows Defender.

    Temporarily disable Windows Defender.
  39. 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...
  40. 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.
  41. 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...
  42. 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.
  43. 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...
  44. 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...
  45. Replies
    33
    Views
    1,298

    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...
  46. No, the audio library does not support Teensy LC...

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

    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...
  48. 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.
  49. Replies
    30
    Views
    961

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