Programming with STM32: Getting Started with the Nucleo Board and C/C++

by: Donald Norris


Abstract: Create your own STM32 programs with ease! Get up and running programming the STM32 line of microcontrollers from STMicroelectronics using the hands-on information contained in this easy-to-follow guide. Written by an experienced electronics hobbyist and author, Programming with STM32: Getting Started with the Nucleo Board and C/C++ features start-to-finish projects that clearly demonstrate each technique. Discover how to set up a stable development toolchain, write custom programs, download your programs to the development board, and execute them. You will even learn how to work with external servos and LED displays! • Explore the features of STM32 microcontrollers from STMicroelectonics • Configure your Nucleo-64 microcontroller development board • Establish a toolchain and start developing interesting applications • Add specialized code and create cool custom functions • Automatically generate C code using the STM32CubeMX application • Work with the ARM Cortex Microcontroller Software Interface Standard (CMSIS) and the STM hardware abstraction layer (HAL) • Control servos, LEDs, and other hardware using PWM • Transfer data to and from peripheral devices using DMA • Generate waveforms and pulses through your microcontroller's DAC
Full details

Book Details

Title: Programming with STM32: Getting Started with the Nucleo Board and C/C++

Publisher: McGraw-Hill Education: New York, Chicago, San Francisco, Athens, London, Madrid, Mexico City, Milan, New Delhi, Singapore, Sydney, Toronto

Copyright / Pub. Date: 2018 McGraw-Hill Education

ISBN: 9781260031317

Authors:

Donald Norris has a degree in electrical engineering and an MBA specializing in production management. He is currently an adjunct professor teaching an embedded systems course in the College of Engineering, Technology and Aeronautics of Southern New Hampshire University (SNHU). Don has also taught many other undergrad and grad courses, mainly in the computer science and technology areas, at SNHU and other regional schools over the past 33 years. He created and taught the initial robotics courses at SNHU both on-campus and online. Don retired from civilian government service with the U.S. Navy, where he specialized in underwater acoustics related to nuclear submarines and associated advanced digital signal processing systems. Since then, he has spent more than 23 years as a professional software developer using the C, C#, C++, Python, MicroPython, Node.js, JavaScript, PHP, and Java languages in varied development projects. He has also been a certified IT security consultant for the last 6 years. Don has written and had published seven books: three on the Raspberry Pi, one on how to build and fly your own drone, one on the Intel Edison, one on the Internet of Things, and one on MicroPython. He started a consultancy, Norris Embedded Software Solutions (dba NESS LLC), that specializes in developing application solutions using microcontrollers, sensors, and actuators. The business has also recently completed several robotics projects for clients. Don likes to think of himself as a perpetual hobbyist and geek, and is constantly trying out new technologies and out-of-the-box experiments. He is a licensed private pilot, photography buff, amateur extra class operator, avid runner, and, most important, proud grandfather of three great kids, Evangeline, Hudson, and Holton.

Description: Create your own STM32 programs with ease! Get up and running programming the STM32 line of microcontrollers from STMicroelectronics using the hands-on information contained in this easy-to-follow guide. Written by an experienced electronics hobbyist and author, Programming with STM32: Getting Started with the Nucleo Board and C/C++ features start-to-finish projects that clearly demonstrate each technique. Discover how to set up a stable development toolchain, write custom programs, download your programs to the development board, and execute them. You will even learn how to work with external servos and LED displays! • Explore the features of STM32 microcontrollers from STMicroelectonics • Configure your Nucleo-64 microcontroller development board • Establish a toolchain and start developing interesting applications • Add specialized code and create cool custom functions • Automatically generate C code using the STM32CubeMX application • Work with the ARM Cortex Microcontroller Software Interface Standard (CMSIS) and the STM hardware abstraction layer (HAL) • Control servos, LEDs, and other hardware using PWM • Transfer data to and from peripheral devices using DMA • Generate waveforms and pulses through your microcontroller's DAC