Applications with C, C++ and MicroPython
Cem Unsalan, Huseyin Deniz Gurhan, Mehmet Erkin Yucel

#ARM
#System_Design
#Microcontrollers
#Cortex-M
#C++
#C
This textbook introduces basic and advanced embedded system topics through Arm Cortex M microcontrollers, covering programmable microcontroller usage starting from basic to advanced concepts using the STMicroelectronics Discovery development board. Designed for use in upper-level undergraduate and graduate courses on microcontrollers, microprocessor systems, and embedded systems, the book explores fundamental and advanced topics, real-time operating systems via FreeRTOS and Mbed OS, and then offers a solid grounding in digital signal processing, digital control, and digital image processing concepts — with emphasis placed on the usage of a microcontroller for these advanced topics. The book uses C language, “the” programming language for microcontrollers, C++ language, and MicroPython, which allows Python language usage on a microcontroller. Sample codes and course slides are available for readers and instructors, and a solutions manual is available to instructors. The book will also be an ideal reference for practicing engineers and electronics hobbyists who wish to become familiar with basic and advanced microcontroller concepts.
Table of Contents
1 Introduction
2 Microcontroller Architecture
3 Software Development Platforms
4 Digital Input and Output
5 Interrupts and Power Management
6 Timing Operations
7 Conversion Between Analog and Digital Values
8 Digital Communication
9 Memory Operations
10 Real-Time Operating Systems
11 LCD, Touch Screen, and Graphical User Interface Formation
12 Introduction to Digital Signal Processing
13 Introduction to Digital Control
14 Introduction to Digital Image Processing
15 Advanced Topics
About the Author
Cem Ünsalan is a full professor at the Department of Electrical and Electronics Engineering at Marmara University, Turkey since 2017. Prior to joining Marmara University, he worked the Department of Electrical and Electronics Engineering at Yeditepe University for 15 years as a faculty member. He also served as the department head for four years there. Dr. Ünsalan received his BSc degree (1995) from Hacettepe University, Tukey; his MSc degree from Bogazici University, Turkey (1998); and PhD degree (2003) from The Ohio State University, USA.
Dr. Ünsalan has published three books on microcontrollers and FPGA systems. The two microcontroller books are on Texas Instrument’s MSP430 and MSP432 architecture. The FPGA book is on Xilinx’s Artix7 FPGA chip. All these books aim to introduce basic embedded system concepts through practical applications. He has also published books on computer vision









