Hints on getting a Teensy 4.0 set up as USB Host controller

Status
Not open for further replies.

boz336

New member
I'm looking to use the Teensy 4.0 as a USB host controller. On the hardware side, it looks like there is a breakout board, or at the very least, need to solder pins to D and D+ for wiring.
On the software side, I found one forum post: https://forum.pjrc.com/threads/55821-USBHost_t36-USB-Mass-Storage-Driver-Experiments?highlight=teensy+4.0+usb+host+controller

But wonder if this is the right direction, or if there are better libraries to use a generic USB Host.

I'm trying to use the Teensy to control this: https://www.dsinstruments.com/store/products/sg6000x-usb-dual-6ghz-rf-signal-generator/

Any insights are appreciated
 
Since that signal generator needs so much power you’ll have to have a way to power it that’s not from the Teensy such as a powered USB hub. Since it won’t be powered from the Teensy itself you can safely solder wires to D-, D+, and Ground to a usb cable that runs to the powered hub without any external current limiting circuitry.

That being said the the USBHost_t36 library is used for the t4.0 as well and is installed with Teensyduino. Now you will most likely have to reverse engineer the driver for that signal generator and make your own that’s compatible with the host library because unless it’s using a class compliant driver such as serial it won’t be supported already.
 
Status
Not open for further replies.
Back
Top