Questions tagged [usb-otg]

USB On-The-Go is a USB (Universal Serial Bus) specification that allows a device to act as Host to simpler gadgets, such as flash drives, but then also act as a "slave" device to other Hosts, such as a personal computer.

USB On-The-Go is a specification that allows a device to act as host to simpler gadgets, such as flash drives, but then also act as a slave device to other Hosts, such as a personal computer.

See:

227 questions
0
votes
0 answers

Does DRP mean dual-role-port or dual-role-power in typec

I found drp mean dual-role-port in many blog, bug it mean dual-role-power in typec 2.0 Specification as below: Dual-Role-Power (DRP) – for this mode, the port can behave either as a Source or Sink. is there changes in history expect a closed…
owl
  • 1
0
votes
0 answers

NanoPi NEO - Sharing files inside linux file system over micro USB port

I would like to transfer files from NanoPi NEO to PC over USB A (PC) - Micro USB (NanoPi) connection. I have files inside linux file system which i would like to be reachable to PC when connected over USB. When i connect NanoPi NEO to the PC, the…
0
votes
0 answers

STM32F723 USB_CDC with DMA problems

STM32F723 USB_CDC with DMA problems Hello, I'm currently working on a project using the STM32F723 Discovery kit and USB as a Virtual Com Port (VCP) in CDC mode. I'm encountering an issue related to DMA and USB_OTG_HS when using the CubeMX…
CoObri
  • 13
  • 5
0
votes
0 answers

How to send input events to a USB Gadget?

I have setup my Raspberry Pi 4 Model B with the help of https://github.com/msawahara/raspi-usb-gadget to act as a Mouse when connected to an external computer. It seems to work because the external computer actually recognizes it as a USB Mouse, but…
0
votes
0 answers

Pyfirmata permission denied in Android (pydroid )

When I try to connect my Arduino uno with my Android device using pyfirmata (for connection) and kivymd(for ui) in pydroid ide , i get permission denied '/dev/bus/usb/001/002'.Im using usb otg connection. Can someone help me let me connect my…
0
votes
0 answers

Can I detect whether OTG connection is on or off from a mobile app

I have a device that connects with the type-c port of an android phone. But I find this issue that many users do not have their OTG connection enabled in their phones. In older phones especially, the connection is turned off and my device is not…
0
votes
1 answer

Query Files in a USB OTG using MediaStore fails

val projection = arrayOf( MediaStore.Files.FileColumns.DISPLAY_NAME ) val selection = MediaStore.Files.FileColumns.RELATIVE_PATH + " = '/'" val mediaStoreVolumes = MediaStore.getExternalVolumeNames(requireActivity()) mediaStoreVolumes.forEach {…
0
votes
1 answer

Error when runing USB_OTG_FS with RTOS for pendrive application

First of all I have run the project with STM32H745I + USB_OTG_FS + FATFS + MSHC for the pendrive application and it runs without any error, I am able to create a file, directrory & write into the file. But when I add FreeRTOS in the same combination…
0
votes
1 answer

Windows machine as USB-488/USBTMC device

I would like to use a windows machine as a USB488/USBTMC device. USB488/USBTMC is a reimplementation of the good old GPIB/IEEE-488 on USB rails. But most articles on the topic refer to a Windows machine as a host/controller. The Windows USB stack is…
0
votes
0 answers

Is there a way to connect several usb device(f1) to a usb host(f4) via a usb hub with stm32?

good day community, i am working on a project which requires me to communicate with several blue pills(f1s) as USB device CDC(virtual com ports) using a USB hub while my f4 acting as USB host, all in USB Full Speed. I have successfully tried…
0
votes
1 answer

How to read data from USB OTG Pen Drive in Flutter

I face following error :- Unhandled Exception: PlatformException(UsbSerialPortAdapter, Not an Serial device., null, null)
0
votes
0 answers

Make a app that can off or on OTG by one click

I want create a app that can on off OTG. It like the picture OTG connection On or Off. But how can I do?? My code language is java and I am using Android studio
Mufasa
  • 1
0
votes
1 answer

How to add otg enable option when Android app start

We have a otg device for different android phone otg enable option is in different location so is there any option to enable otg when app start We tried but not get any solution for this
0
votes
0 answers

Android USB OTG storage

I want to export my app data on USB storage. As I read before in many threads it is not possible to write secondary storage (primary is always device). I'm considering that if it's possible to connect any devices like pad or else and write custom…
M. Liver
  • 121
  • 6
0
votes
1 answer

How can i write to the USB OTG Controller Registers on the HPS part of the DE1-SOC board?

Currently i am working on the USB port of the DE1-SOC board. I tried to understand how USB 2.0 works, however when it comes to the DE1-SOC board, as I understand, controllers on the HPS part of the SOC system are memmory mapped for us to control…