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 53 minute(s) ago.

  1. Replies
    6
    Views
    95

    Yes, Teensy 3.5 is 5V tolerant on those pins. So...

    Yes, Teensy 3.5 is 5V tolerant on those pins. So you can use pullup resistors to 5V. You can use 5V I2C chips without a level converter.
  2. I've never used the TPM timer this way. But from...

    I've never used the TPM timer this way. But from the manual, it seems PTE29 (the DAC pin) is the only pin available on Teensy LC which can be used as a clock for the TPM timer. According to page...
  3. Replies
    2
    Views
    68

    You're (probably) not including the correct...

    You're (probably) not including the correct headers. You need to include Arduino.h or wiring.h to get CORE_TEENSY. Arduino does this automatically for all .ino and .pde files. But if you create...
  4. Replies
    5
    Views
    648

    Pin 12 is only used by the videodisplay example. ...

    Pin 12 is only used by the videodisplay example. It's not used internally by the library, so you can use all the SPI pins.

    OctoWS2811 even has a VideoSDcard example which has been used on Teensy...
  5. Ah, looking at the code again (it's been quite a...

    Ah, looking at the code again (it's been quite a while since I wrote the PDM input code), it probably will not play nice with I2S output. To get the signal out, use Teensy 3.6's built in 12 bit DAC.
  6. Have you tested your UDA1334, like with the...

    Have you tested your UDA1334, like with the synth-only examples like Synth > Guitar?
  7. Replies
    14
    Views
    1,919

    Sticky: This is a known bug with OpenJDK used by Arduino...

    This is a known bug with OpenJDK used by Arduino 1.8.11 and 1.8.12. It has nothing to do with Teensyduino. Those versions of Arduino (without Teensyduino) will crash the same way. More info here:...
  8. Replies
    21
    Views
    1,405

    Maybe you're using an old version of Teensyduino?...

    Maybe you're using an old version of Teensyduino? To check, in Arduino click Help > About (or Arduino > About if using Macintosh).

    Versions older than 1.50 have a known bug affecting soft reboot....
  9. In Arduino, click File > Preferences, and turn on...

    In Arduino, click File > Preferences, and turn on verbose output while compiling. Then Arduino will show you the exact commands it is using to run the compiler. You'll see -D__IMXRT1062__ is one of...
  10. DMM continuously sends a test current through...

    DMM continuously sends a test current through whatever you're measuring, and then looks for the voltage to be below some threshold. Exactly what current and voltage vary quite a lot depending on the...
  11. Replies
    10
    Views
    95

    Often the "easy" solution is to just edit the...

    Often the "easy" solution is to just edit the serial code to make the receive buffer much larger. Exactly which file to edit depends on which Teensy model you're using.
  12. Replies
    10
    Views
    95

    However, the problem you're seeing is very likely...

    However, the problem you're seeing is very likely an issue with overflowing the receive buffer. Focusing your attention on the transmitter timing is probably just a distraction.

    But first, you...
  13. Replies
    10
    Views
    95

    I'm pretty sure you're asking the wrong question,...

    I'm pretty sure you're asking the wrong question, but I'll try to answer anyway.



    This is what Serial1.flush() does. It waits until everything has been transmitted.

    You can also use...
  14. Replies
    13
    Views
    201

    The "debug" menu item causes gcc to be run with...

    The "debug" menu item causes gcc to be run with "-Og", which gcc's documentation describes as "-Og enables all -O1 optimization flags except for those that may interfere with debugging". It does...
  15. Replies
    14
    Views
    261

    Or still learning how to ask strangers on the...

    Or still learning how to ask strangers on the internet for tech help.

    Seriously though, you can get much better help if you give us context to understand what you're trying to accomplish. A...
  16. You might have an easier path to create a custom...

    You might have an easier path to create a custom audio processing object within the library, rather than go to the trouble of using the queues to transfer streaming data to your program. To do this,...
  17. Replies
    13
    Views
    201

    LTO means Link Time Optimization. Normally...

    LTO means Link Time Optimization.

    Normally each file is complied to "relative" machine code, meaning placeholders are left for the addresses of functions and variables from other files. Then the...
  18. Sounds like the Teensy is working. Please try...

    Sounds like the Teensy is working.

    Please try a different USB cable. Even if the cable works on Teensy 3, it maybe a case of a marginal cable that works at 12 Mbit speed but doesn't work with 480...
  19. Very strange problem. Maybe try the 15 second...

    Very strange problem. Maybe try the 15 second restore. Hold the button for approx 15 seconds. Release when you see the red LED flash.

    Teensy 4.0 will do a complete wipe of the flash chip and...
  20. What version is Teensy Loader? Click Teensy >...

    What version is Teensy Loader? Click Teensy > About to check.
  21. No, not really. If you look at the schematic,...

    No, not really. If you look at the schematic, Program doesn't connect to the main chip at all. It only connects to the MKL02 chip. If Program is stuck low, something had gone wrong with the MKL02...
  22. Replies
    14
    Views
    261

    Yes, digitalWriteFast() can easily toggle pins...

    Yes, digitalWriteFast() can easily toggle pins that fast.

    But you will probably need to disable interrupts and maybe write some tricky code to get the timing right.
  23. Replies
    9
    Views
    271

    The early 1052 betas used the small 10mm size...

    The early 1052 betas used the small 10mm size chip. The PCB was bigger only because I had not yet found a way to route so many wires in the normal Teensy form factor. All that extra PCB real estate...
  24. Does pin 17 still work? Those 2 are routed close...

    Does pin 17 still work? Those 2 are routed close to each other and GND (17 is closer) on the PCB.
  25. The Program pin at 0.3V when not pressing the...

    The Program pin at 0.3V when not pressing the button sounds like hardware damage. It's normally supposed to be 3.3V, due to an internal pullup from the MKL02 chip.

    When Program is low, the MKL02...
  26. There are 2 different types of timers inside the...

    There are 2 different types of timers inside the chip which generate PWM. Some pins are controlled by FlexPWM. Other are QuadTimer.
  27. Replies
    14
    Views
    261

    The PWM pins can do it, without any software...

    The PWM pins can do it, without any software overhead.



    void setup() {
    analogWriteFrequency(2, 10000000);
    analogWrite(2, 128);
    }

    void loop() {
  28. That's the IMXRT1060 Manual, which you can get...

    That's the IMXRT1060 Manual, which you can get here.

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

    However, page 3161 is from an oldest public version of the manual for the chip used in the beta...
  29. Replies
    76
    Views
    3,857

    Does "on hold" or "paused" count as a schedule? ...

    Does "on hold" or "paused" count as a schedule?

    Realistically, that's the situation right now as Robin & I struggle to keep PJRC running without 2 employees.
  30. Replies
    76
    Views
    3,857

    To be honest, I merged this pull request without...

    To be honest, I merged this pull request without any testing, other than making sure it didn't break anything on Teensy 3.x and 4.0. Since nothing has worked on LC, it didn't seem like much risk.
    ...
  31. Did you solder those header pins, or was the...

    Did you solder those header pins, or was the board purchased with the pins already soldered?

    Looking at your photo, there might be some sort of material on the side of the MKL02 chip. Difficult...
  32. Erin (aka Soldering Goddess) left PJRC about 1...

    Erin (aka Soldering Goddess) left PJRC about 1 year after the Teensy 3.6 release. She had working here nearly 5 years. We were sad to see her go, but honestly a person of her caliber really should...
  33. Replies
    16
    Views
    293

    If you lose power during the restore process, you...

    If you lose power during the restore process, you can always just start it again and let it finish.

    But usually the first fraction of a second of the restore process is enough to get your Teensy...
  34. Replies
    6
    Views
    99

    If any of the 3 things I mentioned in msg #23 on...

    If any of the 3 things I mentioned in msg #23 on that thread have happened, please comment on that thread (not here) with details.

    All 3 things must occur before I will work on MIDI 2.0 support...
  35. Replies
    16
    Views
    293

    Yup, pretty much like that. Several functions...

    Yup, pretty much like that.

    Several functions in usb.c are not needed if you only do USB control transfers (never bulk, interrupt, isochronous). If you don't use USB at all, you can delete all of...
  36. Good news, 1.52-beta1 supports 4, 6 and 8 channel...

    Good news, 1.52-beta1 supports 4, 6 and 8 channel I2S input. More good news, the BCLK/LRCLK ratio is 64 (unlike Teensy 3.x quad I2S) so you can use it for those mems mics.

    So you can connect all...
  37. Just a quick update - PJRC is still up and...

    Just a quick update - PJRC is still up and running, but it's down to just Robin & me. We asked our hourly employees to stay home starting last week, and Oregon now has a "shelter in place" order. ...
  38. You can't use DMAMEM with malloc() or C++ new. ...

    You can't use DMAMEM with malloc() or C++ new. It's for static allocation only. Just leave it out.
  39. This code exists for Teensy LC, 3.2, 3.5, 3.6 and...

    This code exists for Teensy LC, 3.2, 3.5, 3.6 and 4.0. You just edit usb_desc.h and change the line for 64 byte report size. The rest of the code checks for report size and switches to a joystick...
  40. We see this problem pretty regularly here, since...

    We see this problem pretty regularly here, since most of the Arduino examples have "while (!Serial) ;" and people forget or don't know to remove that code. If you search for the right terms, I'm...
  41. Old versions all the way back to 0.95 are still...

    Old versions all the way back to 0.95 are still on the server. Just edit the link as Frank described.

    Eventually the server's disk space will fill up (unless we upgrade) but so far we're at 56%,...
  42. Any chance it really is booting properly, but...

    Any chance it really is booting properly, but there may be something like a "while (!Serial) ; " in your code that's waiting for USB?
  43. In Arduino, click File > Examples > OctoWS2811 >...

    In Arduino, click File > Examples > OctoWS2811 > SpectrumAnalyzer.

    It works very well with Teensy 3.2 and 1920 LEDs, refreshing the entire display at ~86 Hz (every 512 audio samples).

    The key...
  44. Replies
    5
    Views
    125

    There is basically no point to add the RAM chip...

    There is basically no point to add the RAM chip if you're using Teensy 4.0. The only supported chip adds 128K of RAM. Teensy 4.0 has 1024K internally. Best to just use Teensy's RAM, which is much...
  45. Yes, it was built on 10.14. I tested it here on...

    Yes, it was built on 10.14. I tested it here on 10.12, and I've heard confirmation from others that it does run on 10.10 and 10.11.

    Looks like this problem is specific to 10.13. Why, I do not...
  46. Replies
    8
    Views
    324

    I can confirm it's 0.22uF. This one on the...

    I can confirm it's 0.22uF. This one on the schematic:

    19440

    It's "only" a decoupling capacitor between 3.3V and GND. There are several others, so the board should (probably) work without it....
  47. Replies
    179
    Views
    15,197

    Sure, let's chat of the current events on another...

    Sure, let's chat of the current events on another thread. Please feel free to start one in general discussion, and post a link to it here.

    Then we'll temporarily close this thread. Plenty of...
  48. Replies
    4
    Views
    292

    Sorry, almost all the library pages still haven't...

    Sorry, almost all the library pages still haven't been updated, even though nearly all the libraries have been ported. I keep falling behind on trying to do too many things, and the website...
  49. 4 bit SDIO is used automatically by the SD...

    4 bit SDIO is used automatically by the SD library when you use BUILTIN_SDCARD rather than a pin number for CS. That's the easy part.

    But the actual transfer rate depends on much more than just...
  50. It's this one, 0.22 uF. 19384

    It's this one, 0.22 uF.

    19384
Results 1 to 50 of 494
Page 1 of 10 1 2 3 4