Questions tagged [usb-host]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

USB peripheral not responding to SETUP packets

I'm writing some Verilog on a Spartan S7-50 FPGA to control a MAX3421E (datasheet) over SPI. I've gotten everything working with setting up the chip (full-duplex, Vbus, connection detection, host mode)...
Andrew Li's user avatar
  • 215
0 votes
0 answers
43 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 ...
BaldursLogicGate's user avatar
0 votes
1 answer
77 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 ...
Brt's user avatar
  • 65
0 votes
1 answer
138 views

USB host, STM32. f_mount returns FR_DISK_ERR

I'm trying to connect a USB flash drive to an STM32F407VGT6. IDE Keil, I used compilers 6.19 and 5.06. ...
stm's user avatar
  • 81
0 votes
2 answers
70 views

What is the communication protocol used by non-expansion card USB ports to communicate with CPU?

USB ports can come as expansion cards, like this: Now obviously, since this is a PCIe USB card, the communication protocol used by this expansion card to communicate with CPU is PCIe. But what about ...
Noob_Guy's user avatar
  • 423
1 vote
1 answer
67 views

Computer interface with USB devices

I'm making a computer peripheral that will be connected via a USB. The main brain is an STM32 ARM MCU, it has USB support natively. It has multiple sub-peripherals inside and it uses I2C and SPI to ...
Abd Alhaleem Bakkor's user avatar
1 vote
1 answer
73 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 ...
kumar's user avatar
  • 11
0 votes
0 answers
59 views

4 Port USB 2.0 Switch

I am currently working on a device that is able to switch four USB devices back and forth between two PCs (see picture). For the task I wanted to use a "TUSB4041" as a USB hub and the "...
Paul Holz's user avatar
2 votes
1 answer
209 views

Using USB 4.0 port as USB 3.2 Gen2 x2 (10 Gbps per lane) with USB-C connector without PD-Controller

I'm designing a Motherboard with AMD Ryzen 7040 series APU, and I'm interested to use one of it's USBC ports (which support USB 4.0) only as USB 3.2 Gen2 x2 port. I know that USB-C connector could be ...
Firas Abd El Gani's user avatar
0 votes
0 answers
57 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 ...
Hari's user avatar
  • 1,781
0 votes
1 answer
56 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 ...
Hari's user avatar
  • 1,781
0 votes
0 answers
43 views

CH376 Module with USB Floppy Drive

I'm using a CH376 module connected to a USB thumb drive and as per the datasheet, when sending the command CMD_GET_DESCR with DATA 0x01, I get 0x14 as status on interruption and then the device ...
crisag's user avatar
  • 1
0 votes
0 answers
170 views

Convert USB (HID) Full Speed to Low Speed

I want to connect a KVM-over-IP device to the console of my USB KVM switch to make it IP capable. The KVM-over-IP device offers a USB Full Speed composite device with keyboard and mouse subdevices, ...
braxlan's user avatar
2 votes
1 answer
499 views

How do devices know how much power draw a usb cable can support?

This has been a little confusing. I have cables that can support 5V-3A for both USB 2 and 3. If I put together a type C to type A cable, the specs mandate the Default USB Type-C Current Rp resistor (...
D.Mill's user avatar
  • 125
1 vote
0 answers
133 views

USB mass storage (flash drive) doesn’t become ready occasionally

Recently I’ve run a program with an STM32F429 in FreeRTOS in which USB host fs is enabled for mass storage class. I generated the init code with STM32CubeMX ver. 6.4. At first only the USB host is ...
ElectroBehrad's user avatar
0 votes
1 answer
42 views

Difficulty in understanding the USB interfacing for Altera DE 2

So I am planning to establish connection between my mouse and the USB Host port of the Altera DE-2 board. As per the documentation the Altera DE-2 board uses the Philips ISP1362 chip which follows the ...
Rezef's user avatar
  • 93
0 votes
0 answers
47 views

USB host design

I'm trying to design a USB host device with an RP2040. I want to power my circuit using a USB-C connector using a phone charger or a power brick. The device will be powering external devices using a ...
Terumi's user avatar
  • 131
3 votes
1 answer
101 views

How can I allow rotation of a USB-C port if I only have a single USB 3.1 lane connected to it?

As a follow-up question to my previous question about connecting two 3.2 Gen1 Links to Type-C Connector, I learned that I can connect CC1 signal to 56K PU to VBUS and this pin-out supports one USB3.1 ...
Firas Abd El Gani's user avatar
0 votes
0 answers
32 views

Is there a printer code/class for Midzooparts USB Host Shield 2.0 to use as usb host for Arduino Mega 2560 Rev3 board, available?

As I need to connect the Arduino Mega 2560 Rev3 to a laser printer, I found I can use Midzooparts USB Host Shield 2.0 to provide a USB host to work with the laser printer. But I could not find any ...
spn2023's user avatar
  • 11
0 votes
2 answers
96 views

What would cause a HS USB flash drive to send a different Vendor, Product in the DEVICE Descriptor and SCSI Inquiry?

I am developing an xHCI host that connects to a type A downstream connector via a HS USB 2.0 connection. I am testing it using a generic HS flash drive. The flash drive sometimes responds to the ...
Bill Morgan's user avatar
1 vote
0 answers
32 views

Can I connect one PCIE_CLKREQ# pin from SoC to two different devices?

In my design, I'm using VL805 USB 3.0 Host Controller which takes 1 lane of PCIe and outputs 4 ports of USB3.2 Gen 1. The platform which I'm building is based on AMD V3000 CPU. My question is, if ...
Firas Abd El Gani's user avatar
1 vote
1 answer
301 views

Converting two USB 3.2 Gen1 TypeA Connectors to one USB-C Connector

I'm using VL805 USB3.0 Host Controller which takes one lane of PCIe and outputs 4 ports of USB3.2 Gen 1 (5Gbps) . I have been looking for a reference design that uses two of these ports for USB-C ...
Firas Abd El Gani's user avatar
1 vote
1 answer
74 views

How much power for USB device from USB 3 Type-A host via full featured Type-A to Type-C cable? Also, Enumeration?

I have the following setup with two scenarios I will describe underneath. The more I think about it and the more I look up the spec I get more confused and frustrated. A USB 3.X host connected over a ...
MichaelZ's user avatar
2 votes
2 answers
254 views

Does USB 2.0 high speed host require a chassis ground?

I'm trying to design a microcontroller-based board in which the MCU will function as a USB 2.0 High Speed (480 Mbit/s) host for connected USB HS devices. I have been researching circuit design for ...
jemalloc's user avatar
  • 700
1 vote
1 answer
196 views

STM32L4S9 USB MSC Host. USB 3.0 memory sticks behave erratically

I have a project that uses STM32L4S9Zi uC. The host (FS) is working fine with USB2.0 memory sticks but it is not working correctly with the 3.0 USB sticks. 3.0 memory sticks do not enumerate every ...
0___________'s user avatar
  • 2,528
2 votes
3 answers
728 views

Is this USB circuit with ESD done correctly?

I am trying to make a breakout board with the ESP32-S3-WROOM-1 and wish to try out some of the USB-OTG examples. In the schematic of the chip I am using there only seems to be 2 capacitors tied to D+ ...
th0r1000's user avatar
0 votes
3 answers
608 views

Powering a Small DC Motor with USB

I am designing a device that uses a small 12V N20 geared motor. For convenience, I would like to power my device via micro usb. I intend to use a step-up boost converter to get from the supplied 5V to ...
Joshua Dotson's user avatar
0 votes
2 answers
74 views

Splitting images from camera to 3 different host MCUs simultaneously

We're building a project to capture images from a Sony camera that outputs images over USB-C or Ethernet. For redundancy, we're feeding the images at high speeds to multiple MCUs running Linux, and ...
brokelite-99's user avatar
0 votes
1 answer
45 views

Micro USB power for charging

I have a USB battery pack, and separately some modest solar cells. I'd like to build an interface to allow those solar cells to charge the battery pack. Battery pack charge input is vi micro-USB (it ...
Toby Eggitt's user avatar
4 votes
0 answers
59 views

USB 3 female connector and signal assignment from TYPE-A to TYPE-C for connector reversibility

I'm designing a USB HUB and I've a question regarding the upstream connector. From my understanding this should be a female type. Now the question is how match the USB-C signals on the two side of the ...
FIRE FOX's user avatar
1 vote
0 answers
116 views

Incorporating USB switch into hub

I designed a powered USB hub that allows me to connect multiple devices to a FPGA development board through a micro USB port. The hub and the FPGA sit inside an enclosure along with some other ...
OnCor's user avatar
  • 11
3 votes
1 answer
702 views

STM32 USB Device IN endpoint doesn't receive any data

I am developping a simple HID Device (a mouse) on a STM32F7 board. The enumeration works great, the device is recognized as a mouse by the PC. I use the IN endpoint 3 in interrupt mode. However, when ...
Wheatley's user avatar
  • 670
0 votes
0 answers
121 views

Still me... Sending a HID Descriptor results in a USBD_STATUS_CANCELED (0xc001000) error

I am developping a USB HID Device on a STM32F7 microcontroller. When plugging the device to the host (Windows 10 computer), everything is going well until the host sends a GET_HID_REPORT_DESCRIPTOR ...
Wheatley's user avatar
  • 670
1 vote
1 answer
192 views

USB Host asks more data to the device than it should ask (HID Report Descriptor)

I am currently programming a USB device on a STM32F7 microcontroller. This is a simple HID device (basic desktop mouse). When plugging the device to the host (windows 10 computer), the USB transaction ...
Wheatley's user avatar
  • 670
3 votes
1 answer
335 views

USB hosts resets the device after receiving the full device descriptor

I am trying to build a USB device from scratch on a STM32F7 microcontroller. When I plug the device to the computer the hosts does not accept the device descriptor sent by my device: The host resets ...
Wheatley's user avatar
  • 670
0 votes
2 answers
75 views

Does this phone charger circuit meet the USB port's 1 A current rating safely?

Vp = 170 V; Vrms= 120 V. I'm using a 9-0-9 1 A step-down transformer, a full-wave bridge rectifier, a 1000 μF capacitor, and an 800 Ω resistance to convert the input voltage to 7.4 V approximately. ...
Ismael Párica's user avatar
0 votes
0 answers
50 views

How is the decision to own a USB hub device and host made?

I'm doing research. I am using a TUSB2046 USB hub. I just started researching this topic. How does the TUSB2046 or other hubs decide the host and the device when the device connection is made with the ...
dmrmuhammet's user avatar
0 votes
1 answer
248 views

USB Shield for Arduino UNO not registering a device

I have several USB host shields which I intend on connecting to an Arduino UNO so I can connect a PS3 controller which will be used to control some electric motors controlled by an L298 H Bridge. The ...
Mark Hemmings's user avatar
0 votes
1 answer
143 views

USB self-powered mode

I am learning the USB powered modes and am a little confused about the self-powered mode. So, I understand, a USB mouse is a bus-powered device, and an OTG is a self-powered device. So, in the case of ...
user avatar
0 votes
2 answers
287 views

How to switch Rp and Rd resistors with MOSFETs in Dead Battery Mode

Using the USB-C specification as reference, I cannot figure out how to actually switch Rd and Rp resistors on and off using MOSFETs in a real schematic, without requiring external power/battery, i.e. ...
randyrand's user avatar
  • 101
1 vote
2 answers
1k 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 ...
will's user avatar
  • 11
1 vote
0 answers
584 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 ...
Rizkis Walker's user avatar
0 votes
0 answers
306 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 ...
Jack-Penn's user avatar
0 votes
0 answers
130 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 ...
PineappleTheFruitDude's user avatar
0 votes
2 answers
64 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 ...
sherlock's user avatar
  • 219
0 votes
1 answer
230 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 ...
DLCom's user avatar
  • 411
1 vote
2 answers
535 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?
Dakkaron's user avatar
  • 857
1 vote
0 answers
312 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 ...
console.slog's user avatar
1 vote
0 answers
34 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 ...
Paul Wareham's user avatar
1 vote
1 answer
574 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 ...
Juanma's user avatar
  • 360

1
2 3 4 5