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

Other How does USB RawHID handle large data blocks?

Discussion in 'LED Devices Support' started by SchorschGaggo, 30 January 2018.

  1. SchorschGaggo

    SchorschGaggo New Member

    RPi2, RPi3
    I already built a stable USB-WS2812 interface which used CDC (virtual COM port).
    Now I'd like to use this hardware as LED interface for Hyperion.

    The Arduino USB HID description is very short. Too short for me.
    Assuming, that the report size is limited to 64 bytes, it takes several blocks to update 150 RGB LEDs (450 Bytes).

    How to combine these blocks ? Which block indicates the beginning of a new transmission and which is additional data to be added to the already received block ?

    My hardware is a Cortex M3 (LPC1549)

    Thanks for any help!