Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [usb]

usb, short for Universal Serial Bus, is an industry standard developed by USB Implementers Forum Inc that defines the cables, connectors and communications protocols used in a bus for connection, communication and power supply between computers and electronic devices.

7
votes
8answers
1k views

When is a device driver needed and when is it OK to read/write directly to the port?

I'm having a difficult time understanding when device drivers are needed, and when its fine to just talk directly to a port controller via the OS-provided serial/parallel/USB/etc. driver. For ...
-2
votes
1answer
114 views

Loading My Custom OS from USB flash drive

Suppose I want to create a portable OS, that needs a USB flash drive only to work. and i wrote my boatloader in the first sector to be loaded by the BIOS, from here on, what can I do to load my OS ...
3
votes
1answer
2k views

SPI vs SCI on TI processor

I have a Texas Instruments development board: LAUNCHXL-F28027. I'm confused on the difference between SPI (Serial Peripheral Interface) and SCI (Serial Communications Interface). What are their ...
1
vote
1answer
64 views

How exactly does USB integration work from the micro controller end?

I have no prior USB integration and about 8 months of learning embedded systems on Atmel devices. I am trying to use an Atmel SAM L series to connect over USB to a computer. The use case is for data ...
5
votes
1answer
673 views

Driving Linux input events from serial device

I'd like to build a RaspberryPi-based device that can communicate with my Linux laptop over USB (don't think it matters, but I'll be using a custom made USB dongle that has an FTDI chip on it, and my ...
3
votes
3answers
2k views

Read data from a device through usb port at high frequency

I need to know if I can get acceleration data from an IMU at 500Hz via USB. I've been going through the code that the manufacturer provides and trying to improve it. Right now I cannot go faster ...
-1
votes
1answer
782 views

Determine file type and then decompile to edit source [closed]

I'm new to this type of programming, but proficient in web development... looking to expand my palette a little. I have this file. In Windows 7 the file properties window claims its a 'system file', ...
0
votes
3answers
3k views

Best Way to Access Hardware per COM Serial Port over USB Adapter

We are starting a total new Branch at our firm. I am usually developing database interfaces or internal server/client applications/tools for our company, but I never had to do something with hardware. ...
6
votes
2answers
20k views

How does a USB device whether know to draw 500mA, 1A or 2.1A from a computer USB port?

I'm having some issues with my Nexus 7 drawing just 500mA from a USB port able to supply 2.1A (test with my iPad). Details in this question. However, there is a comment posted "The Nexus obviously ...
1
vote
1answer
585 views

Developing a cross-platform interface for writing to hardware like PicKit OR USB over the web?

I thought long and hard on weather to put this question in programmers or stack overflow. Please let me know if this is not the right place and I will post it to SO. My friend and I am developing a ...
2
votes
2answers
3k views

How are interrupts implemented in practice? [closed]

Consider an USB device that is receiving data over a wireless network and an application running on the PC is reading this data. Now, on many languages (consider C# DataReceived), we have event ...