Questions tagged [usb-device]
Quesions about the design of USB devices that connect to a USB host, such as a PC.
676
questions
0
votes
2
answers
33
views
USB 3.0 SS lines issue
Can you route USB 3.0 SS lines to two PCB's but the USB controller is located on the second PCB?
The PC host is connected to the first PCB over a usb c-c connection (center usb port in image). Then ...
0
votes
0
answers
8
views
How to get 50 points so I can comment on something that I think is useful information [migrated]
1.The problem is I need 50 points to be able to leave a comment on something and I feel the information is relevant.
2.I have went as far as making a name then attempting to comment only to find a ...
0
votes
0
answers
16
views
Unable to make ULPI works with STM32F446
I am using a USB3300 chip as an external HS 480Mbit/s USB PHY with STM32F446 MCU. Using CubeMX to generate code and add USB CDC Middleware. As I connect the USB Cable from the PC to the USB3300 chip ...
0
votes
0
answers
19
views
STM32 VBUS sensing with quick charge
I'm developing a self-powered device based on STM32. The fast charging feature controlled by a chip using D+/D- USB pins. Once USB is connected, the chip performs "handshake" to know the ...
0
votes
1
answer
22
views
Can the MCP2221 send serial data through a USB serial link?
I am using a MCP2221A to program an ATMEGA1284p through the USART/UART lines(converting USB signals from the computer into a programming signal the MCU can read). However, given that I can send serial ...
6
votes
3
answers
1k
views
Does USB-C Power Delivery require both CC pins or D+/D- pins?
I'm working on a project to update a device to use a Li-Ion battery rather than non-rechargables. I would like it to be charged via USB-C.
I have previously used IP2721 to handle the power delivery ...
0
votes
1
answer
61
views
How do I troubleshoot the ESP32 USB JTAG/UART interface on a new PCB design?
Question
How do I troubleshoot the ESP32 USB JTAG/UART interface on a new PCB design?
Background
My son is working on a project to track satellites and this is the first time that we have worked with ...
0
votes
0
answers
88
views
RP2040 automatic BOOTSEL switching circuit
I enjoy drawing electronic circuits and making them by hand as a hobby. (Not a major, not a job)
While writing a custom board based on the RP2040 chip, I am trying ...
0
votes
0
answers
41
views
USB 2.0 FS device over USB C with both power directions
I'm designing a battery-powered device with the following requirements:
rq1: (a) Charge the device's battery over a USB C receptacle, or (b) provide power over the same receptacle. Both directions ...
0
votes
0
answers
39
views
How to check if I destroyed the bluetooth receiver
I have very little experience with electronics but I tried converting my Logitech unifying receiver to USB-C.
I followed the steps I found online and got a functioning result. I based my wiring on the ...
0
votes
0
answers
87
views
What’s this PCB that interfaces with the USB CarPlay connector of the Ioniq 5 / EV6?
As with several owners of the Hyundai Ioniq 5 and the Kia EV6, I’ve been having intermittent issues with the USB CarPlay functionality. It worked fine when the car was new, but after a few months the ...
1
vote
2
answers
74
views
USB Current Oscillation ~ 100 mA Without Device [closed]
Apologies for my lack of deep knowledge here - this is not my background and I am definitely an amateur so I greatly appreciate your willingness to help me!
Background: I was curious about the ...
1
vote
1
answer
62
views
USB on ATmega32U4 powered at 3.3V
I have an already-designed board that uses an ATmega32U4 (a board of our own design). It is USB-powered at 5V and it has an external 16MHz crystal.
Below is a screencapture of the relevant portion of ...
0
votes
0
answers
38
views
USB 3.0 device with additional AUX power port (both USB-C) - proper schematics?
I'm designing the USB-C 3.0 device which has MAIN power coming from a classic USB 3.0 port of PC/laptop (limited to 900mA in worst case). I'd like to add additional USB-C port for external AUX power ...
1
vote
1
answer
39
views
Is it safe to connect a µUSB bus to another voltage bus?
If I connect my µUSB bus to the other 5V bus what are the consequences?
What can I put in place to make it safe?
The µUSB would be plugged in while the circuit is active to reach a µC by default.
The ...
0
votes
0
answers
164
views
Problem with STM32 USB OTG FS connection (device)
Some context:
We are developing a medical device using STM32H7ZIT6 MCU. We succesfully developed a working prototype, using UART connection protocol.
Couple of consistency problems (i.e. the device ...
0
votes
1
answer
137
views
How do you wire a usb type c female connector?
I'm modifying my Nintendo controller, and I need to solder some stuff onto the usb type c female plug. However, I noticed there are five pins, and I have no idea what a single one is. Could you ...
1
vote
0
answers
81
views
Can I send USB feature reports to USB HID devices on Windows?
I'm working on a microcontroller project that should be programmable via USB. I chose the CH32V003 microcontroller as it's cheap and I thought a USB bootloader exists: https://github.com/cnlohr/...
1
vote
1
answer
76
views
Can two USB3 5Gbps peripherals use full 10Gbps bandwidth of USB 3.2 (Gen2x1) hub?
I have two USB3 Vision cameras, which are 5Gbps USB3.0 peripherals. They are connected to Nvidia Jetson Orin, which has only a single USB3 bus implemented by an internal USB 3.2 (Gen2x1) hub. Is it ...
0
votes
1
answer
75
views
Device with USB C connected to USB A of the computer
We have a portable device with USB B and FTDI FT232RNL and (8 bit MCU) powered by an adapter. Thanks to the EU, we have to implement USB C in it. Our current prototype design is with USB C(replacement ...
0
votes
1
answer
121
views
SATA to USB conversion: is it complex?
Recently I purchased a SATA to USB adapter. To be able to access 2.5-inch (laptop) and 3.5-inch (desktop) hard drives.
To my surprise, there is a board to do the conversion.
Question
Why there ...
1
vote
1
answer
73
views
USB3.2 backwards compatibility in KVM
I am making a KVM switch, and I have a USB 3.2 Gen 2x1 connector.
From what I have read, USB 3.0 and better has 9 pins, and USB 2.0 has 4. I have found a MUX which suits my needs: the TMUXHS2414, but ...
0
votes
0
answers
73
views
Wireless charger reverse engineering
I am trying to figure out how to design an H-bridge for a wireless charger. And I thought that reverse engineering an off-the-shelf one might give me some clues.
I might have made numerous mistakes ...
0
votes
1
answer
119
views
SAMD51 can't get USB to enumerate
I made a simple custom board with a SAMD51 and am trying to get USB to enumerate on my computer, it works with Atmel START USB example so I know the board is ok. I have a problem where after sending ...
2
votes
1
answer
85
views
USB Type C - only for powering my board
I want to use a USB type C cable only to power my board.
My board requires 5V input and max of 2A load.
I read that by default, the USB Type C cable can give an output of 5V & 3A.
So, I am ...
-1
votes
1
answer
488
views
USB serial connection between Raspberry-pi and Android-phone
I have a Raspberry-pi-3-model-B and an Android phone device.
The connections are as follows:
My raspberry pi is connected to my laptop through USB (this is not the important part).
Also, from the ...
0
votes
0
answers
46
views
UART over USB for radio transciever board
I am creating a telemetry radio that operates over UART, but I want to interface via a USB port so the same connection can be used between the flight computer and the onboard radio and between the ...
0
votes
0
answers
22
views
Issue in integrating USB with SD card using STM32F4 [duplicate]
I am currently working on a project that involves integrating USB functionality for data transfer and data logging on an STM32F407VG micro-controller. Specifically, I want to log data files on an SD ...
0
votes
0
answers
108
views
Issue in USB_OTG_FS and SD card Integration
I am currently working on a project that involves integrating USB functionality for data transfer and data logging on an STM32F407VG micro-controller. Specifically, I want to log data files on an SD ...
0
votes
1
answer
191
views
USB HUB for OTG
I have designed a custom board with Processor which is having a dedicated USB 2.0 OTG port. I want to convert it to 4 USB OTG ports. so I was thinking to use the USB 2.0 HUB with OTG support for 4 ...
1
vote
1
answer
58
views
USB4 minimum speed requirements
Based on what I'm reading in the USB4 V2 spec (section 2.1.1.4), in addition to less technical references I've been able to find online, all USB4 hosts, hubs, and devices are required to support 20G (...
9
votes
1
answer
103
views
What does a USB device need to do so that the host device can sleep?
I am using an ATmega32u4 that is connected semi-permanently to a mobile Android device (specifically, a keyboard connected to a phone).
While the device is connected and USB is enabled on the ...
0
votes
0
answers
77
views
Can a USB 1.0 low speed device negotiate for 500 mA of current from a host?
It is my understanding that a USB 2.0 High Speed device can never negotiate for more than 500 mA of current, even if it is connected to USB 3.0 Super Speed host. That is because the Configuration ...
0
votes
2
answers
145
views
Android phone/tablet and computer does not recognize the 2d lidar connected by type-C [closed]
We are using a lslidar m10 which has a type C interface. It can be connected to the USB A port on a computer and work fine.
Now we look to use the lidar with an android tablet/phone which only has a ...
1
vote
2
answers
95
views
Want to know blown out diode value of USB device
I have a PTZ camera which has 9-pin USB B device. When I plug into to the USB it shows the error power surge. I knew something was burned out and opened the device to check and found out that one of ...
0
votes
0
answers
26
views
USB ESD Protection with the NUF2042XV6T1G IC
I have been trying to figure out how exactly I should connect the NUF2042XV6T1G IC to my USB data lines. From what I understand, usually a reverse biased transile diode is connected between the data ...
2
votes
1
answer
260
views
USB Port Design with ESD/Overcurrent Protection
I am working on a small project in which I use a CH340 to communicate with an MCU, but during prototyping I probably should have a way to protect the controlling computer's USB port from shorts. I ...
-1
votes
2
answers
167
views
USB-PD over USB-A
I have a power adapter from Samsung which supports an output of 5.0V 2.0A or 9.0V 1.67A. The adapter has a USB-A output and fast charges my S10 at 9V. Can USB-A be used for USB-PD?
I also have a ...
1
vote
1
answer
86
views
USB2244 card power is never supplied and USB port is not detected [closed]
I have been trying to use the USB2244 on a board but I can't seem to get it working and I am not sure what the problem is. I went over and over the datasheet but can't seem to figure out what I'm ...
0
votes
0
answers
78
views
IC to detect when connected to DCP vs SDP/BQ24392 Wiring Help
I'm designing a device using the MCP73871-2CC, which I would like to be able to vary its charge rate via the SEL pin. For this purpose, I think that an IC would be needed that could detect the ...
0
votes
1
answer
41
views
Does the quality of USB cable affect the power drawn?
I was wondering how the power drawn is affected by different cable? I tested two different types: A USB cable plugged to a USB digital tester which showed a power of 4.88 V and 2A drawn, whereas the ...
0
votes
1
answer
93
views
Nandland Go Board - Diamond Programmer
I'm trying to program my first FPGA with the Nandland Go Board on Windows 11.
I've followed all the instructions in these tutorial videos:
https://youtu.be/nfB8-8JfVFE
https://youtu.be/l_eo21vHxw0
...
0
votes
1
answer
850
views
How does a USB HID gamepad specify button codes?
I'm working on a device emulating a USB HID gamepad with 32 buttons. This is the basic Report Descriptor I created
...
0
votes
2
answers
156
views
Checking voltage of battery with a USB connector
I soldered two wires on female USB type A pins,one wire to ground and the other to the VCC pin.
I was trying to check the battery voltage of the li-ion battery in my flashlight,
I connected the a ...
0
votes
0
answers
77
views
LTE SC206E Smart Module acting as USB host and device
We have a requirement such that SC206E should act as a device when USB cable is connected to
J12 for programming ,otherwise it acts as a host. For this purpose we have implemented the circuit as shown ...
2
votes
0
answers
76
views
What constitutes a packet a Wireshark USB bus capture of an isochronous endpoint?
I am working with a USB device which uses UAC to transfer audio data to the USB host and it does this through an isochronous endpoint. I understand that these endpoints are polled on regular intervals ...
1
vote
0
answers
121
views
How to get USB 3.x power but with data limited to USB 2.0 HS?
I am designing a device with a few interesting requirements. Due to power requirements, we need to draw 900mA, but due to isolation requirements, we're limited to the 480Mbps rate for our primary ...
4
votes
1
answer
318
views
Streaming 30 MByte/s into a PC using an FT232H?
I want to bring a continuous 30 MByte/s stream of 8-bit values from parallel-output ADC (AD9283) into the memory of a standard PC (laptop under Windows 10 if possible). My software does real-time ...
0
votes
1
answer
69
views
Using only USB Type C signals without USB2.0 Signals
Need your help regarding SC200E USB. As per my understanding SC200E supports both USB2.0 and USB Type C.
My question is can we use it separately.
I mean we need to connect the USB2.0 signals of SC200E ...
0
votes
0
answers
69
views
The receiver sends correct but too much information to the keyboard with STM32 nRF24
I have a problem with keyboard hid. I did remote control with STM32 transceiver nRF24. My problems that receiver true receiving incoming data but too much text. Problems that:
...