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

  1. Yes, FastLED can use OctoWS2811 as a "driver", so...

    Yes, FastLED can use OctoWS2811 as a "driver", so you use FastLED to do all the color & animation stuff and it uses OctoWS2811 to actually talk to the hardware. You get the best of both worlds......
  2. The 4682 product should work fine with Teensy...

    The 4682 product should work fine with Teensy 4.1.

    The 254 one might need slower SPI clock, because of delay from its buffer chip.
  3. I've updated the SdFat_Usage example to show how...

    I've updated the SdFat_Usage example to show how to use SPI1.

    https://github.com/PaulStoffregen/SD/commit/9912b57a0fa05de883ae8a0953386cbaf054b37b

    Here is a ready to go copy.



    /*
    SdFat...
  4. First, make sure you have the latest Teensyduino...

    First, make sure you have the latest Teensyduino (version 1.56). Versions older than 1.54 can't possibly use SPI1. In Arduino, click Help > About to check.

    You'll need to use the SdFat begin()...
  5. Replies
    5
    Views
    188

    Just to answer your "idea of what is going on"...

    Just to answer your "idea of what is going on" question, from the info you've given, sounds like the board is mistakenly going into bootloader mode as if you had pressed the pushbutton. So perhaps...
  6. Can you give me a link to DiskIOV2? Maybe 1 or...

    Can you give me a link to DiskIOV2?

    Maybe 1 or more functions which should be FLASHMEM are PROGMEM? Normally FLASHMEM is for functions and PROGMEM is for variables. But if you have no PROGMEM...
  7. Replies
    5
    Views
    188

    Might be a hardware problem. Did you buy this...

    Might be a hardware problem. Did you buy this Teensy 3.2 direct from PJRC, or through a distributor?
  8. I ran it here on a Teensy 3.6 connected to a...

    I ran it here on a Teensy 3.6 connected to a Raspberry Pi 4. Seems to work fine.

    27232

    (fwiw, this screenshot is a window on my Ubuntu 20.04 PC desktop machine, remotely logged into the Pi)
  9. Replies
    8
    Views
    127

    TeensyControls is an X-Plane plugin. It runs on...

    TeensyControls is an X-Plane plugin. It runs on your Mac or PC, not on Teensy.

    Then for the Teensy side, you click Tools > USB Type and select Flight Sim Controls. There is no additional library...
  10. Seems reasonable to support a bool operator like...

    Seems reasonable to support a bool operator like the other USB device classes.

    It should probably be based on whether we've received OpenSession and not CloseSession. Windows sends OpenSession...
  11. I'm not familiar with how LittleFS actually...

    I'm not familiar with how LittleFS actually stores the filename. Do you know? Does increasing to 256 chars cost much?
  12. I tried but could not reproduce this issue. ...

    I tried but could not reproduce this issue.

    First I renamed a file on the SD card to "06abc678901234567890123456789.jpg". Then I copied to the Windows desktop, then copied it to the SPI flash...
  13. Yes, Frank is correct, at least a CRC should be...

    Yes, Frank is correct, at least a CRC should be used. I believe Defraster's testing involves a full binary compare of the copied files against the originals.

    But the (old) problem of going too...
  14. I see the audio shield in your photo. Please be...

    I see the audio shield in your photo. Please be aware the audio shield will not respond to I2C without MCLK. The chip remains in a low power mode and simply can not work at all until it has a clock...
  15. Replies
    1
    Views
    138

    Not EOL. Teensy 3.2, 3.5, 3.6 are only...

    Not EOL. Teensy 3.2, 3.5, 3.6 are only temporarily out of stock, due to chip shortage. Chips have been ordered (they were actually ordered just slightly over 1 year ago, in January 2021). These...
  16. I didn't do anything in the rewrite to address...

    I didn't do anything in the rewrite to address Windows becoming impatient if the write speed is under ~85 Kbytes/sec
  17. Also, and hopefully this isn't too "obvious", the...

    Also, and hopefully this isn't too "obvious", the default Serial1 receive buffer is only 64 bytes. Unless you've used attachRts() and whatever is sending the data stops when RTS signals Teensy's...
  18. I don't know why. I would like to investigate,...

    I don't know why. I would like to investigate, but I need a reasonably small test program to reproduce the problem. I looked briefly as your ZIP file. It is 21 files with a total of 7758 lines. ...
  19. Maybe you're using an older version of...

    Maybe you're using an older version of Teensyduino or FastLED? Timing bugs were fixed some time ago, so you should check that you're running Teensyduino 1.56. In Arduino, click Help > About to see...
  20. We need to keep in mind these tests copying...

    We need to keep in mind these tests copying thousands of tiny files are not the expected usage pattern. Slow performance and inefficient use of space are an acceptable result. If we can improve...
  21. I committed support for UTF8, so filenames,...

    I committed support for UTF8, so filenames, storage names and other strings can have international characters and symbols.
    ...
  22. Not really odd at all. 27208 30 MHz is the...

    Not really odd at all.

    27208

    30 MHz is the maximum rated SPI frequency. Anything over 30 MHz is overclocking, which often works, but should not be expected 100% reliable!

    Even at 30 MHz,...
  23. The I2S mic is best, since it doesn't need CPU...

    The I2S mic is best, since it doesn't need CPU time to low pass filter the bitstream.

    This should be the required connection.

    SCK -> BCLK1 -> Arduino 21 -> M.2 pin 50
    WS -> LRCLK1 -> Arduino...
  24. I haven't tried to use them yet. I believe they...

    I haven't tried to use them yet. I believe they may be wired to the wrong pins?
  25. I made a couple commits to fix issues that come...

    I made a couple commits to fix issues that come up with the Android File Transfer app on MacOS. Files can now be copied from Mac to Teensy.
  26. I have 2 of those W25N02KVZEIR chips left. ...

    I have 2 of those W25N02KVZEIR chips left. You're welcome to have them both. Just let me know how you want them... soldered to boards or loose in a bag?
  27. For global variables, I do not know of any way to...

    For global variables, I do not know of any way to use the convenient "string literal" syntax for a char pointer. I believe both of the ways you mentioned work, though using the fixed array size...
  28. Replies
    9
    Views
    199

    Recommend using Arduino 1.8.19 and Teensyduino...

    Recommend using Arduino 1.8.19 and Teensyduino 1.56, at least for testing. With PlatformIO, copies of old libraries are a common problem. So are variation in settings with INI files. Test with the...
  29. Yes. Just connect the cathode to ground. Of...

    Yes. Just connect the cathode to ground. Of course, use reasonable resistors, like 150 ohms or higher.
  30. I've updated the PT8211 page with schematics for...

    I've updated the PT8211 page with schematics for both T3 and T4 versions.

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

    Hopefully that helps?
  31. Replies
    10
    Views
    401

    More European links ...

    More European links

    https://www.tinytronics.nl/shop/en/development-boards/microcontroller-boards/teensy/teensy-3.5

    https://www.berrybase.de/dev.-boards/teensy/teensy-3.5-ohne-header
    ...
  32. DBT_DEVICEARRIVAL means Windows just detected a...

    DBT_DEVICEARRIVAL means Windows just detected a new device connected to your computer, and DBT_DEVICEREMOVECOMPLETE means Windows just realized a device disconnected.
  33. Just in case anyone's wondering, the "Win2G" chip...

    Just in case anyone's wondering, the "Win2G" chip is from Winbond and the full part number is W25N02KVZEIR.

    "Win1G" is (probably) Winbond W25N01GVZEIG.

    Both of these are NAND flash, where some...
  34. Are there any build photos of it connected &...

    Are there any build photos of it connected & running?
  35. On the question of anticipated usage, I would...

    On the question of anticipated usage, I would imagine nearly all uses will have no more than 4 filesystems "stores", and the majority will probably use just 1. Likewise, I would imagine most people...
  36. I'm not seeing any obvious errors with the...

    I'm not seeing any obvious errors with the protocol analyzer during startup. It might be that everything is "working" but MacOS is much quicker than Windows and gets empty data before we're ready,...
  37. I started testing with Android File Transfer for...

    I started testing with Android File Transfer for MacOS.

    First, fixed a bug which was causing a wrong GetStorageIDs response.
    ...
  38. I will look at this late tonight or early...

    I will look at this late tonight or early tomorrow. Would really help me if this problem could be reproduced with a smaller test. This test is probably much too large for the protocol analyzer to...
  39. The 74LV1T125 on Teensy LC is mainly meant to...

    The 74LV1T125 on Teensy LC is mainly meant to send a 5V signal to WS2812 addressable LEDs. A buffer chip gives similarly fast rise and fall times, which preserves the pulse width.

    With a single...
  40. Yes. I'm done making major changes in...

    Yes. I'm done making major changes in MTP_Teensy.cpp. Well, with the caveat that the event stuff might get similar work in a few weeks. But major changes that break github merge should be settled...
  41. This also works on 1.56, and should work 1.55 and...

    This also works on 1.56, and should work 1.55 and 1.54.



    void setup() {
    while (!Serial) ;
    uint64_t n = 0x123456789ABCDEF;
    Serial.println(n, HEX);
    Serial.println(n);
    }
  42. Just now committed a fix for ZLP transmit, which...

    Just now committed a fix for ZLP transmit, which should fix this problem.

    https://github.com/KurtE/MTP_Teensy/commit/a87873cafdafa6e784af535770bdefd8caa30e08

    Those missing ZLP also cause a...
  43. Which version of Teensyduino are you using? To...

    Which version of Teensyduino are you using? To check, click Help > About in Arduino.

    Print class 64 bit integer printing was added in version 1.54.

    printf() has long supported 64 bit integers....
  44. Yes, pin 14 isn't used on T4, even if your code...

    Yes, pin 14 isn't used on T4, even if your code has SPI.setSCK(14). You could connect an analog voltage from a pot to pin 14. SCK won't interfere. And if you have the Rev D audio shield, pin 14...
  45. Replies
    8
    Views
    373

    Try adding a delay before you initialize the...

    Try adding a delay before you initialize the display.

    Long ago, before a 300 ms delay was added in the startup code, this used to be a very common problem where Teensy boots up too quickly, before...
  46. On Teensy 4, SPI.setMOSI(7) and SPI.setSCK(14)...

    On Teensy 4, SPI.setMOSI(7) and SPI.setSCK(14) have no effect, because those pins can't work. Pins 11 and 13 are still used.

    So the Rev D audio shield SD card still works on Teensy 4 even with...
  47. Replies
    8
    Views
    373

    Have you tried FreqCount? ...

    Have you tried FreqCount?

    https://www.pjrc.com/teensy/td_libs_FreqCount.html
  48. Right now would be a good moment to merge this,...

    Right now would be a good moment to merge this, if you can. I have no uncommitted edits at this moment. If you merge this morning, then I'll sync up to get MTPD -> MTP_Class and all this other...
  49. Yeah, I'm making more major structural changes...

    Yeah, I'm making more major structural changes today, so everything is pretty much a moving target right now.
  50. Maybe the virtual machine has problems emulating...

    Maybe the virtual machine has problems emulating 480 Mbit speed or some aspect of EHCI? (EHCI is a very complicated standard) Maybe it will work if the virtual machine only has to emulate much...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4