Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: FastLED hardware SPI pins at Teensy 3.6?

  1. #1

    FastLED hardware SPI pins at Teensy 3.6?

    Hello,

    on the Teensy 3.2 the data transfer works really fast (12/24 Mhz and non-blocking(?!)) when using the SPI pins 11 and 13.

    Code:
    LEDS.addLeds<APA102, 11, 13, BGR, DATA_RATE_MHZ(12)>(leds, NUM_LEDS);
    Which pins should I use on the Teensy 3.6? It seems to always default to bit-banging? (Idle fps are not in the expected range.)

    24 Mhz doesn't work at all. (I'm aware that it's likely too fast for 256 APAs and they might glitch.)

  2. #2
    Senior Member PaulS's Avatar
    Join Date
    Apr 2015
    Location
    Netherlands
    Posts
    1,029
    Quote Originally Posted by StefanPetrick View Post
    Which pins should I use on the Teensy 3.6? It seems to always default to bit-banging?
    If you also use pins 11 & 13 on the Teensy 3.6, you will be using the hardware SPI pins.

    Paul

  3. #3
    Stupid me tried anything but this. Thank you! More computing time for more fps available now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •