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.13 seconds.

  1. Ah, the NMI pin strikes again. This is...

    Ah, the NMI pin strikes again.

    This is actually mentioned in the Troubleshooting section on the MKL02 page.
  2. Is there any chance these chips might have been...

    Is there any chance these chips might have been pre-programmed with someone else's firmware?

    Even if they're not blank, even if security is locked, the bootloader should still manage to erase and...
  3. Replies
    3
    Views
    56

    The sad reality is many more minor errors are...

    The sad reality is many more minor errors are lurking in those 3437 pages. Some of them confused me for many hours too!
  4. Replies
    3
    Views
    56

    Yup, it's an error in NXP's documentation.

    Yup, it's an error in NXP's documentation.
  5. That's even more mysterious! A virgin MK20 chip...

    That's even more mysterious! A virgin MK20 chip is supposed to be pulsing its reset line low, as it will be repeatedly watchdog rebooting. Normally a DC voltmeter will read about 0.2 to 0.3 volts,...
  6. Well, that's quite a mystery. Every Teensy 3.2...

    Well, that's quite a mystery. Every Teensy 3.2 is built with a virgin MK20 chip and works fine.

    Is there any chance this might have been just a soldering issue with 1 chip? Do you have more than...
  7. That file exists because I've been planning to...

    That file exists because I've been planning to add this to Teensy's core library for a very long time. But the FS.h in 1.53's teensy3 folder isn't functional. It's more of a placeholder or...
  8. The good news is chips like PCM1502A are really...

    The good news is chips like PCM1502A are really simple. To interface with Teensy, you just connect the I2S data and 3 clock signals. Some chips use different names so you need to figure out which...
  9. You need AudioMemory() in setup(). See any of...

    You need AudioMemory() in setup(). See any of the examples in File > Examples > Audio.

    To get a ADSR or AD style control signal, you would feed the DC output through an envelope effect. For only...
  10. Just to confirm, which version of Teensyduino do...

    Just to confirm, which version of Teensyduino do you have installed? In Arduino, click Help > About to check.

    Serial1.addMemoryForRead() is relatively new for Teensy 3.x.
  11. Replies
    10
    Views
    318

    About your 2 questions... To answer...

    About your 2 questions...




    To answer directly, yes, you probably would see some improvement, but it's unlikely to be enough. This approach is simply not a good way to read a switch.
  12. Replies
    10
    Views
    318

    A quick search turned up this schematic. 23910...

    A quick search turned up this schematic.

    23910

    Is this the switch you're using?
  13. I've updated the Teensy 3.2 page...

    I've updated the Teensy 3.2 page, under Power > VIN Pin, with a link to this thread. Hopefully if anyone else cuts the trace and needs to repair, it will help them find this info.
  14. It found a chip with address 0x1F. From within...

    It found a chip with address 0x1F. From within the library:



    #define FXOS8700_I2C_ADDR0 0x1E // SA1 = Gnd, SA0 = Gnd
    #define FXOS8700_I2C_ADDR1 0x1D // SA1 = Gnd, SA0 =...
  15. Yes. Or just run the Arduino installer again. ...

    Yes. Or just run the Arduino installer again. It will automatically uninstall before installing the new copy.
  16. After downloading, you do need to actually run...

    After downloading, you do need to actually run the installer. Quit Arduino before you run it.

    If using Windows with Arduino installed the default way (the EXE installer, not the Windows store...
  17. Get 1.54-beta7 here:...

    Get 1.54-beta7 here:
    https://forum.pjrc.com/threads/66357-Teensyduino-1-54-Beta-7
  18. First run File > Examples > Wire > Scanner to...

    First run File > Examples > Wire > Scanner to check which I2C devices are really connected and what addresses they are actually using.
  19. First, upgrade to 1.54-beta7, if you haven't...

    First, upgrade to 1.54-beta7, if you haven't already. The old slow SD lib is gone, now just a wrapper for fast SdFat.

    You may need to use IntervalTimer to run your code that collects incoming...
  20. Replies
    2
    Views
    70

    It depends. A typical modern PC might have 14...

    It depends.

    A typical modern PC might have 14 USB ports (including internal ones on motherboard headers), but only 3 USB controllers. Generally speaking, all the physical ports from the same...
  21. Replies
    9
    Views
    156

    I don't know. I haven't tested these ancient...

    I don't know. I haven't tested these ancient LCDs in quite some time.

    I wrote LiquidCrystalFast over 10 years ago, when we only had slow 8 bit boards. It was designed to get the best performance...
  22. Kurt is right. The Teensy 4.x hardware simply...

    Kurt is right. The Teensy 4.x hardware simply does not support enough endpoints to add a 4th CDC serial.

    But it could be done on Teensy 3.x. Each CDC serial needs 2 endpoints (1 bidirectional...
  23. Replies
    9
    Views
    156

    First a word of caution. These displays usually...

    First a word of caution. These displays usually run with 5V power. Of the 32 bit Teensy models, only 3.2 and 3.5 are 5V tolerant.

    The 6 signal mode is safe, because all 6 signals are always in...
  24. Replies
    2
    Views
    88

    Not all of the chip's pins can come to the...

    Not all of the chip's pins can come to the outside pins on Teensy. Some are connected to the ethernet and flash chips on the PCB. Some aren't connected to anything at all, only because it's not...
  25. This probably won't help much, but here's a page...

    This probably won't help much, but here's a page written 10 years ago when I tested Oleg's original hardware (long before any Chinese clones existed) with Teensy 2.0 and Teensy++ 2.0, which were the...
  26. Please show complete programs. Even if the rest...

    Please show complete programs. Even if the rest of the code is trivial, it is much easier to answer if we can copy the code into Arduino and run on a Teensy without the work of adding (guessing) the...
  27. The connector is a "magjack", which means is more...

    The connector is a "magjack", which means is more than just a plain RJ45. It has the ethernet magnetic coupling parts built in.

    The kit does more or less just break out the pins, but to a...
  28. USB can do 2 meters. It's the way needing the...

    USB can do 2 meters. It's the way needing the least amount of extra hardware, just a good quality 2 meter cable. USB provides power, but for 2 meters make sure the cable has #24 or larger wires for...
  29. Good point. The documentation on the USB serial...

    Good point. The documentation on the USB serial page says: "Initialize the Serial object. The baud rate is ignored and communication always occurs at full USB speed."

    I've updated that page with...
  30. You can generally expect Teensy 4.0 & 4.1 to give...

    You can generally expect Teensy 4.0 & 4.1 to give about 25% better DSP performance than STM32H7.

    They have exactly the same Cortex-M7 processor, but Teensy's runs at 600 MHz compared to only 480...
  31. Replies
    351
    Views
    40,444

    Well, this is also a discussion of pinout & form...

    Well, this is also a discussion of pinout & form factor for the next Teensy.
  32. Replies
    17
    Views
    1,293

    Like most details of the audio library, it's...

    Like most details of the audio library, it's documented in the design tool.

    23887

    If you click any of these 3 outputs in the left column, their documentation appears in the right side column. ...
  33. Replies
    41
    Views
    1,279

    I've updated the Serial.rts() documentation on...

    I've updated the Serial.rts() documentation on the website to mention this Windows bug, with a link to this thread.

    https://www.pjrc.com/teensy/td_serial.html
  34. Replies
    107
    Views
    4,937

    Quick followup to this old thread, 1.47-beta7...

    Quick followup to this old thread, 1.47-beta7 adds more detailed printing of memory usage. It does most but not all of the things discussed here.

    This is the source code:...
  35. Replies
    8
    Views
    529

    I unblocked this IP.

    I unblocked this IP.
  36. I've updated the 6 main product pages to have the...

    I've updated the 6 main product pages to have the word "analogWriteFrequency" (in the Digital Pins > PWM section) link directly to the part of the PWM page about controlling the frequency and which...
  37. The purpose here is to improve compatibility with...

    The purpose here is to improve compatibility with code designed using Arduino Uno & Mega, even if we can't get to the bottom of what really went wrong with JaredReabow's system.

    I do not believe...
  38. Replies
    10
    Views
    335

    Thanks everyone! ;)

    Thanks everyone! ;)
  39. Replies
    7
    Views
    148

    This is how I2S works. Teensy sends BCLK and...

    This is how I2S works.

    Teensy sends BCLK and LRCLK to the SGTL5000 chip. Then it transmits data bits on each BCLK. In the mode we use, the SGTL5000 has no control over the clocks. It has to use...
  40. On the Teensy 4.1 page: ...

    On the Teensy 4.1 page:

    https://www.pjrc.com/store/teensy41.html

    Scroll down to "Software" and look for "Command Line with Makefile".

    We use an older version of gcc. Sometimes newer...
  41. I've merged the latest code, moved the constants...

    I've merged the latest code, moved the constants into the class private members, and taken a few small liberties with the public API to make it similar to the rest of the audio library.
    ...
  42. Hypothetically... if I were to add this for...

    Hypothetically... if I were to add this for Teensy LC - 4.1, which PC-side software should I use for testing?

    A big question I have, which can probably only be answered by experimenting, is...
  43. I've updated the pinlist example. ...

    I've updated the pinlist example.

    https://github.com/PaulStoffregen/OctoWS2811/commit/affd97eb9d670cdabeedf94e2f78013f833a6216
  44. Replies
    37
    Views
    1,401

    Yes. SD was changed to a thin wrapper around...

    Yes. SD was changed to a thin wrapper around SdFat (so all SD card access is SdFat) back at 1.54-beta3.

    https://forum.pjrc.com/threads/64235-Teensyduino-1-54-Beta-3
  45. Even though the while (!Serial) doesn't explain...

    Even though the while (!Serial) doesn't explain the lockup where pressing the pushbutton was needed, I do believe it's time to reconsider the previously failed attempt to have Serial.begin() wait.
    ...
  46. Replies
    11
    Views
    354

    Two things... 1: The same PCB is used for both...

    Two things...

    1: The same PCB is used for both Teensy 3.5 and 3.6.

    2: This was my first BGA and first 6 layer PCB design, which was done under time pressure for a Kickstarter campaign launch. ...
  47. Before merging this to the audio library, I want...

    Before merging this to the audio library, I want to see these new constants moved either inside the class definition (eg, at static const types) or to the cpp file. I can do it, if you would like to...
  48. Replies
    5
    Views
    133

    Lower source impedance allows for the voltage...

    Lower source impedance allows for the voltage sampling capacitor inside the chip to charge (or discharge) to the right voltage during the limited time for sampling, and it also helps overcome small...
  49. Hopefully this can help? ...

    Hopefully this can help?

    https://forum.pjrc.com/threads/60599?p=238070&viewfull=1#post238070

    There's a photo of the wiring and a video demo!

    This particular microphone has a DC offset. You...
  50. Try uncommenting this line...

    Try uncommenting this line in usb.c



    //USB1_PORTSC1 |= USB_PORTSC1_PFSC; // force 12 Mbit/sec
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4