A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [usb-host]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
62 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
44 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
35 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
96 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
48 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
59 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
44 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
0answers
101 views

USB HID Keyboard Usage Id to ASCII

I am working on a project that will convert a USB HID Keyboard output to RS232. So far, I have a FTDI Vinculum II to host the USB Keyboard and it outputs the USB HID Usage ID (format seen under USB ...
0
votes
1answer
125 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 ...
0
votes
0answers
113 views

STM32F4 USB - Software switch from HOST (MSC class) to DEVICE (CDC class) and viceversa

My application is based on STM32F411VE and, at first, has been configured to work just as a host for usb key devices (please take at look at attached schemes). After some practising I managed to get ...
1
vote
1answer
49 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
71 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
266 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
106 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
56 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
67 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
191 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
459 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
98 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
1k 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 ...
2
votes
0answers
109 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
103 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 ...
1
vote
0answers
104 views

USB CDC device send response of first for second data

I'm working using atmel studio 7.0, the code which i'm using is USB Communication Device Class (CDC) for ATSAMD21. My application is to read the command from the host to the device and perform the ...
0
votes
1answer
75 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
765 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
531 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
123 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
141 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
246 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
392 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 ...
0
votes
2answers
721 views

USB hub circuit

I have a custom made USB hub with 4 USB ports. It gets 5V max 500mA. Below is the datasheet for the hub chip http://minipcsale.ru/images/Minix-Neo-X8-h/GL852G.pdf now my question is If i connect 4 ...
0
votes
1answer
310 views

HID “report descriptor” includes set/get features?

After reading about HID report descriptor, it seems that it only includes "input report". http://www.rennes.supelec.fr/ren/fi/elec/docs/usb/hid1_11.pdf But what about get/set features ? Why it is ...
2
votes
2answers
291 views

What are the limitations of the USB Composite device

I am looking at coding a USB device that is capable of encapsulating two USB devices. I would like to create a HID keyboard with a single extra USB port. A mass storage device would be connected to ...
0
votes
2answers
833 views

How to increase write speed with USB High speed host mode with STM32F4? [closed]

I want to write into a text file in a Flash drive using STM32F407 (XCore407I Core Board) and via USB HS mode. I have used fatfs library and also Tilen Majerle Libraries for USB HS HOST mode. I ...
0
votes
1answer
122 views

Is there any way a usb device can identify the usb host operating system? [closed]

Is there any way for the USB device to know if it is connected to a Windows or to a Mac without the installation of a third party software? Maybe there is a way to "ask" a question via USB and figure ...
0
votes
1answer
136 views

What USB-2 cabling hardware do I need to connect two Windows 10 computers together? [closed]

I want to run a .NET app in each of the two computers, so that they send and receive data through USB-2. What kind of cable adapter will do this? BACKGROUND: I need to build a GUI on Windows that ...
1
vote
1answer
407 views

USB 2.0 circuit

I am designing and using a USB 2.0 (High-Speed) specification circuit. The circuit is shown as below. Sometimes CPU cannot recognize the USB stick (USB 2.0 High speed). At first, I changed the ...
0
votes
0answers
3k views

after replacing micro usb port, tablet charges only 450mah [duplicate]

I changed micro usb port which was broken (it takes out from motherboard) on tablet. On motherboard are 5 contacts and one is damaged (4. - it is for data transfer, ID). I solder +5 VDC contact and ...
0
votes
0answers
59 views

USB A 2.0 +5V bus interfering with Vsys?

I want to have a USB connector on my PCB that will act only as host for joysticks. It will be a USB2.0 A connector. The voltage supplied for this is from +5V_Vsys. My question is what happens when a ...
0
votes
4answers
347 views

uln2003a: Switching ground of device works, however, optional USB function of device doesn't work correctly

I use the uln2003a to switch a device (with use of a MCU) that is capable doing several things, like fm-radio, bluetooth, playing MP3's etc. It also provides an USB ...
0
votes
2answers
1k views

How to use USB to communicate PC with a USB device? [closed]

As I stated above I need to learn to create a healthy communication pathway between a PC and a USB device. I need to achieve 120MBytes/s(at least) baud-rate and I don't even have any idea about what ...
-3
votes
1answer
70 views

Micro USB Type B Splitter? [closed]

Is there a way to connect multiple (around 3-10) devices with a single micro usb-b cable? Planning to do something similar to this: With the end result to hopefully have all devices synchronized so ...
0
votes
2answers
91 views

USB 2.0 Host PC enumeration requirement

I am looking into USB 2.0 Ports in Host PC and LapTop computers. I am designing a device that will need to draw as much current as possible. Does anyone know how common these ports require enumeration ...
2
votes
1answer
1k views

Charging a mobile Tablet while communicating with a USB device at the same time [duplicate]

I have designed a product (small spectrometer) using FT234XD usb-to-uart bridge and it connects to any mobile phone via ...
-1
votes
2answers
515 views

Can I Set A Voltage Output On The D+/D- Lines Of USB Communication [duplicate]

I asked a similar question on a different website, DreamInCode, for assistance programming on an Android. I've also come on to this site for a different question but I can see that the folk that use ...
-2
votes
2answers
594 views

Isochronous and interrupt transfers for USB, where to learn about it? [closed]

I have been working with the TM4C129 uC from texas instruments, using the bulk example code that the company provides I was able to desing an osciloscope using the analog to digital converters, it was ...
0
votes
1answer
148 views

Which end is host in a USB-C to USB-C charging/power cable?

I have two different kinds of DIY USB-C connectors...one kind that is rigged to be a "host" USB-C connector (pulled-up with a 56k resistor per spec), and the other is rigged to be a "device" USB-C ...
0
votes
1answer
590 views

Understanding USB processing and polling delay in USB host controller

I am doing measurements related USB delay with USB-UART converter chip(CP2102 Silicon laboratories chip). I am sending array of data, when 0xee is received the ...
0
votes
1answer
408 views

Wiring a USB-C (host) cable question

I have wired some custom USB-C cables from scratch in the past, where the USB-A connector is plugging in to a host PC. If I wired a USB cable where the USB-C connector was plugging into a host ...
1
vote
1answer
77 views

USB2.0 EH with USB type-C in accordance with USB specifications? Reasoning?

We would like to implement a slim USB host to store/retrieve small files to/from an USB-flash-drive (with Type-C Plug). We would like to implement an embedded (targeted) host according to the On-the-...