Thursday 20 February 2014

The STM32F103 Audio Test Board

Allow me to introduce my DIY ARM based Audio Test Board. On the following pages you'll find a description of the board, how I came to it, what tools I used and in the end, all available downloads.

Brothers in ARM's
The idea for this board came to me a little over two years ago. I was working on my DIY guitar amp, and I was having trouble getting the right levels out of the guitar, into the preamp, the level of distortion, etc. Basically, the preamp was a big question mark on the design of the amp.

Then it came to me, just like Doc Brown when he fell off he toilet and invented the flux capacitor! What if I replace the preamp with a DSP?! I could do EQ and some distortion and change it on the fly (or with a few lines of code) if I wasn't satisfied. I had also read a book called "Digital Audio Effects" by Zölzer where some examples of overdrive and tube simulation algorithms where shown.

However, a DSP was not meant to be. I work home with Linux, and use Windows only if I have to do my tax returns. Development tools for TI or ADC on Linux were not well known to me at the time. What if I used a microcontroller instead? I had an Atmel lying around on a dev board, 66 MHz or so I think, but adding hardware to it would prove too complicated. Finally, after a conversation with a work mate, he recommended an ARM processor from STM to me, they ran at 72 MHz, and gave me an USB dev board from Olimex, since he didn't have the time to play around with it.

After a bit of fiddling on the dev board for some time, adding ADC's, DAC's and a serial interface, I decided it was time to build my own audio processing board.