Questions tagged [usb]
USB is Universal Serial Bus. If your question relates to a specific chip, please mention it in your question.
3,813 questions
2
votes
2
answers
115
views
What's the purpose of RC series network between PMOS drain and gate in STUSB4500?
I'm designing a circuit to power a system with USB PD, through the STUSB4500. In their application circuits the PMOS switch (T1) is controlled by the VBUS_EN_SNK pin, which is open drain. Here's a ...
4
votes
1
answer
337
views
What do these various USB-C pins do?
I am making a custom ESP32 board and I want to use a USB-C port for the main USB interface. However, I am a little confused by the pins on the USB-C port. Below is an image of the schematic for the ...
2
votes
1
answer
175
views
Controlling USB through terminal
I have been alloted a project where I have to blink LED on breadboard using terminal and I cannot use any external hardware device.
I have looked upon various methods:
Manipulating D+ D- : upon ...
2
votes
2
answers
114
views
USB-C for RP2354B
I am currently designing a custom PCB for some of my personal projects with a Raspberry Pi RP2354B microcontroller on it. I need the RP2354 to use USB 2.0 with a USB-C port in both host and device ...
-1
votes
1
answer
69
views
Achieving power flexibility with multiple Arduinos and USB
This question is fundamentally about powering a cluster of modules based on the Arduino Micro.
Context:
I am planning a modular flight simulator control rig, in which each module will be built around ...
0
votes
1
answer
61
views
Inconsistent Charging with USB-C Wall Adapter vs Laptop Port
I am using this Battery charger IC , in my device and I’m seeing inconsistent behavior depending on the USB-C power source.
My schematic looks like this:
Setup:
The charger IC VIN pin is connected ...
0
votes
1
answer
153
views
Is CC mandatory for USB A wall charger?
Edit: I created a simple visual aid to help avoid confusion, https://imgur.com/a/XAlEDLL
My PC stereo speakers use a type C connector to get power 5 V-2 A (and audio jack for data). It is an internal ...
0
votes
1
answer
70
views
TP4056 + back-to-back P-MOSFETs as power-path / battery backup – is this configuration correct?
I am designing a small battery-powered device and would like a review of my power backup / load sharing circuit.
Requirements
USB (5 V) is the main power source when connected
A single-cell Li-ion ...
0
votes
2
answers
148
views
How to control a separate relay from a CH340 USB module (from Linux)?
I want to use a CH340 module, one like this:
To switch a separate solid state relay that I want connect to the CH340's TXD pin.
How do I do that? (By the way, I use Linux and USB 2.0). I am looking ...
4
votes
1
answer
257
views
USB3300-EZK crystal not oscillating properly
I'm developing a board that uses a USB3300-EZK USB PHY connected to an STM32H750.
The USB3300 is connected to a 24 MHz crystal. When power is applied, there's no oscillation on the crystal until about ...
0
votes
2
answers
131
views
How to fix a micro USB PCB connection?
How do I go about trying to fix this PCB? The connector is ripped off of the PCB and looks to have taken along some of the copper trace, and it also seems like the leads from the connector are too ...
2
votes
1
answer
163
views
CAN schematic review
I am trying to build hardware for a CAN analyzer. This is my first attempt and schematic before going for PCB. Please let me know if I have done any mistakes, missed something, or need to take care of ...
0
votes
0
answers
111
views
USB over voltage protection for EN IEC 62115:2020
I'm designing a battery power supply / charger for a childs toy and in the EN IEC 62115:2020 it states:
9.8 Abnormal supply to electric toys via a USB connection
For electric toys supplied with power ...
1
vote
0
answers
106
views
Custom PCB (STM32F105RBT6) with USB OTG FS and DFU reports "Unknown USB Device (Device Descriptor Request Failed)" on connection to PC
I plan to implement DFU1 and OTG2 FS3 support on my custom board.
According to screenshots ...
9
votes
2
answers
968
views
USB3 pass-through on a board - dealing with the USB-PD situation?
We have a board where the customer wants to be able to pass USB through from one USB-C connector (on the back) to another (on the front) to make plugging in the odd peripheral easier - sounds easy ...