supersquirel500
Member
Hello all,
I've seen the question asked several times in the past couple of years on these forums as to the possibility of acting as a USB host. They most recent question asking this specifically that I have seen was in 2017.
Where I'm interning right now, they love Teensys. Originally the project lead wanted to use a Teensy 3.2 to act as a keyboard passthrough device, simply logging all HID data coming through, first being interpreted by another board, and passing it on. Things didn't work right.
I've moved on to the Teensy 3.6 because I've seen it has two USB ports. That's much better than what we were using before. My current predicament though:
Is it possible to use both the USBHost_t36.h library to act as a host to a keyboard on the second USB port, and use the native RAWHid class or the Keyboard class (also available to other Teensys) to be a USB input on the first port at the same time?
If so, how would I specify which USB port I want to act as a the host and which to show up as device? Or are they hardcoded in so that the second (pin in) USB port acts as the Host always and the mini USB always acts as the device?
Thank you a lot.
Also, If there is a spec sheet available on these devices that I've missed, I would love to read it.
I've seen the question asked several times in the past couple of years on these forums as to the possibility of acting as a USB host. They most recent question asking this specifically that I have seen was in 2017.
Where I'm interning right now, they love Teensys. Originally the project lead wanted to use a Teensy 3.2 to act as a keyboard passthrough device, simply logging all HID data coming through, first being interpreted by another board, and passing it on. Things didn't work right.
I've moved on to the Teensy 3.6 because I've seen it has two USB ports. That's much better than what we were using before. My current predicament though:
Is it possible to use both the USBHost_t36.h library to act as a host to a keyboard on the second USB port, and use the native RAWHid class or the Keyboard class (also available to other Teensys) to be a USB input on the first port at the same time?
If so, how would I specify which USB port I want to act as a the host and which to show up as device? Or are they hardcoded in so that the second (pin in) USB port acts as the Host always and the mini USB always acts as the device?
Thank you a lot.
Also, If there is a spec sheet available on these devices that I've missed, I would love to read it.