XY Theremin for STM32F7-DISCO
Last updated on 2017-07-29
About the Book
ST was the first silicon vendor to introduce a Cortex-M7 chip. Like the M4, the M7 has a floating point processor, and a specialized I2S peripheral called the SAI (Serial Audio Interface, I guess).
Floating point is a big help in computing envelopes for audio outputs.
The M7 also runs twice as fast as the M4.
The STM32F7-DISCO board includes an audio codec, the wm8994, and an audio output that works either for headphones or powered speakers. In addition it has a 420 x 272 touchscreen, and a TFT color LCD.
So the hardware needed for the theremin is already in place.
All that was needed was the code, which this book provides.
Writing code for modern ARM processors is sometimes a challenging activity. There are a great many modern peripherals on chip. So many in fact that there are seldom enough processor pins to accomodate all the peripherals on the chip. So only certain combinations of peripherals can be used at the same time. Each peripheral must have its clock individually configured, and there are multiple layers to the chip libraries. It is a good idea to have a completed project to use as a model.
Every detail of the development, from requirements through testing and validation is documented in the chapters of this book. All of the code included in the final product is included in this book. The information is presented with all the clarity that the author could muster.
One of several free development environments is described, along with links to the silicon vendor's design and debugging tools.
There are several possibilites for expansion of the program supplied. One might add a capability of recording and playing back tracks played on the device using a micro-sdcard slot on the board. It should be possible to add a 24dB per octave, variable cutoff, resonant filter to replace the simple smoothing filter supplied. These are left as an exercise for the reader.
- System Context and Level One Diagram
- Level Two Diagrams
- Level Three Diagrams
- COCOMO Method
- Modified Function Point Method
- Add Up The Guesses Method
- Combining The Estimates
- Software Tools
- Hardware Tools
- Object Interaction Diagrams
- Object Overview Diagram
- Object Catalog
- Application Source Code
- Library Code from Chip Vendor
- Vendor Supplied Hardware, Software, and Documents
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.