I asked about a Teensy-based HID-over-UDP solution a while back
https://forum.pjrc.com/threads/60638-Wanted-one-way-HID-over-UDP-IP-solution
Teensy 4.1
* has UDP/IP
* can act as a USB host and USB device at the same time
give or take getting the adapters and SDK issues pending.
I see mention that, due to being able to run as USB host, a hub could be used to attach more devices.
I can't use a hub for various reasons.
T41 covers my main use case out of the box:
* UDP in
* T41 acts as USB host sending Raw HID to attached device
* on-board USB for debug/dev PC connection
My future extension is:
* UDP in
* T41 acts as USB host polling attached HID device
* T41 acts as USB HID input device being polled by another host (onboard USB)
But another serial interface acting as COM for debug/dev PC and IDE would be nice.
Question 1: what's the best option for getting COM over any other I/O not in use?
Finally, I have an auxiliary use case:
* T41 acts as USB host polling attached HID device
* T41 acts as USB HID input device being polled by a host
* T41 acts as USB Raw HID device receiving from same host
* UDP would be really handy
Question 2: how do I get the 3rd USB connection?
- can I re-use the Ethernet somehow?
- should I use whatever serial I/O I found to use as COM w/ dev/debug PC?
- can I find another (4th) serial connection I could use instead/as COM?
If all fails, Printf Debug over UDP is an option
tl;dr: is it possible to add 1-2 more USB ports to the Teensy 4.1, for a total of 3-4 ?
https://forum.pjrc.com/threads/60638-Wanted-one-way-HID-over-UDP-IP-solution
Teensy 4.1
* has UDP/IP
* can act as a USB host and USB device at the same time
give or take getting the adapters and SDK issues pending.
I see mention that, due to being able to run as USB host, a hub could be used to attach more devices.
I can't use a hub for various reasons.
T41 covers my main use case out of the box:
* UDP in
* T41 acts as USB host sending Raw HID to attached device
* on-board USB for debug/dev PC connection
My future extension is:
* UDP in
* T41 acts as USB host polling attached HID device
* T41 acts as USB HID input device being polled by another host (onboard USB)
But another serial interface acting as COM for debug/dev PC and IDE would be nice.
Question 1: what's the best option for getting COM over any other I/O not in use?
Finally, I have an auxiliary use case:
* T41 acts as USB host polling attached HID device
* T41 acts as USB HID input device being polled by a host
* T41 acts as USB Raw HID device receiving from same host
* UDP would be really handy
Question 2: how do I get the 3rd USB connection?
- can I re-use the Ethernet somehow?
- should I use whatever serial I/O I found to use as COM w/ dev/debug PC?
- can I find another (4th) serial connection I could use instead/as COM?
If all fails, Printf Debug over UDP is an option
tl;dr: is it possible to add 1-2 more USB ports to the Teensy 4.1, for a total of 3-4 ?