Questions tagged [usb-host]

A USB host port implements the upstream end of a USB connection

Filter by
Sorted by
Tagged with
-1 votes
0 answers
33 views

USB Power Delivery Power Role Swap in Android

TLDR This is a cross post from this StackOverflow question as it is not clear to me which group this properly belongs to as it rides the line between hardware/firmware/software development. When I ...
user avatar
  • 193
1 vote
1 answer
58 views

USB-C passthrough (including CC line) not making connection

I'm trying to make a USB-C switcher. I'm using a rotary switch (center) to have one input USB-C receptacle switch between two output receptacles. This is so I can plug my keyboard into the input and ...
user avatar
  • 11
1 vote
0 answers
61 views

ESP32 2 SPI connnection ethernet shield and usb host

Is it possible to have two SPI connection for ESP32 for ESP32 below link for the product https://www.amazon.co.uk/AZDelivery-NodeMCU-CP2102-Development-Parent/dp/B07ZZFXRTY for ethernet shield ...
user avatar
0 votes
0 answers
108 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 ...
user avatar
0 votes
0 answers
59 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 ...
user avatar
0 votes
2 answers
58 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 ...
user avatar
  • 219
0 votes
1 answer
73 views

Is it possible to draw power from the slave USB port of a self-powered device?

I'm currently trying to build a hardware USB-MIDI-Recorder based on an Arduino Leonardo. The idea is that you attach it to a self-powered device like an E-Piano that features a USB-B out port for ...
user avatar
  • 391
1 vote
2 answers
112 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?
user avatar
  • 655
1 vote
0 answers
108 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 ...
user avatar
1 vote
0 answers
31 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 ...
user avatar
0 votes
1 answer
118 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 ...
user avatar
  • 340
0 votes
1 answer
83 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 ...
user avatar
  • 33
0 votes
1 answer
35 views

Drawing Power From USB Type B Port

Can you draw power from a USB Type B port? I have a raspberry pi connected to a printer from its type A port to the printer's type B port. The raspberry pi also has a type C port to provide it power. ...
user avatar
  • 103
1 vote
3 answers
429 views

Serial to USB-Host CDC

I have a device that includes an USB-B port and, when connected to a computer, it appears as a virtual serial port and I can send AT commands to it. I'm trying to create a board that will include an ...
user avatar
0 votes
1 answer
75 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 ...
user avatar
  • 11
0 votes
1 answer
90 views

Is it possible to use CANopen for USB communication?

I have an idea. USB singals are differential singals and they look the same as CAN-bus signals, even if they are USB signals. Is it possible to use CANopen protocol to transfer USB signals to other ...
user avatar
  • 775
0 votes
0 answers
50 views

USB host driver for PL2303 with Microchip USB stack

My goal of the project is to establish communication between PIC24FJ32GU202(USB host) <--> PL2303SA(USB device). I have configured the PIC24 as USB host and with help from examples, MCU can ...
user avatar
  • 1
0 votes
2 answers
81 views

USB 3.0 Host with two devices on one line: a 2.0 hub and 3.0 port

Is it possible/sane to connect a USB 3.0 host controller's D+/D- pins via a USB 2.0 hub (to allow several downstream USB 2.0 ports) while connecting the USB 3.0 ss pins directly to a USB 3.0 connector ...
user avatar
  • 125
0 votes
1 answer
67 views

Off the shelf host to bridge two USB serial devices? [closed]

I have two USB serial 'devices' (in the 'host' vs. 'device' sense) which I want to get talking to each other. Is there a cheaper/smaller/more focussed off-the-shelf solution for a USB host that will ...
user avatar
  • 258
0 votes
1 answer
147 views

USB host support for STM32 [closed]

Is it possible (is any IC) that make USB host with STM32? I mean for example UART->USB or SPI->USB converter that make USB host. It sounds strange, I know. Microcontrollers like STM32F103 make ...
user avatar
  • 11
2 votes
1 answer
100 views

How does a role swapped USB OTG A-device detect that it has been disconnected from the host?

Let's say I have a USB OTG A-device that has negotiated a role swap via HNP, i.e. it is providing VBUS while acting in the device (non-host) role for data. More commonly USB devices do not provide ...
user avatar
0 votes
1 answer
137 views

How to get 5 volts from Lightning pinout? [closed]

How to make the Lightning port of iPhone output 5V power?
user avatar
1 vote
0 answers
114 views

Unable to Identify VL805 device

I have designed a PCIE to USB3 converter device that is based to VIA LABS VL805 Q6 Chip. My problem that I can't recognize the VL805 chip in Linux, using the command "lspci": here is the ...
user avatar
  • 583
0 votes
0 answers
34 views

USB Interfacing of TETRA device with microcontroller

I am trying to interface my TETRA device with the microcontroller using the USB interface. The microcontroller will act as a usb host while the TETRA will act as a USB device. I am using STM32F469I-...
user avatar
  • 1
2 votes
1 answer
510 views

USB communication between Android phone and MCU while continuously charging the phone

I am working on a project where I have to communicate between an Android phone and a microcontroller through USB and continuously charge the phone. I have very limited experience with USB and would ...
user avatar
  • 21
0 votes
2 answers
89 views

USB Host and Device communication happen in the same controller preferably Pic controller

Working on new project, which requires- 1st port is for HOST function with Type A connector and 2nd is for Device function with Type B connector & not support USB host port and device port at the ...
user avatar
  • 11
1 vote
1 answer
848 views

Which USB spec actually defines support for Dual Role Device? Type-C or USB 3.1?

I'm trying to get a concrete answer on what determines DRD support... the port type (USB-C) or the protocol type (USB 3.1). Besides the poor naming scheme with USB 3.0/3.1/3.2, there's a lot of ...
user avatar
  • 145
0 votes
3 answers
305 views

Are USB Type A data lines unidirectional or bidirectional?

I want to isolate the data between my computer USB and my FT232RL (as usb to UART converter) to communicate with my arduino Like this: simulate this circuit – Schematic created using CircuitLab ...
user avatar
2 votes
1 answer
1k views

USB Type-C: Are CC1 and CC2 interchangeable?

The schematic bellow is a USB controller, designed to be used to change USB's VBUS voltage: Question: Are CC1 and CC2 interchangeable, meaning that red-marked labels could be switched between them, i....
user avatar
  • 140
0 votes
2 answers
71 views

Understand USB suspended or unconnected mode

I'm trying to understand a problem I'm having related to a USB connection. I'm working with a Mini PCIe 4G module (Quectel EC25 Mini PCle 4G/LTE) and at this moment my goal is to put it in sleep mode. ...
user avatar
  • 249
0 votes
1 answer
109 views

Help on creating a USB Hub Switch that enables multiple computers to share USB device?

In the past year of working from home I grew tired of a ritual that I have to do every morning and every afternoon, the usb peripheral change. I have tried different solutions multiple keyboards/mices/...
user avatar
0 votes
0 answers
41 views

FatFs usb memory stick write problem

I'm trying to write data to usb memory stick with stm32f107. Main function is: ...
user avatar
  • 3
0 votes
2 answers
76 views

Connecting a USB 1.1 host to a host PC (pretending a PC is a gamepad)

I would like to connect two USB hosts together and was wondering if a USB bridge is the correct tool for this. Specifically, one device is a video games console that uses USB 1.1 for controller input. ...
user avatar
1 vote
1 answer
78 views

Does a device with USB HS Device support necessarily support host mode?

I'm a beginner in the MCU world, I've been looking at some comparison tables for MCU capabilities and I am a little confused about USB capabilities. For instance, looking at this Microchip listing ...
user avatar
1 vote
4 answers
134 views

USB Beginner Help [closed]

Why is it that when I plug in a USB device mouse/ 2D scanner, the host computer is able to detect and recognize it automatically, allowing it to do whatever it is supposed to do (i.e. move my cursor/ ...
user avatar
0 votes
1 answer
146 views

Looking for a way to connect wires to a breakout board without soldering

I'm looking to get a custom keyboard cable but there's a catch - my keyboard cable is currently hardwired. The solutions I've come up with are either to use a janky solution where I use solder splices ...
user avatar
  • 1
4 votes
0 answers
445 views

So can we just draw 500 mA from any USB port without enumeration now?

The USB Type-C Spec R2.0 defines the USB Type-C Current feature, in which the power Sink observes the voltage on the CC pin to determine how much current is available from the Source, which falls into ...
user avatar
  • 27.8k
-1 votes
1 answer
131 views

USB Type-C 10Gb mux, or hub IC [closed]

I am planning to create a PCB that takes the Type-C frontpanel header, with a speed of 10 Gbps and provides two USB Type-C ports from that one cable. The PCB will be a frontpanel mod. During my IC ...
user avatar
  • 143
0 votes
2 answers
170 views

What is the inverse of an FTDI FT232R? [closed]

I have an existing device that takes the UART data from the internal CPU and uses an FT232R to present that UART as a USB device. It was designed to be easy to connect to a PC since most have FTDI ...
user avatar
  • 1
1 vote
1 answer
308 views

Does USB host mode on an STM32 require VBUS sensing?

I’ve been using an STM32F413ZH Nucleo board as a USB host device. All is working well. However, I’m in the process of designing my own PCB based on the Nucleo design, but using a full-size USB Type A ...
user avatar
  • 31
-1 votes
1 answer
65 views

Any teardowns of a usb type a male to type c female adapter? [closed]

I'm trying to make my keyboard cable detachable and USB type C, need to know how the wires in a type a male to type c female adapter would look (one with a short wire in between and not just a board).
user avatar
0 votes
0 answers
114 views

Is it allowed to use a USB-C connector to a USB 2 host?

I am working on a product that is intended for at least the european market and possibly the US market as well. I am not at all acquainted with the USB specifications, and currently I do not intend to ...
user avatar
2 votes
1 answer
564 views

USB Type C Design

I would like to have an answer about the implementation of a USB Type C device. Comparing with the USB 2.0, where the pull-up resistor is needed on D+ to select the communication speed, I did not find ...
user avatar
  • 140
0 votes
0 answers
111 views

Ch376 USB Module with SPI

What is the problem here, I used logic analyser to check the data and commands i send to the Ch376 USB Module, And all are right, But the module is not responding with any reply, Just return back the ...
user avatar
0 votes
0 answers
66 views

Methods to ruggedise a USB3.0 type A port

I am developing a carrier board for a autonomous navigation robot. I need to change the USB 3.0 type A ports to ensure a reliable connection in a rough terrain. I am familiar with some methods as: ...
user avatar
  • 113
6 votes
5 answers
3k views

What polyfuses protect USB ports in a typical modern PC?

I would like to know what is the typical rating of a polyfuse used on modern PCs (desktop or laptop) with USB 2.0 and 3.0. TE Connectivity apparently recommended in 2011 that a single USB 2.0 port (...
user avatar
  • 177
1 vote
1 answer
81 views

Manually communicate on an USB bus

I'm using an MBED LPC1768 as a UC and I'm trying to communicate with a USB Device (a random hub) just to read the device descriptor. I'm quite a novice in electronics. I've connected + and - to UC ...
user avatar
  • 191
0 votes
1 answer
47 views

USB 3: keyed connector protocol adherence necessary?

The USB 2 specification presents the concept of the "Keyed Connector Protocol" in chapter 6 section 2 (6.2). Basically, as I understand it, this limits the use of type A receptacles to downstream ...
user avatar
  • 53
5 votes
1 answer
1k views

DC 12V to 5V 3A USB Type C

I wish to power my Raspberry Pi 4 from a 12V DC battery and to do that I purchased these two products: Pololu 5V, 9A Step-Down Voltage Regulator D24V90F5 USB 2.0 Type-C Connector Breakout Board I ...
user avatar
  • 51
0 votes
0 answers
182 views

USB-host on PIC32: enumeration not working

I've been struggling with this problem for about half a year and I'm on the verge giving up completely. This post on this forum is my last resort, and I hope anyone can throw some light on what I'm ...
user avatar
  • 900