Embedded Development on ARM Processors
Embedded Development on ARM Processors
$25.00
Regular Price
$20.00
Bundle Price

Embedded Development on ARM Processors

How To Develop Embedded Software
GPS Tracker Project for Cortex-M3 ARM
XY Theremin for STM32F7-DISCO

About the Bundle

The bundle includes How to Develop Embedded Software, GPS Tracker Project for Cortex-M3 ARM, and XY Theremin Project for STM32F7-DISCO Board.

Each book in the series gives a detailled description of an embedded software project on an ARM Cortex-M device.  The descriptions include the entire lifecycle of the projects from inception to requirements analysis, through architecture, estimating, design, coding, debugging, verifying and validating the final product.

The books are written in the hope that they will provide detailled examples, including source code, and guidance for embedded software engineers as they learn to develop code on the ARM series of processors.

The author of this series has spent the last 30 years of his life developing embedded software for electronic products produced by innovative startups as well as Fortune 500 comanies.

  • Share this bundle

About the Books

How To Develop Embedded Software

How To Develop Embedded Software

A Case Study
    • PDF

    • EPUB

    • MOBI

    • APP

    The source code in this book implements a digital theremin, using a resistive X-Y touch screen, and a five position joy-switch for input.  Its output is an analog signal consisting of a selected audio waveform, modulated by an Attack-Decay-Sustain-Release envelope triggered and updated by a finger touching the resistive touch screen.

    The X axis of the touchscreen controls volume, while the Y axis controls frequency.  The joy-switch controls the hardness or softness of the attack phase, and the decay rate of the envelope after the finger is removed from the screen.

    Waveforms supported include square, triangle, and saw; although the waveform generation algorithm supports arbitrary single cycle waveform templates.

    A free version of the GNU ARM compiler was used under Windows 7 to build the system.  Startup code and Linker script were supplied by the free IDE used to develop and debug the program.  Those files are included in the source code section of the book.

    A makefile is included which can build the debug or release versions of the code without using the IDE.

    The book is intended to convey a useful point of view on embedded system development, which will help working programmers develop their software engineering skill set.

    Requirements, system architecture, and complete design documentation make it easy to follow the source code, or to make changes and add features as needed.

    A collection of verification and validation tests are described, which can be used to make sure source code changes have not broken any features of the program.

    GPS Tracker Project for Cortex-M3 ARM

    GPS Tracker Project for Cortex-M3 ARM

    • 23

      Readers

    • PDF

    • EPUB

    • MOBI

    • APP

    The source code for this book illustrates the use of simple state machines to parse GPS NMEA sentences, and to interact with the on-board cell modem which exchanges text messages with the user's smart phone.

    A free version of the GNU ARM compiler was used under Windows 7 to build the system.  Startup code and Linker script were supplied by the free IDE used to develop and debug the program.  Those files are included in the book.

    A makefile is included which can build the debug or release versions of the code without using the IDE.

    Source code includes a FIFO manager to handle the interrupt-driven UART interfaces to GPS and cell modem.  A time converter changes GPS UTC time into Unix UTC time for use by a module which schedules transmission of position reports to the user.

    Requirements, system architecture, and complete design documentation make it easy to follow the source code, or to make changes and add features as needed.

    A collection of verification and validation tests are described, which can be used to make sure source code changes have not broken any features of the program.

    XY Theremin for STM32F7-DISCO

    XY Theremin for STM32F7-DISCO

    • 26

      Readers

    • PDF

    • EPUB

    • MOBI

    • APP

    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.

    About the Author

    David Clifton
    David Clifton

    I have developed embedded software for 30 years.  Along the way, I have worn out several keyboards, stared holes in multiple displays, and produced firmware for a wide variety of electronic products.

    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 and a gps locator-tracker.

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

    The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

    Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
    See full terms

    Write and Publish on Leanpub

    Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

    Learn more about writing on Leanpub