RTL2832U and rtl-sdr on an STM32 microcontroller, Part 1
This is a series dedicated to describing the development of software-defined-radio applications on a microcontroller, utilizing the ubiquitous RTL2832-based DVB-T dongle and librtlsdr. See justification and all of the [source code for this project on GitHub][github].
In this entry, I explain how the [Realtek RTL2832U DVT-B dongle][rtl2832u] is integrated with the microcontroller processor target, culminating in a successful enumeration of the device and demonstration of a few radio features. These tasks are accomplished via the integration of various codebases and porting a host-based USB library (libusb) to the new processor target. To begin, I create a bare-metal firmware image consisting of the the minimum components necessary to accomplish this task: a board support library to control the dev board hardware, the [librtlsdr][librtlsdr] library, minimally-ported [libusb][libusb]...