Get the latest tech news

Making USB devices – end to end guide to your first gadget


Introduction to implementing USB devices. Minimal overview of hardware and software with an example with STM32 microcontroller. Also contains an index to very detailed guides for more information.

I won’t get into the details of this (mainly because I’m not an expert myself) — my understanding is that simply it’s really hard to make parallel transmission work efficiently in this context, so simple protocols end up in more elegant and faster devices. I’d like to quickly point back to all the previous notes about length matching with differential pairs, impedance control and so on — as you can see, we’re super relaxed here, and we will be able to achieve the 12 Mbit/s connection regardless. If you want to be extra cool, you can go back to CubeIDE, head over to the USB_DEVICE menu for the middleware where we previously set up the CDC class for our microcontroller software, and take a look at the bottom section.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Guide

Guide

Photo of gadget

gadget

Photo of usb devices

usb devices

Related news:

News photo

MicroPython 1.23 Brings Custom USB Devices, OpenAMP, Much More

News photo

A Guide to GraalVM

News photo

Beginner's guide to the Shenandoah garbage collector