Fried Teensy when Interfacing to a Quadstick?

jsegre

New member
I am trying to help a paralyzed kid drive a remote control car. Somewhere along the way, the Teensy 4.1 has stopped working and I’d like help understanding what failed, so I don’t destroy the replacement the same way. Currently it gets very hot when plugged into a USB port, and no LED lights. It is unresponsive to my Mac.
Here are the details:

The project: the Teensy reads a USB gamepad on its USB host port (USBHost_t36, JoystickController + USBHIDParser) and outputs PPM on pin 10 (PulsePosition) into the trainer jack of a Spektrum DX6i. Built with arduino-cli and Teensyduino 1.62.0 on macOS.

What I soldered: a 5-pin male header on the USB host pads, pointing up from the component side, plus single pins on GND, 9 and 10. The host header connects to [the PJRC USB Host Cable / a homemade cable to a USB-A socket].

It worked for about a week: many uploads, a Logitech F310 on the host port working through USBHost_t36, and PPM accepted by the DX6i.

What happened next. I tried to connect a QuadStick (a mouth-operated USB game controller; its label says 5 V, 0.25 A), in three setups, in this order:
  1. Mac → Teensy micro-USB, QuadStick directly on the Teensy host port. The QuadStick did not power up.
  2. Mac → powered hub → Teensy micro-USB, QuadStick on the Teensy host port. The QuadStick did not power up.
  3. Mac → Teensy micro-USB; Teensy host port → powered hub (TBIPRO Engineering Adapti-13 Mini, USB-C plug, through a USB-C-to-A adapter) → QuadStick. The QuadStick powered up, but the Teensy was unresponsive.
I don’t know whether the Teensy was still alive at any point once the hub was involved.

Symptoms now:
  • No LEDs at all: no orange, and no red when I press the program button.
  • The Mac doesn’t see any USB device, even after pressing the program button. Same cable that has always worked, and I tried other ports.
  • The board gets hot within seconds of being powered. The hottest spot appears to be the main chip, but could be some other tiny component that my fat fingers are hitting.
Measurements, unpowered, everything disconnected (resistance to GND):
  • VIN: megohms
  • 3.3V: megohms
  • Host header 5V: megohms
  • Host header D− and D+: megohms
  • Host header 5V to VIN: megohms
So there’s no hard short and no visible solder bridges.

Hub check: with the hub powered and the QuadStick plugged in, but nothing on the hub’s upstream side, I measured 0 V between 5V and GND at the end of the host cable. So the hub doesn’t seem to feed power backwards, at least when no host is connected.

Questions: How can I set up my replacement board without frying it? Is it OK to have a powered hub plugged into the Teensy USB host?

Thanks for any help!


 
Usually this sort of hardware failure is due to the 3.3V power line getting accidentally driven with 5 volts or more.
 
Thanks, Paul. There isn't anything on the 3.3V system except one pin which I confirmed never sees >3.3V. I am suspicious that the powered USB hub, plugged into the USB host of the Teensy, was to blame, as that powered hub expects to charge a laptop, and potentially pushed too much power to the Teensy.
1. Is this a reasonable hypothesis?
2. If so, how can I power a USB device (the Quadstick) which is plugged into the Teensy host USB port, if the Teensy can't give it enough power?
 
If you know the usb device is going to have external power (i.e. not be powered by the Teensy) you could leave the V+ line of the USB Host connection unconnected (by either cutting the red wire or removing that pin from the Teensy).
 
Following up on the suggestion by @jmarsh, if you still want to let the Teensy enable/disable power to the host connector, you could run that (disconnected) V+ power pin on the host connector to the control pin on a relay (using an <Arduino compatible relay> that operates reliably on a maximum 3.3VDC control signal), or to the GATE pin on a FET (using an <appropriate circuit>), & let that downstream device connect/disconnect external power to your hub.

Mark J Culross
KD5RXT
 
Technically it is already gated by the TPD3S014 (current limiter / ESD protection), but I've still seen the Teensy brown-out plenty of times when a new device is connected.
 
Back
Top