Skip to content

apa102 end frame adjustments #107

Closed
Closed

Activity

  1. self-assigned this
    on Nov 30, 2014
  2. jasoncoon commented on Jan 14, 2015

    @jasoncoon
    Member

    Could this be related to an issue I'm seeing with APA102, FastLED 3.1, Arduino 1.0.6, Teensyduino 1.20, Windows 8.1? I get 'scrambled' output on the FastLED 3.1 branch, but it looks correct on master. I'm on my mobile right now, but can post code shortly.

  3. focalintent commented on Jan 14, 2015

    @focalintent
    ContributorAuthor

    What hardware are you running with? And the missing end frame bits should only cause an issue with leds towards the end of your chain. The more important question is how many leds are you running? FastLED3.1 is currently willing to push driving the APA102's up to 24Mhz (I have a board here that can support that) - odds are you might need to scale back the data rate.

    LEDS.addLeds<APA102,RGB,DATA_RATE_MHZ(12)>(leds, NUM_LEDS);
    
  4. jasoncoon commented on Jan 14, 2015

    @jasoncoon
    Member

    Ah sorry, Teensy 3.1 running at 96MHz, 63 LEDs. All of them are affected, not just the end.

  5. jasoncoon commented on Jan 14, 2015

    @jasoncoon
    Member
    #define LED_PIN     3
    #define CLOCK_PIN   2
    #define COLOR_ORDER GRB
    #define CHIPSET     APA102
    #define NUM_LEDS    63
    ...
    FastLED.addLeds<CHIPSET, LED_PIN, CLOCK_PIN, BGR>(leds, NUM_LEDS);
    

    Thanks in advance for the assistance, by the way. :)

  6. focalintent commented on Jan 14, 2015

    @focalintent
    ContributorAuthor

    Add the data rate change that I suggested:

    FastLED.addLeds<CHIPSET, LED_PIN, CLOCK_PIN, BGR, DATA_RATE_MHZ(12)>(leds, NUM_LEDS);
    
  7. jasoncoon commented on Jan 14, 2015

    @jasoncoon
    Member

    Sorry, that did it, thanks!

  8. jar10623 commented on Jan 15, 2015

    @jar10623

    i have a Problem with fastLED since i changed from Arduino nanoV3 (all OK) to
    https://github.com/JChristensen/mini1284

    i build two to test but this is only a Problem with fastLED!

    with https://github.com/cpldcpu/light_ws2812 is no problem, Timing ist well

    see the Data Timing with m1284p & fastLED
    m1284p_timing

    with 33µs (m1284p) für one LED the ws2812b dosn't work, the 30µs is from m328p

  9. focalintent commented on Jan 15, 2015

    @focalintent
    ContributorAuthor

    Please open/track a separate issue. This has nothing to do with the apa102. Also the mega1284 is not a tested/supported platform for FastLED.

  10. jar10623 commented on Jan 15, 2015

    @jar10623

    Please open/track a separate issue.
    ? i don't understand

    This has nothing to do with the apa102
    OK but where can i told you?

    Also the mega1284 is not a tested/supported platform for FastLED
    thats a good reason to do nothing OMG

    sorry that i live......

  11. added a commit that references this issue on Jan 15, 2015
    92082af
  12. focalintent commented on Jan 15, 2015

    @focalintent
    ContributorAuthor

    I mean go here: https://github.com/FastLED/FastLED/issues/new and enter a "new issue" - don't just comment on some other random issue.

    I didn't say I was going to do nothing OMG. I asked you to make a new issue so that I could track it separately from this one. I was also explaining that the reason why it currently doesn't work on the mega1284 is because I have never tested it on the mega1284 - and there are different instruction and i/o timings on that chip than the mega328.

    This issue is specifically for the APA102, and in fact, is about to be closed, as I've fixed the original issue referenced in here.

  13. focalintent commented on Jan 15, 2015

    @focalintent
    ContributorAuthor

    (For example - #121 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions