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. 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.
  2. 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 =...
  3. 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.
  4. 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...
  5. Get 1.54-beta7 here:...

    Get 1.54-beta7 here:
    https://forum.pjrc.com/threads/66357-Teensyduino-1-54-Beta-7
  6. 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.
  7. 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...
  8. Replies
    2
    Views
    52

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

    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...
  10. 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...
  11. Replies
    8
    Views
    120

    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...
  12. Replies
    2
    Views
    69

    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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. Replies
    331
    Views
    39,851

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

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

    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. ...
  21. Replies
    41
    Views
    1,265

    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
  22. Replies
    107
    Views
    4,902

    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:...
  23. Replies
    8
    Views
    487

    I unblocked this IP.

    I unblocked this IP.
  24. 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...
  25. 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...
  26. Replies
    10
    Views
    318

    Thanks everyone! ;)

    Thanks everyone! ;)
  27. Replies
    7
    Views
    141

    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...
  28. 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...
  29. 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.
    ...
  30. 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...
  31. I've updated the pinlist example. ...

    I've updated the pinlist example.

    https://github.com/PaulStoffregen/OctoWS2811/commit/affd97eb9d670cdabeedf94e2f78013f833a6216
  32. Replies
    36
    Views
    1,320

    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
  33. 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.
    ...
  34. Replies
    11
    Views
    346

    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. ...
  35. 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...
  36. Replies
    5
    Views
    131

    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...
  37. 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...
  38. Try uncommenting this line...

    Try uncommenting this line in usb.c



    //USB1_PORTSC1 |= USB_PORTSC1_PFSC; // force 12 Mbit/sec
  39. First, a quick disclaimer, this message isn’t a...

    First, a quick disclaimer, this message isn’t a contractual promise or guarantee or legal advice.

    PJRC currently has no plans to discontinue Teensy LC or any of the 32 bit products. While I can’t...
  40. Just to repeat, I did indeed run the code you...

    Just to repeat, I did indeed run the code you shared on a Teensy 4.1 here. I was able to upload several times without pressing the pushbutton. I can’t explain the behavior you have described. But...
  41. This is a really intriguing idea, to just use...

    This is a really intriguing idea, to just use ethernet as a raw serial-like byte stream at 100 Mbit speed. Or maybe as a raw packet delivery?

    If the ethernet mac is configured in promiscuous mode...
  42. Maybe Teensy is transmitting "*** ONLINE ***"...

    Maybe Teensy is transmitting "*** ONLINE ***" before your PC is able to complete USB detection, and then you interpret the lack of that message as the USB device not working? But that doesn't...
  43. Replies
    8
    Views
    235

    Nope. The cards are always included for...

    Nope. The cards are always included for distributors. The distributors get the cards bulk packaged, usually in sets of 100.

    But mistakes and misunderstandings can happen. Sometimes a person...
  44. Replies
    8
    Views
    235

    I'm really sorry this happened. Every Teensy is...

    I'm really sorry this happened. Every Teensy is always supposed to come with the documentation card.

    Robin & I will contact TinyTronics....

    If you want the original printed card (which is much...
  45. I might be reading too much into your question,...

    I might be reading too much into your question, but it sure sounds like you have a misunderstanding how of how programming Teensy really works.

    The "Arduino language" really is just C++ which very...
  46. Replies
    8
    Views
    256

    I believe you should test without the Moxa...

    I believe you should test without the Moxa products. If the same error happens with both plugged into the same LAN, that is much easier to reproduce and investigate.

    If the error only happens...
  47. Which Teensy pins each configuration of input &...

    Which Teensy pins each configuration of input & output uses are also documented in the design tool right-side panel.
  48. The answer depends on so many unknowns. Nobody...

    The answer depends on so many unknowns. Nobody could possibly give you a definitive answer. The best anyone can do is help you figure out which things you need to know, or just make up some numbers...
  49. Replies
    2
    Views
    72

    Yup, PCM1808 is really simple. You can use...

    Yup, PCM1808 is really simple. You can use either I2S or I2S2 on Teensy 4.x. Just connect the 4 signals. MCLK is named SCKI on that chip. The other 3 have names the same as Teensy uses.
    ...
  50. That's not how unwanted ground loop currents...

    That's not how unwanted ground loop currents work. They change the observed signal by altering the ground reference. The signal could be absolutely perfect, but if you alter the ground voltage seen...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4