Skip to content
0:00 / 0:00

#usb#cortex-m0+#bit-banging

No USB? No problem. (33c3)

media.ccc.de

274K subscribers • 60 videos on Hallway • Conference channel

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • A classic. People kept recommending it from 2018 to 2024.
  • Presented by Xobs

Advanced. Deep dive for people who know the field.

52K views9 years ago2 recommendations

Systems programmingHardwareEmbedded systemsNetworking and protocols

Xobs explains how to write an open-source, software-only low-speed USB stack running on a sub-dollar Cortex-M0+ microcontroller.

media.ccc.de/v/33c3-8031-no_usb_no_problem How to write an open source bit-bang low-speed USB stack running on a sub-$1 Cortex M0+ How to get USB running on an ARM microcontroller that has no built in USB hardware. We'll cover electrical requirements, pin assignments, and microcontroller considerations, then move all the way up the stack to creating a bidirectional USB HID communications layer entirely in software. ['Xobs']

Why it's here

2 people recommend this

What people say. Recommended as a great starting point for understanding USB protocols and how to implement them without dedicated hardware.

u/Endarkendin r/C_Programming • Recommends

On “A step-by-step guide how to write your own simple OS from scratch using C and ARM assembler.”

This video and the guy talking are a really nice starting point. Even though a PI does have USB, knowing how to work it even without USB hardware is a wealth of information :) [video

u/gran_eein r/embedded • Recommends

On “Is it feasible to write a USB protocol implementation across GPIO pins?”

Quick link: [video That is a great talk, thanks for sharing!

u/polygonalsnowin r/embedded • Mentions

On “Do I have to match trace lengths for USB on a microcontroller?”

Link to talk: link to this video