4 ms·
USB Made Simple (2008)
- bpye 3y agoFun to see this on here. I’ve recently been writing a usb_device [0] implementation for the CH32X035 [1] microcontroller and it was very helpful when trying to work out why enumeration wasn’t working. [0] - https://github.com/rust-embedded-community/usb-device https://github.com/rust-embedded-community/usb-device [1] - https://www.wch-ic.com/products/CH32X035.html https://www.wch-ic.com/products/CH32X035.html
- bacon_waffle 3y agoCool! Just in case you haven't come across this, we've got a (rather quiet lately) chat that might be useful. https://matrix.to/#/#usb-rs:matrix.org https://matrix.to/#/#usb-rs:matrix.org
- lxgr 3y agoMuch higher-level, but I keep coming back to it (especially the direct links to the various USB specifications, although slightly outdated): https://fabiensanglard.net/usbcheat/ https://fabiensanglard.net/usbcheat/
- userbinator 3y agoThat table could really be called "USB Made Complex"! IMHO things went really crazy starting with 3.x, when they should've really started adopting a more consistent naming scheme like e.g. what Ethernet always had.
- whaleofatw2022 3y agoOTOH we are talking about the thing where once 'High speed' was a good 10-40x faster than 'Full speed', some confusion is to be expected. To make things worse, D and E are potentially confusing suffixes for connectors, so instead of having good, meaningful classifications for connectors, we are having to research whether our USBC cables actually have the right connector on the other end.
- claudex 3y agoIt seems to have some error, for exemple USB-PD allow up to 20V for 100W (and up to 48V for 240W) https://en.wikipedia.org/wiki/USB_hardware#USB_Power_Delivery https://en.wikipedia.org/wiki/USB_hardware#USB_Power_Deliver...
- quietbritishjim 3y agoAlso, the last row of that table doesn't work mathematically: if max voltage is 5V and max current is 5A then max power must be 25W (or less than that if you're not allowed max voltage at the same time as max current) but it is listed as 100W .
- xyzzy_plugh 3y agoNow do Bluetooth! I have spent a lot of time in the USB mines over the years and recently stumbled onto a problem involving Bluetooth. "How hard could it be?" I thought to myself foolishly. What a tire fire.
- HPsquared 3y agoI wonder if GPT et al. would help with this kind of thing, or if it's too esoteric.
- saulpw 3y agoBluetooth is huge and designed by committee. I don't know what GPT could help with; it's not that there aren't any good guides, it's that good guides are impossible. The protocol and stack are not designed to be understandable by a single human mind.
- userbinator 3y ago...unless it's the mind of Fabrice Bellard. If you thought BT was huge, the cellular mobile specs (ETSI GSM etc.) are more than an order of magnitude bigger and more complex.
- TickleSteve 3y agoThere is a document for the 3GPP specs that contains a list of the abbreviations used in the rest of the spec... Its an 80 page document.
- Someone 3y agoThe ETSI documents I saw all tried really really hard to “don’t repeat yourself”, and, as far as I can tell, succeeded at that. So, I guess this is a document that has two columns, the abbreviation and a reference to the document that defines it, without mentioning the long form?
- 3y ago
- telegpt 3y ago[dead]
- Hackbraten 3y ago> Please note that this specification replaces the earlier 1.0 and 1.1 Specifications, which should no longer be used. The Revision 2.0 specification covers all three data speeds, and maintains backwards compatibility. USB 2.0 does NOT mean High Speed. Interesting how this sounds sensible on paper but also turns out to be a poor decision in hindsight that keeps confusing people to this day.
- SillyUsername 3y agoNeed one for MMD cards now, particularly how they are compatible with SD card readers (I want to build an MMD to samba stack and I cant afford an SD card alliance Dev licence for $1000)
- _benj 3y agoThis looks fantastic! USB can seem intimidating at the beginning but one start getting the vocabulary and concepts it can actually be understood. I fully recommend the book USB Complete. It might not look like a approachable book but it is very readable! I once had to explore some code that talked to a usb device and I was quite surprised of how readable it actually was! https://github.com/OpenNuvoton/NUC970_NuWriter_CMD/blob/master/NucLibUsb.c https://github.com/OpenNuvoton/NUC970_NuWriter_CMD/blob/mast...
- 5- 3y agohere's a book written mostly the perspective of an os/driver implementer: https://www.fysnet.net/the_universal_serial_bus.htm https://www.fysnet.net/the_universal_serial_bus.htm it's also part of a series on building an os.
- dns_snek 3y agoA few years ago I was toying around with a couple of low level hardware projects, this website such an invaluable resource that helped me wrap my head around the complexity. I wish every topic had such a great beginner-friendly resource, truly amazing job!