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

    That part is this diode. 18876 If the other...

    That part is this diode.

    18876

    If the other diode and nearby parts are still ok, maybe try adding a coin cell or an external 3.3V power supply to VBAT. This diode is only needed for the chip...
  2. If using the "Quick Reply" editor, click the "Go...

    If using the "Quick Reply" editor, click the "Go Advanced" button. The advanced editor lets you attach PDF and other files to your message.
  3. Must admit, I'm stumped too. We do test every...

    Must admit, I'm stumped too. We do test every audio shield here, which does do a test on both its ADC and DAC sections. How it could create 1.6V but not work is a mystery to me.

    I've asked Robin...
  4. Replies
    1
    Views
    23

    There is already a Mouse + Keyboard + Joystick...

    There is already a Mouse + Keyboard + Joystick option. Maybe just use that?

    Many people have created custom descriptors, which have been discussed many times on this forum. Maybe you can find...
  5. It really depends on what you mean by "possible"....

    It really depends on what you mean by "possible".

    If using only the USB code we publish for Teensy, doing everything from the comfort of simple Arduino programming, then no, not possible. The...
  6. Replies
    8
    Views
    420

    No, the main USB connector is only supported as...

    No, the main USB connector is only supported as USB device.

    For USB host on Teensy 4.0, you need to access the bottom side pads. Details here:
    ...
  7. MC3486 should also work. It requires 85 mA...

    MC3486 should also work. It requires 85 mA current, almost as much as Teensy 4.0 running at 600 MHz, so if you're running the whole thing on USB power make sure you're plugged into a PC or powered...
  8. Very little has happened on this. A very long...

    Very little has happened on this. A very long list of features needed on Teensy 4.0 has taken precedence. If you look at the pretty incredible number of changes in 1.48 and 1.49, it's pretty clear...
  9. Is this Linux? ModemManager tends to do this...

    Is this Linux?

    ModemManager tends to do this on Linux. Ubuntu (and maybe others) changed ModemManager's default filter policy months ago, exposing a bug where it no longer respected the udev...
  10. 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...
  11. 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...
  12. Replies
    58
    Views
    4,404

    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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. Replies
    25
    Views
    4,087

    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...
  19. 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...
  20. 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
    ...
  21. 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...
  22. Replies
    38
    Views
    6,363

    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.
  23. 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. ...
  24. 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...
  25. 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...
  26. 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.
  27. 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...
  28. Replies
    10
    Views
    232

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

    They updated revisions.txt just yesterday, in prep for the release next week.
  29. Replies
    10
    Views
    232

    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.
  30. Replies
    10
    Views
    232

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

    I do not recall it ever working.
  32. 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,...
  33. Replies
    9
    Views
    247

    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...
  34. Replies
    58
    Views
    4,404

    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...
  35. Replies
    2
    Views
    88

    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...
  36. 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,...
  37. 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...
  38. 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...
  39. Replies
    1
    Views
    52

    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...
  40. Replies
    2
    Views
    51

    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...
  41. 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...
  42. Replies
    9
    Views
    247

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

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

    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...
  45. Replies
    34
    Views
    575

    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...
  46. Replies
    1
    Views
    47

    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,...
  47. Replies
    34
    Views
    575

    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...
  48. Replies
    14
    Views
    147

    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...
  49. Replies
    4
    Views
    127

    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...
  50. Replies
    14
    Views
    147

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