PaulStoffregen
Well-known member
can we have proper pins to break out d+ and d-
Which 2 pins would you want to give up to be able to have this?
can we have proper pins to break out d+ and d-
Indeed, look at a 4.0 and 4.1 ALL the middle ground is used at least once both top and bottom - not to mention the unseen middle layers. The d+ and d- are packed under the connector close to the source - as they need to be for reliable use.Which 2 pins would you want to give up to be able to have this?
Off the top of my head, how about where the tiny d+ and d- pads are? change them to holes. I know this is a bit of a quick suggestion, and would required removal of the socket to work properly, but if there was a film of insulation over the USB socket it would be isolated from these holes and pins could potentially be soldered from underneath without having to remove the socket? I would personally then remove the socket for my needs and switch to pins. I have tried using the pads (soldering tiny wires destroyed the pads on the t4.1. and the pogo pins are too expensive here). My current solution is a cable cut short and soldered to my PCB which contains the sockets....Which 2 pins would you want to give up to be able to have this?
If the board offered a creative place for two pins Paul would find it. Don't forget it is also using the longer USB-C connector so even that room wouldn't be there if a T_4,x were configured for that to fit.looking at the board, how about adding
Note on tool change in Beta thread - IIRC nothing until 1.61 to get this one shippedAny chance in 1.60 that we could bump
As this discussion already happened some years ago, I repeat my suggestion to elongate the d+ d- pads to make the more solder friendly. That would IMHO be sufficient for most cases. Through holes invite to complex wiring, reducing possible throughput.Off the top of my head, how about where the tiny d+ and d- pads are? change them to holes.
Any chance in 1.60 that we could bump the C++ version from C++17 to C++23?
Hi Paul, have you some new info about the USB-C implementation? This feature becomes more and more important for a lot of users....Future Teensy with will USB-C. I can't discuss any other details at this time. I probably should not even write this message, but hopefully it at least answers this 1 simple question.
I don't believe there has been any announcement about a future USB-C implementation.Hi Paul, have you some new info about the USB-C implementation? This feature becomes more and more important for a lot of users....
Why would you say that? It will eventually. We don’t know when.It's not coming
I'd hope not, or at least if they do a way is found to have the port function as both device and host like the existing ones can. I have code that does this:Whether Teensy 4.0 and Teensy 4.1 get a redesign just to change the USB connector is much less certain.
if (usb_configuration == 0) {
static TeensyUSBHost1 usb;
usb.begin();
} else {
// keep port in host mode
puts("Starting MTP...");
MTP.begin();
MTP.addFilesystem(mfs, "TEENSY");
poll_mtp = true;
}
Yes.Are you talking about the resistors connected to the CC pins?
I'd hope not, or at least if they do a way is found to have the port function as both device and host like the existing ones can. I have code that does this:
to either switch the port to host mode, or keep it as a device and enable MTP if a connected PC is detected at startup.Code:if (usb_configuration == 0) { static TeensyUSBHost1 usb; usb.begin(); } else { // keep port in host mode puts("Starting MTP..."); MTP.begin(); MTP.addFilesystem(mfs, "TEENSY"); poll_mtp = true; }
Awesome, is your teensyUSBHost class public?usb_configuration is from the core, the TeensyUSBHost1 class is from my own USB host library (TeensyUSBHost1 is for the micro port, TeensyUSBHost2 is for the host pins on top of the T4.1).
Awesome, is your teensyUSBHost class public?
That's why I'm saying I don't want this change made to the T4.x, unless there's a way to make them float when they're not wanted.Then if you switch the USB hardware into host mode, what is to be done with those pulldown resistors?
An idea that occurred to me - and this is honestly just spitballing, I haven't put a lot of deep thought into it - since USB-C is directionless and requires the resistors to be connected to pairs of pins, perhaps one pair could have cuttable links to disable them for one orientation of the connector only. Is it hacky? Yes, but it's an uncommon solution for an uncommon problem.Then if you switch the USB hardware into host mode, what is to be done with those pulldown resistors?