Teensy 4.1 - One Micro-USB for charging / data via MTP?

scepticore

New member
Hello everyone

I'm currently doing my research for building an audio player device.
Parts:
  • Teensy 4.1
  • MP2636 Step-Up Charger with the right 18650 battery
Now since both the Teensy as well as the MP2636 do have a Micro-USB-interface, my question is: Is there a way to connect them both together, so that I only have one USB-Port outside the case? I don't want two separate ports where one is for charging and the other one is for updates/data transfer.

I naively tried to connect USB --> MP2636 --> USB --> Teensy by using two different cables to realize, that this way it definitely doesn't work. I also did some research online but I did not find a clear solution yet.

Many thanks for any advice or if I need to use another device. Gemini AI recommends me to get a USB-C breakout board and connect the voltage to the MP2636 and D+ / D- directly to the Teensy. But that would mean to order myself yet another part to build in.

Scepticore
 
I did it differently for an audio recorder
I connected a LiIon charger (Adafruit Product Id 2124) to Teensy and cut the VUSB-Vin trace.
See Figure for connections. You may ignore the MEMS microphone.
 

Attachments

  • microPAM_s.png
    microPAM_s.png
    1.1 MB · Views: 23
I did it differently for an audio recorder
I connected a LiIon charger (Adafruit Product Id 2124) to Teensy and cut the VUSB-Vin trace.
See Figure for connections. You may ignore the MEMS microphone.
I see. I got close to something like this as well. My current idea is to get an additional USB-C with 4 pins (VCC, D+, D-, GND)

1. Connect USB-C VCC and GND with the Charger Module
2. Connect Charger-Module VCC and GND with Teensy
3. Connect USB-C D+ and D- with Teensy D+ and D- solder-pads.

Does that make sense?
If I'm right, that should work to:

- Power the Teensy by battery
- Charge battery via USB-C (since there is a direct VCC / GND connection to the charger module)
- Upload firmware via USB-C (since there is a direct D+ and D- connection to the Teensy)

Unsure, because I haven't research this one:
- Access the builtin SD-slot via MTP
 
Back
Top