Email the Author

You can use this page to email David Clifton about XY Theremin for STM32F7-DISCO.

Please include an email address so the author can respond to your query

This message will be sent to David Clifton

This site is protected by reCAPTCHA and the Google  Privacy Policy and  Terms of Service apply.

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 accommodate 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.  It is also available as source code, and in digital form as an extra you can download when you purchase the book. Just go to your leanpub library, click the XY Theremin icon there, and then click the extras entry in the menu that appears in the bottom half of the Library screen.

One of several free development environments is described, along with links to the silicon vendor's design and debugging tools.

There are several possibilities for expansion of the program.  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.

I wasn't interested in recording, and wasn't able to get the fancy filter working.


About the Author

David Clifton’s avatar David Clifton

I have been an active embedded software developer for the past 35 years. Systems developed in whole or part include: Multi-parameter biofeedback system for Apple II, C and Dsp code for a television watching robot, firmware for a laser power meter, hypertext editor and math assistant for a pocket PC, autosampler firmware for a hematology instrument, robotic control and sequencer for a genetic blood assay machine, bootloader and kernel for an oximeter, portable flight planning computer, firmware for a wireless data acquisition system for bridge diagnostics, base station firmware for corrections telemetry and alcohol monitoring, communications protocol for an implantable hearing aid, usb mass storage driver, and sensor drivers for an oilfield seismic data logger, firmware for a digital theremin, a gps locator-tracker, and lora remote sensing system.

For more detailed information, see www.canyoncode.com.

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • Xythereminforstm32f7-disco › Email Author › New
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • MEMBERSHIPS
    • Reader Memberships
    • Department Reader Memberships
    • Author Memberships
    • Your Membership
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • AI Services
    • Imagine a world...
    • Manifesto
    • More
    • Partner Program
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Bundle
    • Create a Course
    • Create a Track
    • Testimonials
    • Why Leanpub
    • Services
    • TranslateAI
    • TranslateWord
    • TranslateEPUB
    • PublishWord
    • Publish on Amazon
    • CourseAI
    • GlobalAuthor
    • Marketing Packages
    • IndexAI
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • API Docs
    • Organizations
    • Learn More
    • Sign Up
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy
    • Refund Policy

*   *   *

Leanpub is copyright © 2010-2025 Ruboss Technology Corp.
All rights reserved.

This site is protected by reCAPTCHA
and the Google  Privacy Policy and  Terms of Service apply.

Leanpub requires cookies in order to provide you the best experience. Dismiss