1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Error while reading data from host

Discussion in 'Software Support' started by bastianum, 20 October 2018.

  1. bastianum

    bastianum New Member

    Messages:
    13
    Hardware:
    RPi3
    See above
     
  2. Akriss

    Akriss Active Member

    Messages:
    378
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Make sure the edit are still in:
     
  3. fedorin

    fedorin New Member

    Messages:
    3
    Hardware:
    RPi3
    I have exact same issue with exact same configuration!
    Got my led strip lit only with SPI mode config (thank you, @Akriss)But now any of leds that shouldn't be active flicker with random color constantly. It seems like some trash goes to GPIO 10. It stops (and stucks on the last leds' status) only when i stop Hyperion service.
    I use latest OSMC, latest Hyperion, added spidev.bufsiz=32768 to the end of /boot/cmdline.txt
    Also, can't undertand why non-spi mode doesn't work (literally have been trying for 4 days!)

    Any help would be appreciated.
     
  4. Akriss

    Akriss Active Member

    Messages:
    378
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    It's possible that the 3.3v signal sent from the Rpi's SPI bus is falling short and causing the trouble. The led's expect the data to be closer to 5v. A 3.3v to 5v level shifter/line buffer could be the fix.

    This should help the understanding. (important-warning-about-dma-channels). Hyperion uses this library to drive the WS2812 leds. So the same limitations apply.

    Hope it helps.
     
    • Like Like x 1
  5. fedorin

    fedorin New Member

    Messages:
    3
    Hardware:
    RPi3
    Thank you very much for quick and meaningful response!
    In my case the flickering were eliminated by adjusting output voltage of PSU that powers LED strip: 5.02v wasn't enough, i set it to 5.12v and it worked like a charm. I would never even think of such a way but an adjustment screw got on my eyes and having no other ideas, I just turned it a little.
    Before that i tried to use level-shifter which worked decreasing random blinking. Also, i used 300 Ohm resistor for data line wire - worked as well, even better than level-shifter.but still had a lot troubles on leds with low brightness

    If anyone needs, i can record a video where i'd be turning 'screw' with voltmeter applied to contacts. Just as a proof.
     
    Last edited: 15 December 2018 at 22:52