Questions tagged [usb-device]
Quesions about the design of USB devices that connect to a USB host, such as a PC.
557
questions
0
votes
0
answers
32
views
USB IC from Cypress does not let me charge devices with power adapters with unconnected data pins
I have a product using the Cypress CY7C65213 USB-UART bridge controller. We started to face some field problems where the clients reported that the device was not charging with some power adaptors. I ...
0
votes
0
answers
8
views
SD storage class controller error (code 10) on Windows 10 but not windows 7 [migrated]
We have a unit that has a VUB300 SD card reader IC designed in to allow the offload of data from an SD card over USB. When connected to a windows 7 PC, the card reader works fine and I can read / ...
1
vote
1
answer
75
views
How does USB passthrough charging work?
I am currently making a keyboard for a phone. It connects to the phone using USB-C.
I'd like to be able to charge the phone while the keyboard is connected, so I need some kind of pass-through ...
0
votes
2
answers
103
views
Can I remove the power wires of USB 3.0 and still use data wires? [closed]
So I have this SATA to USB converter for 2.5 inch HDD
I want to cut away the power port (5v) and use the remaining data port with an separately powered (12v) 3.5 inch HDD. I was wondering if this ...
0
votes
1
answer
78
views
How to connect USB to an ATmega328p?
I'm making a board that requires an ATmega328P to respond to commands from a computer. It needs to be connected with USB. I am new to this and trying to figure out how to best do this. I know I'll ...
1
vote
1
answer
67
views
USB-C data-only cable for phone to battery-powered accessory
Basically I have phone and a battery powered USB/Bluetooth controller. The Bluetooth connection isn't great, so I want to use it wired. However it drains my phone battery to recharge its own. I'd ...
1
vote
1
answer
66
views
FT231XS FTDI USB UART self-powered circuit
I haven't been able to find a full example of a self-powered FT231XS circuit. I was hoping to get feedback on what I have put together from studying the datasheet (any glaring issues?):
3v3_RUN is my ...
1
vote
0
answers
48
views
USB-C device (UFP) sourcing power?
I would like to design a device with an USB type C connector, USB2.0 only, no PD function, UFP data role but the power role is source only.
The device is a self-powered peripheral that sources energy ...
0
votes
0
answers
102
views
Does this board do anything else than exposing D+,D- and Vcc,Gnd to some plugs?
I disassembled a JBL Flip 4 blutooth speaker and put out its micro-usb board. I found an image of the bottom
and of the top
on ebay. I have also made an image of my board, but it's full of glue.
So ...
2
votes
1
answer
104
views
STM32 USB HID Keyboard skipping key presses
I have an STM32F3DISCOVERY evaluation board which has an stm32f3 mcu on it. I am trying to use the board to emulate a USB keyboard.
I used the STM32CubeIDE to enable USB communication, configure the ...
0
votes
2
answers
87
views
How to go about repairing a ripped solder pad on a USB flash drive?
I have a flash drive that sustained damaged the USB port. It looked like it just needed to be reseated with fresh solder and some TLC so I went ahead and started to remove the damaged port and then ...
2
votes
2
answers
84
views
LED Matrix to reduce current consumption
I'm trying to control RGB LEDs via USB. All LEDs have the same color, so I'm controlling them with only 3 PWM signals (generated from a PIC).
The problem I'm facing is to reduce the current needed in ...
0
votes
1
answer
68
views
connecting USB2.0 to USB Type C plug
I have a camera that connects to USB2.0 Type A
I would like to connect it to my laptop that has a USB Type C receptacle..
I can't use a converter.
What is the wiring diagram for this solution?
I have ...
0
votes
1
answer
80
views
"Invalid PID Sequence"
I'm trying to create a HS USB device. The chirp sequence goes OK, but the device won't fullt enumerate. Device Manager reports "The request for the device descriptor failed". SO that's ...
0
votes
0
answers
24
views
USB 2.0 Device Signal Quality xHCI Testing
I haven't run this test in 3-4 years and when I did it was the EHCI version. If I understand correctly, I need to use the xHCI version because my host controller is a new-ish laptop that supports up ...
0
votes
0
answers
47
views
Using TUSB2036 for two USB 2.0 Ports
I want to use TUSB2036, where the upstream is a USB2.0 port (USB2_DP, USB2_DN) comes from Intel CPU.
For my design I need two USB2.0 downstream ports for WWAN and WIFI M.2 Application.
Can this device ...
6
votes
1
answer
1k
views
Do I need a license to use a USB-A plug on my power cable?
I want to make a product that has a power cable with a USB-A plug on it.
There is no USB socket on the device, the cable just enters the device, similar to the HomePod mini.
The idea is to instruct ...
1
vote
0
answers
32
views
Using USB5742 USB 3.2 Gen 1 HFC IC with pre-configured firmware
Due to Chip Shortage problem, I have been looking for USB 2.0 Hub Controller for long time now.
I need only two USB 2.0 Downstream (PHY) ports for my design.
I contacted MicroChip and they have the ...
0
votes
1
answer
57
views
What would happen if earth ground and the PCB ground came into contact?
So I have an ATX PSU that I'm converting into a 12v, 5v power supply. I also have a group of 4 USB ports from an old computer that I connected to the 5v line of the ATX PSU. Unfortunately, the USB ...
0
votes
0
answers
48
views
Intermittent USB Enumeration
I have a FS USB-powered device I'm working with. We have multiple different devices that all use the same USB circuitry, but for some reason on the latest build (700 pieces) of a particular device we'...
4
votes
4
answers
431
views
Limit inrush current for USB and large capacitors
I am building an ESP32 custom board (project link and full schematics/layout.) I want to add USB to it for programming only.
Power Supply:
USB to serial:
During normal operation, the board will be ...
0
votes
1
answer
124
views
Are USB cables active circuits?
I always assumed a USB cable between two devices is just a collection of wires. I recently saw some pictures when shopping for cables indicating they have internal circuitry.
Could someone clarify if ...
0
votes
1
answer
49
views
USB Device Intermittent Disconnects
I have Xilinx Eval Board(SP605) with USB-UART bridge(SI CP210x). The board is connected to Win10 Computer USB port. The USB communication is failing intermittently when running tests.
Observation so ...
0
votes
0
answers
91
views
Female micro USB with 3.3V USB webcam
I have taken a 3.3V webcam out of an old laptop and have tried to get it to run on USB with a different computer.
My first attempt of cutting off the end of a USB phone charging cable and soldering ...
1
vote
1
answer
115
views
Can a device distinguish between USB HDD and flash drive?
I have a smart TV (LG C1) that can "pause" live TV, but demands a USB HDD attached.
It will refuse a brand new USB 3.2 flash drive, but will happily use a 2014 mediocre HDD on USB 3.0. I ...
2
votes
1
answer
75
views
Why does the ESP32 DevKit has a green box?
I am trying to copy the ESP32 DevKit behavior in my own PCB (my pcb project).
I want that the ESP is powered from USB when plugged (for programming purpose only), but then powered by my external PSU ...
2
votes
2
answers
98
views
USB C Mod not working with high wattage PD cables
I made a USB C mod for my calculator. I wired all the Vbus, ground, D+, and D- pins to the corresponding mini B traces. Also did the 5.1K resistor as a pd from CC to ground so that USB C to C would ...
0
votes
0
answers
58
views
Problems turning USB-A mouse dongle to USB-C
today I was trying to turn my old USB-A mouse receiver to an USB-C mouse receiver.
I was using an USB-C plug of an old broken USB-C to USB-A/Ethernet-Adapter (similar to the one in the picture), it ...
1
vote
0
answers
97
views
STM32 USB Mass Storage on External OSPI Flash
Hardware Target: I am using the STM32L4R9IDISCOVERY board
Achievement 1: Building a little-fs file system, reading & writing files in the OSPI Flash memory with these functions:
...
4
votes
2
answers
501
views
Do I need to switch power and ground on USB 3.0?
I am an electronics novice, so before I start cutting my cable, I want to ask people who know more than me. I have a project that has a USB 3.0 hub inside, and I want a single switch to handle the DC ...
0
votes
0
answers
55
views
UVC FIFO master interface
I have to interface OV7670 camera module (without an external memory like AL422 for now) to a UVC USB chip FT602Q in 245 synchronous FIFO mode for my webcam project prototype. I followed some ...
0
votes
2
answers
57
views
Questions about USB system architecure
I am reading about USB system architecture. A couple of things are not quite clear from the description on the Internet.
Is the USB controller on the host called "host controller"?
Are PHY ...
1
vote
0
answers
62
views
Developed USB device not recognized on Windows/Linux - device descriptor error - RTL2832 dev board
I am developing a hardware where I would like to use an SDR circuit (RTL2832). However on the first prototype the circuit does not work. It has a USB interface however when I connect it to PC the ...
1
vote
1
answer
55
views
Streams supported or not?
I'm reading documentation about this component: https://www.microchip.com/en-us/product/LAN7800 .
It is a Ethernet to USB 3.0 Bridge. In a documentation point appears this:
The USB functionality ...
0
votes
1
answer
96
views
Trying to identify an (OEM?) analogue video USB capture board with <GsubR> logo
I am trying to diagnose a scientific instrument with a USB bus fault.
It has a built-in analogue video camera which produces a CVBS output. This drives the small double-sided header board I am trying ...
1
vote
2
answers
94
views
USB C host and peripheral at the same time [closed]
Can a Dual-Role USB C port (e.g. on a smartphone) be used in both roles at the same time?
So can it e.g. be connected to a PC and a keyboard at the same time?
1
vote
0
answers
99
views
Implementing a USB hub with MITM (packet interception) capabilities
I'm working on a project in which I essentially need to implement a USB hub that also contains an embedded Linux SoC that would man-in-the-middle the connection between an upstream USB host and a ...
-1
votes
1
answer
62
views
How does PC install drivers and device info? [closed]
Can someone please explain how a PC knows all the info of a device as soon as you plug it in? How can I add this functionality to a bluetooth or USB device?
0
votes
0
answers
32
views
Protection and filter on USB Power Lane device
Struggling finding good information, I would like to know which protections should be on a USB device ?
The device is custom battery charger pcb (using MP2607 from MPS) which should be plugged on AC ...
1
vote
0
answers
30
views
Designing a product with USB Host and Device mode and connectors
I'm the product manager for a line where we are going to develop a new version that supports USB devices. So the product will act as a host via USB 2.0. However, the same product also needs to be ...
0
votes
1
answer
102
views
USB-C Dual Role Data and Alternate Mode
I have a question about USB-C - USB 3.0 Design. I have asked to some manufacturers (Renesas, Texas Instruments) if their PCIE to USB controllers support Dual Role Data but they told to me that that ...
0
votes
1
answer
77
views
USB3320 REFCLK Pin
I'm looking at the Zybo USB OTG Schematic and the USB3320 datasheet. I noticed that USB3320's REFCLK pin is not connected. I read in the datasheet that the refclk pin needs to be connected to the ...
0
votes
1
answer
51
views
How to hard-wire CC and CC2 pins for a hard-wired device?
I am designing a board with a Microchip USB7252 hub IC and a superspeed device. The superspeed device is wired directly into Port 1 of the USB7252. Port 1 is designed to be wired to a Type-C connector,...
0
votes
2
answers
50
views
Vbus led doesn't turn off after disconnecting USB cable
I designed a circuit based on FT232XS (USB bus powered configuration). I placed red Led on vbus, when I disconnect the usb cable the led doesn't completely turn off and (tx, rx) leds start slightly ...
0
votes
1
answer
72
views
USB C splitter with two charge for 2 usb monitors
I have a laptop with 2 USB C ports only. I want to be able to continue charging the laptop via one of the USB C ports and then use the remaining USB C port to split two directions, so that it provides ...
0
votes
0
answers
119
views
Problem with data transfer using USB power lines (so no data lines)
I am using a Omnidots SWARM vibration sensor to measure vibrations on construction sides, works fine but I do need a battery from Omnidots in order to make it work off-grid and those batteries are ...
-3
votes
1
answer
82
views
Is there a default state of a configurable IC?
I am making a USB hub and the controller chip is configurable, but i am wondering if the hub can work without configuration, if I can put a bunch of no connect flags on half the pins.
Here is the ...
1
vote
0
answers
40
views
USB C PD source not powering simple USB 2.0 sink
I made a simple PCB that I wanted to be powered through a USB C connector with low current requirements (~50mA). I spent some time reading through the USB C Spec as well as reading other relevant ...
0
votes
0
answers
133
views
USB data on Pi Zero not working after extending the USB data lines on it to another board
So, for my project, I took a Raspberry Pi Zero, which is to be put in an enclosure. When placed in the enclosure, the micro USB connectors on the Pi Zero cannot be accessed. Hence I took the USB data ...
0
votes
1
answer
59
views
Battery charging from USB and max current
I'm designing a wearable device, which is powered by a lipo battery. It can consume up to 100 mA, with 2A short peaks. The battery needs 360mA for charging. Charging IC with power path is used.
And ...