Forum Rule: Always post complete source code & details to reproduce any issue!
-
Teensy 3.6 USB High Speed status?
Hi all,
Could somebody tell the current status of the/a High Speed USB driver for Teensy 3.6? I.e.: for device mode on the installed micro-USB connector.
Thanks -- Graham
-
Senior Member+
see is a search on USB HOST is what is desired ....
-

Originally Posted by
defragster
see is a search on USB HOST is what is desired ....
Do you have a specific thread in mind? Note that I'm asking about device mode, not host mode. That is, Teensy as slave to PC (like it "normally" is), not Teensy hosting other devices.
-
Senior Member+
My bad - I read that as looking to connect with the T_3.6 secondary USB.
The T_3.6 primary USB to 'PC' works like all the others to support the many interfaces shown on the tools menu through the standard supported 12 MBit/s hardware interface -if not documented on PJRC.com it should be here in the Forum. Please give details of which interface is to be used and what isn't clear.
If the 2nd T_3.6 port is the one at hand - I've only seen host mode interfaces so far.
-

Originally Posted by
defragster
My bad - I read that as looking to connect with the T_3.6 secondary USB.
The T_3.6 primary USB to 'PC' works like all the others to support the many interfaces shown on the tools menu through the standard supported 12 MBit/s hardware interface -if not documented on PJRC.com it should be here in the Forum. Please give details of which interface is to be used and what isn't clear.
If the 2nd T_3.6 port is the one at hand - I've only seen host mode interfaces so far.
Yeah, I know all that. Like I said in the original post, I'm looking for the HIGH SPEED feature (480 Mb/s) that Teensy 3.6 has the hardware for, not the 12 Mb/s. I'm interested in the Serial over USB interface, but if the driver(s) support HS, then I'd guess all the interfaces would be capable of that speed too.
-
Senior Member

Originally Posted by
gwideman
Note that I'm asking about device mode, not host mode.
So far, all of the work for USB1 on Teensy 3.6 has been host mode only.
-
Senior Member+
... what Paul said (and I said in p#2) - but OP on second reading says: "installed micro-USB connector" - which can only refer to the 'installed micro-USB connector' at 12 Mb/s
-
Yep I'm asking about prospects of the plain ol' installed USB connector running at High Speed 480 Mb/s when talking to PC (or other computer) host.
-
Senior Member
The USB0 port (the one with the micro-B connector) is only 12 Mbit/sec on Teensy 3.6. Only USB1 can do 480 Mbit/sec. Just to be perfectly clear, there is zero prospect of UBO0 ever running at 480 Mbit/sec. The hardware simply can't do it. No amount of software work can change the hardware!
Future Teensy (2018 or 2019) may have this, but for now all Teensy 3.x have only 12 Mbit/sec USB on their main port.
-

Originally Posted by
PaulStoffregen
The USB0 port (the one with the micro-B connector) is only 12 Mbit/sec on Teensy 3.6. Only USB1 can do 480 Mbit/sec. ...
OK, thanks Paul for clearing that up definitively. I guess I was misled by reading about the 480 Mb/s somewhere, for example in the quickstarter page:
"USB High Speed (480 Mbit/sec) Port"
... which I guess is not wrong per se... it's just not the port with the connector already installed. I suppose for my purpose USB1 would serve just as well, so long as it could operate in device mode, but you already answered that that isn't available, and sounds like not likely to happen soon.
That's too bad, as it could have considerably helped the data collection scenario I am pursuing. But, with all the goodness that is Teensy, and the effort I know that takes to develop, I guess we can't have everything!
-
It would help a lot if more people help and contribute. All libs and the core are open source. But only very few people help to extend them or make them better or just fix bugs..
-
Senior Member
Even just running the latest unstable dev code within days of posting on github and writing detailed messages about what did and didn't work is tremendously helpful.
Just in the last couple weeks quite a lot of happened on the host code. I far as I know, Kurt and I are probably the only 2 people in the world who's actually run it so far.
-
I use it ... "in production"
- Works very reliable so far..
The feedback for my libs is almost ZERO ...
-
Senior Member
Have you used the new HID parser stuff?
-
Senior Member

Originally Posted by
gwideman
I guess we can't have everything!
It will happen eventually. Device mode has been a much lower priority. Hopefully it's easy to understand how focusing on getting 1 mode working well makes sense before taking on the other.
-

Originally Posted by
Frank B
It would help a lot if more people help and contribute. All libs and the core are open source. But only very few people help to extend them or make them better or just fix bugs..
Yes, as I have done here:
https://forum.pjrc.com/threads/23566...lem-workaround
and here:
https://forum.pjrc.com/threads/46208...-delay-lt-64us
... small contributions I know, but focused and get to the bottom of an issue, not just report a problem. So I do get the spirit of the thing.
I have taken a look at USB code in the past, and even have Jan Axelson's book (two editions!), which convinces me I'm not up to making a meaningful contribution in that area, even if I had the time. Right now what I could use (and test) is High Speed device mode, so I'm not realistically in a position to even test host mode with the needed ingenuity.
From Paul:
> Hopefully it's easy to understand how focusing on getting 1 mode working well makes sense before taking on the other.
Certainly! Honestly, I don't know how you accomplish as much as you do on the technical side and run a business! The time is only one factor -- achieving the necessary focus is a tremendous achievement.
-

Originally Posted by
PaulStoffregen
Have you used the new HID parser stuff?
As much I want - at the moment, I have other priorities. In this special case, I'm only interested to use it;-) - for Joysticks, or, someday, usb-memory - I don't want to dig into this USB stuff.
Have you tried qix' VGA ? If you ask me, it should be part of the included teensy-libs some day. It gives you a fast large display with a few resistors with 0% cpu usage.
Last edited by Frank B; 09-18-2017 at 06:15 PM.
-

Originally Posted by
Frank B
Have you tried qix' VGA ?
https://forum.pjrc.com/threads/45916...A-driver/page3 for those following along at home. Fun experiment!
-
I wouldn’t mind diving into high speed device mode. What are the best resources to start? Eg. Favourite USB resources.
I want to be able to do something like this:
https://forums.adafruit.com/viewtopic.php?f=47&t=25854&p=143049#p143049
(USB data to SPI) but for high speed. I already have custom hardware to do this, but it’d be nice and a lot easier to do this with a Teensy.
Last edited by shawn; 02-20-2018 at 06:19 PM.
-
Senior Member

Originally Posted by
shawn
What are the best resources to start?
The MK66 reference manual documents the hardware pretty well. Almost all the description is for device mode.
https://www.pjrc.com/teensy/datasheets.html
The USBHost_t36 EHCI code might help a bit. While device mode doesn't have most of the EHCI stuff, the structures it uses are similar. Maybe some of the host side code can help?
https://github.com/PaulStoffregen/USBHost_t36
-
Is there any update regarding high speed USB device mode? I'm interested in transmitting ADC data at high sampling rate from several Teensys via a USB hub.
-
Senior Member
So far (September 2018), all work on Teensy 3.6 high speed USB has been host mode only.
-
Paul,
Are there any library additions to allow for simultaneous Keyboard and mouse use with a hub in the Teensy 3.6 HOST mode? Using many wireless KB/Mouse combo's work fine to get both going, but using a hub with a wired USB KB and a wired mouse doesn't want to work.
I'm not the programmer on this so I don't have any code to share at this time, I'm just an end user trying to understand why the wireless combo works and a hub won't.
Jim Sheldon
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules