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
16 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
31 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
36 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
1answer
48 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
0answers
13 views

Mini USB Host Shield external power supply problem [migrated]

I'm trying to use the Mini USB Host shield with the USB Host Shield 2.0 library running on an Arduino Pro Micro 3.3V. shield: https://opencircuit.nl/Product/13307/Mini-USB-Host-Shield arduino pro ...
0
votes
1answer
82 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
52 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
27 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
61 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
180 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
85 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
404 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
79 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
73 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
65 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
44 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 ...
0
votes
0answers
128 views

USB Host circuit correct?

I recently qualified as an electronic engineer. I have designed a USB circuit to update the .bin contained in the STM32F469 microcontroller. I would like you to confirm if the circuit I have made is ...
1
vote
1answer
390 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
337 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
104 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
124 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
163 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
268 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
425 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
209 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
195 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
574 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
97 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
133 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
312 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
2k 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
49 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
259 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
54 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
65 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
369 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
493 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
131 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
511 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
357 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
73 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-...
-2
votes
2answers
87 views

How can I increase USB3.0 PCIe card voltage output? [closed]

I have 4-port SS PCIe card, which outputs 5V 900mA on each USB port. I have a need to communicate with a distant USB device and the cable length and current demands are probably dropping the ...
1
vote
0answers
1k views

STM32F4 USB host HID problem

I'm trying to drive USB host as MSC and HID on STM32F4, I have one STM32F407 Discovery board and one custom design PCB based on STM32F407. I'm using Keil compiler and ST std periph library, and for ...
-3
votes
1answer
277 views

how to write eprom data into USB Device by using USB Host in an embedded system? [closed]

I want to write AT24C64D EEPROM data to USB Device i.e (pen drive) using USB Host i.e (STM32L100RCT6 MCU). eeprom is interfaced with STM32L100RCT6 via I2C and this STM32L100RCT6 has USB device ...
5
votes
2answers
12k views

Does USB Host always supply power on VBUS?

I know a fair bit about USB, but for some reasons I am not able to answer this question myself. Does the USB Host port (let's say USB 2.0) always supply 5V on the VBUS pin? If not, how does it ...
0
votes
1answer
393 views

USB 3.0 RX&TX Connection

Sorry for the inexperience. This will be quick. I have two Texas Instrument ICs, one is a device, the other is a hub. I'm looking at a USB 3.0 device that has the TX and RX lines. When connecting ...
0
votes
1answer
1k views

USB plug in detection for charging port

Is there a way to detect if there is a USB cable physically inserted into a USB receptacle, even if it is just a cable (with nothing attached to it). I am designing a USB charging port (short D+ and ...
0
votes
1answer
545 views

Android USB Accessory as a Device?

The Android AOA specification states that When the Android-powered device is in host mode, it acts as the USB host and powers the bus. and When the Android-powered device is in USB accessory ...