I've just had to cobble together a quick dynamometer DAQ using a Teensy 3.6 and have a question about the USB Host. Part of the DAQ includes a serial input of weather data through an FTDI chip. After I wasted too many hours because I had got the D+ and D- wired in reverse I finally managed to get it working using UHS30 but couldn't get anything using USBHost_t36. Since it does work I just have a few quick questions to help clarify things before I implement it in my actual project.
EDIT: Just to clarify, I did get the keyboard example working with USBHost_t36, just not the serial device stuff.
- Should USBHost_t36 work with an FTDI serial device? I would prefer to use it if I can as it appears to use familiar Serial functions.
- Do I need any references to a USB Hub if I'm actually connecting the device directly to the Teensy?
- I got it all to work with the acm_terminal example from UHS30. This all seems to revolve around the MY_ACM class.
- USB_HOST_SERIAL doesn't seem to actually do anything, (at least in my example testing). Can this all be ignored?
- Should I just be creating my own class implementing UHS_CDC_ACM for my project and implementing the OnStart() and OnRelease() functions?
- Does UHS_CDC_ACM have available() and other functions that Arduino Serial/Stream does, or would I have to implement them if I wanted to use them? (It was late when I finally got success and I admit I haven't gone through the source yet.)
EDIT: Just to clarify, I did get the keyboard example working with USBHost_t36, just not the serial device stuff.
Last edited: