FeuerSturm
Member
Hi,
first of all, I do not own a Teensy MCU yet, this is just a question to help me
decide if it would make sense at all to buy one.
What I am trying to do is:
Use a Teensy 4.X as LED-Strip controller in combination with ArduinoIDE and the FastLED library to drive the leds and use USB Raw HID packets to send data to the MCU from a PC App that
defines the colors for each LED.
Currently I am using a Raspberry Pi Pico for that, BUT the used USB 1.1 PHY limits the
packet size to 64bytes which forces me to split the data into several packets for a lot of
LEDs to drive, so the "framerate" drops more and more the more LEDs are added.
My hope is that Teensy 4.X's USB 2.0 PHY allows me to use larger packets (512 bytes)
so I have to split the data up way less and improve the framerate of the driven LEDs.
Is receiving 512 bytes USB Raw HID packets possible with Teensy 4.X and ArduinoIDE?
Would be great if anyone would know!
Thanks in advance!
first of all, I do not own a Teensy MCU yet, this is just a question to help me
decide if it would make sense at all to buy one.
What I am trying to do is:
Use a Teensy 4.X as LED-Strip controller in combination with ArduinoIDE and the FastLED library to drive the leds and use USB Raw HID packets to send data to the MCU from a PC App that
defines the colors for each LED.
Currently I am using a Raspberry Pi Pico for that, BUT the used USB 1.1 PHY limits the
packet size to 64bytes which forces me to split the data into several packets for a lot of
LEDs to drive, so the "framerate" drops more and more the more LEDs are added.
My hope is that Teensy 4.X's USB 2.0 PHY allows me to use larger packets (512 bytes)
so I have to split the data up way less and improve the framerate of the driven LEDs.
Is receiving 512 bytes USB Raw HID packets possible with Teensy 4.X and ArduinoIDE?
Would be great if anyone would know!
Thanks in advance!