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

  1. The serial code does use interrupts and does...

    The serial code does use interrupts and does leverage the FIFOs, on the ports which have them.

    Writing to serial does block if you write more than will fit into the transmit buffer. That's why...
  2. None of this will happen on Teensy 4.1. It's...

    None of this will happen on Teensy 4.1. It's already far too late to consider these major changes.

    There also just isn't PCB real estate for most of this. The extra space we're getting is...
  3. Replies
    52
    Views
    4,173

    I may consider a way for future bootloaders to...

    I may consider a way for future bootloaders to preserve the filesystem portion of Circuit Python. But hacking the bootloader is a very serious matter, as there is a very real risk of bricked boards...
  4. Teensy 4.1, like Teensy 4.0, will only use 3.3V...

    Teensy 4.1, like Teensy 4.0, will only use 3.3V I/O. I only looked quickly at your site, but got the impression all these parts need 1.8V signals. Are there any 3.3V versions?

    Edit: tried to...
  5. Oh, that's bad. Very bad. Arduino puts stuff...

    Oh, that's bad. Very bad.

    Arduino puts stuff in 3 locations, software, preferences, and sketchbook. These 3 should *never* overlap. Things fail in very confusing ways if they do, which is why...
  6. You need special hardware to correctly receive...

    You need special hardware to correctly receive those differential signals. Software alone can't give you the noise rejection your want.

    While it might be possible to use Teensy's analog...
  7. If 2 or more transmit at the same time, or...

    If 2 or more transmit at the same time, or similar enough time that any part of their messages overlap, all devices will receive corrupted data (ones altered to zeros). Even though each transmitter...
  8. Yup, that's right, but steps 4 & 5 are optional. ...

    Yup, that's right, but steps 4 & 5 are optional. You can just run the copy of Arduino from the folder where you extracted it, without the installation to the desktop system.

    Hopefully this all...
  9. Replies
    25
    Views
    4,074

    People don't pay for this software, they buy...

    People don't pay for this software, they buy Teensy boards. So my time is split between making hardware and writing software. For the last 2 years, nearly all my engineering time had gone into...
  10. The USB buffers grew in 1.49 and moved to OCRAM,...

    The USB buffers grew in 1.49 and moved to OCRAM, so they're not burning up precious high-speed DTCM.

    If you run the USB lines/sec benchmark, you'll see 1.49 is much faster (and again, pushing the...
  11. In Arduino, click Help > About (Windows & Linux),...

    In Arduino, click Help > About (Windows & Linux), or Arduino > About (Macintosh) to see the version.

    At runtime:



    void setup() {
    while (!Serial) ; // wait for serial monitor
    ...
  12. On distinguishing boards having the same IMXRT...

    On distinguishing boards having the same IMXRT 1062 chip, Teensyduino 1.50 will start using Arduino's convention of -DARDUINO_{build.board}, where "build.board" is a unique name for each board...
  13. Replies
    38
    Views
    6,274

    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.
  14. 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. ...
  15. 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...
  16. 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...
  17. 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.
  18. 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...
  19. Replies
    7
    Views
    158

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

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

    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.
  21. Replies
    7
    Views
    158

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

    I do not recall it ever working.
  23. 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,...
  24. Replies
    9
    Views
    240

    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...
  25. Replies
    52
    Views
    4,173

    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...
  26. Replies
    2
    Views
    83

    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...
  27. 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,...
  28. 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...
  29. 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...
  30. Replies
    1
    Views
    49

    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...
  31. Replies
    2
    Views
    46

    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...
  32. 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...
  33. Replies
    9
    Views
    240

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

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

    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...
  36. Replies
    34
    Views
    568

    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...
  37. Replies
    1
    Views
    43

    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,...
  38. Replies
    34
    Views
    568

    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...
  39. Replies
    14
    Views
    143

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

    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...
  41. Replies
    14
    Views
    143

    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...
  42. Replies
    14
    Views
    143

    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...
  43. 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...
  44. 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...
  45. 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. ...
  46. 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...
  47. Replies
    7
    Views
    239

    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...
  48. 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...
  49. Replies
    122
    Views
    8,338

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

    Temporarily disable Windows Defender.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4