Questions tagged [usb-host]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
62 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 ...
1
vote
0answers
52 views

USB host msc stop writing

I'm trying to write data to usb memory stick with stm32f107. Main function is: ...
2
votes
1answer
215 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 ...
0
votes
0answers
14 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 ...
0
votes
0answers
64 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: ...
0
votes
0answers
11 views

lpc1768 keil USB host component missing?

I'm trying to run an lpc1768 as a USB host and connect to a device through a VirtualCOM but there doesn't seem to be a USB host component available in my project: Why is there no USB host component ...
6
votes
5answers
1k 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 (...
0
votes
0answers
34 views

USB 3.1 host legacy over USB-C

It is fairly simple to make an old USB 2.0 device USB-C compatible. This is quite well known and can be seen "in the wild" as well for instance here. In the Universal Serial Bus Type-C Cable ...
1
vote
0answers
20 views

Issue with USB HID Keyboard Interfacing with LPC 2468

We are using LPC2468 in our product. We have successfully interfaced USB Pen drive, USB Printer and USB HID Barcode Scanner with LPC 2468. Now we want to Interface USB HID Keyboard. We have been able ...
0
votes
0answers
23 views

How to connect USB Type C 6P for charging battery?

I'm a beginner in the electronic field and I'm adding a USB TYPE C 6P on my electronic device. The USB Type C is just for charging/supplying a battery and that's it. Pins: [1,2,3,4,5,6], [GND,VBUS,...
1
vote
1answer
66 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 ...
0
votes
1answer
37 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 ...
4
votes
1answer
311 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 ...
0
votes
0answers
32 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 ...
1
vote
1answer
62 views

Clarification about USB receptacle and plug

I need clarifications about which USB receptacle and plug I have to use for an embedded product. I looked on line and I found a lot of documentation like this or this and I understood that: If I ...
0
votes
3answers
93 views

What sample rate do I need to analyze usb 2 with a analyzer?

What is the sample rate needed for a logic analyzer to be able to analyze a 480 Mbps USB 2 bus?
0
votes
0answers
27 views

USB device camera not enumerated when I power the Camera from an external power supply

I have a STM32F767 proprietary board. I power the NEW USB camera device from an external power supply (5V). I ONLY connect the D+ and D- from the camera to the STM32F767. The software detects 'device ...
1
vote
1answer
105 views

Circuit to switch between direct USB and Bluetooth/battery charging

I am planning to modify a wired keyboard to use a wireless connection, using the HID Relay project (YT, GitHub) as the communication method, along with a LiPo battery, with accompanying charger and ...
1
vote
2answers
95 views

Are there any guidelines to injecting power at the USB 3 device side instead of having it powered from the host? Basically making it self powered?

I am trying to power two USB 3 cameras off 24V, so I can power a LED circuit at the same time, instead of 5V and basically put a 5V regulator at each camera side. I am wondering if there were a good ...
2
votes
1answer
109 views

Did the USB 2.0 BC “charging downstream port” never catch on? Has a major computer manufacturer ever implemented it?

I am investigating the relevant standards in USB that allows a USB 2.0 device to obtain increased current from computers. So far, my understanding is that, when the USB port is not suspended, the ...
3
votes
2answers
509 views

USB-2 9 Pin Header

I am designing a carrier board for a SOM and I was planning to put one or more 10(9) pin headers on the board to connect to external USB connectors. Most of these on existing motherboards have pin 9 ...
0
votes
2answers
143 views

How can I make this USB-C connector as a host?

I want to make a USB 2.0 Cable for some gadgets with a USB-C to USB-C connection. I want to intentionally make connector end = host, and the other connector end = device. I've read around that I can ...
0
votes
0answers
48 views

Separate powering for USB

I have a 7-port self-powered USB 2.0 hub and I want to use but I want to feed power from another source so that I can give all connected devices 500mA of power. I also want to have a switch for each ...
0
votes
1answer
140 views

Difference between USB host & device when connected to the Intel PCH chipset

I know USB 3.0 Host & Device connector port has the same pin count (VBUS, D+/-, TX+/-, RX+/-, GND), but what is the difference between USB host & device when they are connected to the Intel ...
1
vote
1answer
270 views

USB MIDI Host on a microcontroller

I need to interface a USB MIDI keyboard to a microcontroller host. The microcontroller will be receiving MIDI commands from the USB and occasionally sending MIDI commands. I'm wondering if there are ...
1
vote
1answer
46 views

Who sends the USB SYNC/EOP fields, host or device?

I'm currently studying the USB spec and I have a question about who sends the SYNC and EOP fields in a packet. A typical GET_DESCRIPTOR transaction (say) consists of SETUP and DATA0 packets sent from ...
0
votes
1answer
223 views

What exactly do D+ and D- on a USB connection do? [closed]

Of the four pins on the usb I know the power and the ground pins are used to supply power to a USB device. But the other two ...
0
votes
1answer
148 views

Determine end of USB Data OUT packet on device (STM32)

I'm busy with a USB to Ethernet implementation (ECM) on an STM32 using the ST USB library (not HAL) and LwIP. When I send a packet to the host (Data IN) that came from the ethernet interface, I know ...
0
votes
1answer
173 views

How to charge a USB-C host with ACA alternative?

For old some micro usb devices, you can wire the ID pin so it is connected to the ground pin with a resistance of something like 36.5 kΩ. When the device is in host mode and connected to a device, ...
0
votes
1answer
73 views

How to calculate the max transfers per frame and the remaining bytes in USB protocol?

Could someone explain the attached table and how the values are calculated? (the table is taken from the official usb 2.0 specification page 42). What I could understand is just the relation between ...
0
votes
1answer
510 views

USB bus Differential signals and Pin swapping

USB 1.0 and 2.0 has D+ and D- two differential pins. My understanding is that differential signals are symmetrical so any of the two lines carries an inverted signal of the other line. But in the ...
1
vote
1answer
75 views

What is the difference between Periodic and Non-Periodic Tx/Rx FIFO in USB?

I am trying to understand how the USB module works in the very low level on STM32F4 MCUs (ARM Cortex-M4 core). In the reference manual I read often the terms Periodic and Non-Periodic Rx/Tx FIFO (I am ...
2
votes
1answer
140 views

STM32F411VE Custom bootloader USB de-Init issue causing Jump to app fail

I'm developing a custom a bootloader on STM32F411VE MCU which must download a .bin file from USB key and flash it into the application sectors of flash memory. Following the examples provided with ...
0
votes
2answers
694 views

STM32F4 host powering USB device using VBUS

I am trying to design an STM32F411 USB host. I will be connecting it to a USB MIDI device. The USB MIDI device I am using is AKAI Professional MPK Mini MKII which only has 1 USB port both for power ...
0
votes
1answer
234 views

How a USB3 device is detected over a USB2 one?

I've got a hardware platform (setup as host) which it's got a USB2.0/3.0 Micro type B female port.The system is definitely capable to detect and interface USB3 devices (can see in the embedded OS the ...
0
votes
2answers
59 views

How can I center a servo using the FT311D?

I've got a servo which requires a 50Hz signal (which can be achieved with a 20ms period) and a 1ms-2ms dutycycle. This is your standard hobby servo. 1ms dutycyle makes it go left (0 degrees) 1.5ms ...
0
votes
0answers
137 views

How to convert device that uses OTG to communicate with Android device to Bluetooth?

We currently have a piece of hardware that uses an OTG cable to communicate with an Android application. We are currently using USB Host to communicate with the Android device, but we hope to offer a ...
1
vote
1answer
570 views

Remote dissable a micro type B USB connection to device

I need to control the shutter and image download from a wired remote camera. The camera has 2 pinout ports. One to control the shutter and the second is the micro-type B USB post to download image ...
1
vote
1answer
818 views

Can I cut off a USB C plug, and replace it with a USB C socket

I need a USB C (female) to USB 3.0 Micro B (male) cable. Unfortunately, I can only find a male - male cable. Is it possible to cut the USB C plug off, and solder the wires to something like this: Or ...
0
votes
3answers
145 views

Control GPIO pins using USB [closed]

What is the easiest way to make a device that can control GPIO pins using USB? Can I make a device similar to this on my own without any special hardware?
0
votes
1answer
2k views

How to switch between usb host and slave mode on a micro usb programatically?

Is it possible to program some chip that can switch between USB host and slave mode over an single micro USB cable talking to an Android device? It would be OK if there was a slight pause between ...
1
vote
0answers
168 views

Embedded design with USB 3.1

I am trying to design a system that will transfer data between two storage devices on a PCB, preferably using USB 3.1 as speed is a major concern in this design. However, my understanding is that I ...
0
votes
1answer
167 views

Parameter is incorrect error with usb 2.0 but not with usb 3.0 with C# serial program

I've been struggling to understand an error that is happening. I've got a simple program that sends/receives bytes over serial, and up until yesterday I figured was working 100%. Basically, the issue ...
0
votes
1answer
94 views

Can I control a Microchip USB3300 Transceiver with a USB 1.1 host controller IP?

As the title says I want to connect to a USB 3300 transceiver (USB 2.0 revision) using a USB 1.1 host controller IP block. Is this possible or do I need to conform to the USB 2.0 specification as the ...
1
vote
1answer
1k views

Fpga communicate to pc through usb

I'm currently working on my thesis project on making a secure pendrive. For that I have to design an USB protocol implementation on an FPGA. But I don't know how to physically connect that USB core ...
0
votes
1answer
717 views

Small microcontroller with USB host peripheral [closed]

I'm trying to find microcontroller with low pin coutn that has USB host capabilities. I know this can be done with big PIC24 or PIC33 microcontrollers, but I wonder if there are others chips that ...
1
vote
1answer
166 views

USB hub and upstream/downstream speeds

I am designing a USB hub that has a 2.0 upstream connection (pc is only 2.0). To one of the downstream ports I am connecting a Ethernet to USB IC capable of USB3.0 speed and Gb ethernet. My question ...
0
votes
3answers
165 views

Unrecognized usb3.0 device using non-standard connector

I Have two PCBs,pin out define as follows ,the host pcb is A connector,and the device pcb is B connector. I use the 1.25pitch connectors&USB3.0 cable to connect two boards,but the host board ...
0
votes
1answer
310 views

Can an Arduino Pro Micro act as a USB hid and usb host device at the same time?

I know that the Pro Micro can act as a HID device. As far as I understand the Pro Micro can also act as a USB Host using a usb-host adapter (shield) - right? Now can the pro micro be both a device ...
4
votes
1answer
605 views

USB Camera to GPU Memory Directly

There may be several points in this question which may not make sense to a knowledgeable person, so I do thank you for your understanding in advance. For a computer vision project I wish to process ...