๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Advanced Programming with STM32 Microcontrollers: Master the Software Tools Behind the STM32 Microcontroller

โœ Scribed by Majid Pakdel


Publisher
Elektor Publication
Year
2020
Tongue
English
Leaves
216
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


This book is project-based and aims to teach the software tools behind STM32 microcontroller programming. Author Majid Pakdel has developed projects using various different software development environments including Keil MDK, IAR Embedded Workbench, Arduino IDE and MATLAB. Readers should be able to use the projects as they are, or modify them to suit to their own needs. This book is written for students, established engineers, and hobbyists. STM32 microcontroller development boards including the STM32F103 and STM32F407 are used throughout the book. Readers should also find it easy to use other ARM-based development boards.

Advanced Programming with STM32 Microcontrollers includes:

  • Introduction to easy-to-use software tools for STM32
  • Accessing the features of the STM32
  • Practical, goal-oriented learning
  • Complete code available online
  • Producing practical projects with ease

Topics cover:

  • Pulse Width Modulation
  • Serial Communication
  • Watchdog Timers
  • IยฒC
  • Direct Memory Access (DMA)
  • Finite State Machine Programming
  • ADCs and DACs
  • External Interrupts
  • Timers and Counters

โœฆ Table of Contents


Chapter 1 โ— Introduction to STM32 ARM Cortex-M Microcontrollers
1.1 โ— Introduction
1.2 โ— Software Tools
1.3 โ— STM32 Hardware Design and Serial Programmer
1.4 โ— Proposed STM32F103RET6 Header Board
1.5 โ— Summary
Chapter 2 โ— Beginning First Projects with STM32 Microcontroller
2.1 โ— Introduction
2.2 โ— Beginning the First Project
2.3 โ— The Second Project
2.4 โ— The Third Project
2.5 โ— The Fourth Project
2.6 โ— Summary
Chapter 3 โ— Adding LCD and Delay Libraries to a Project
3.1 โ— Introduction
3.2 โ— STM32CubeMX Settings and Adding LCD Library to the Project
3.3 โ— Adding LCD and Delay Libraries from Book files Download Section
3.4 โ— Summary
Chapter 4 โ— External Interrupts in STM32 Microcontrollers
4.1 โ— Introduction
4.2 โ— External Interrupt Project Settings
4.3 โ— Summary
Chapter 5 โ— Analogue to Digital Converters (ADCs) in STM32 Microcontrollers
5.1 โ— Introduction
5.2 โ— STM32CubeMX settings for ADC Project
5.3 โ— Adding Codes and Libraries to the ADC Project
5.4 โ— Summary
Chapter 6 โ— Digital to Analogue Converters (DACs) in STM32 Microcontrollers
6.1 โ— Introduction
6.2 โ— STM32CubeMX settings for DAC Project
6.3 โ— Adding Codes to main.c
6.4 โ— Summary
Chapter 7 โ— Timers and Counters in STM32 Microcontrollers
7.1 โ— Introduction
7.2 โ— Timer Project Settings
7.3 โ— Counter Project Settings
7.4 โ— Summary
Chapter 8 โ— Pulse Width Modulation (PWM) in STM32 Microcontrollers
8.1 โ— Introduction
8.2 โ— PWM Project Settings
8.3 โ— Summary
Chapter 9 โ— Real-Time Clock (RTC) in STM32 Microcontrollers
9.1 โ— Introduction
9.2 โ— RTC Project Settings
9.3 โ— Summary
Chapter 10 โ— Serial Communication in STM32 Microcontrollers
10.1 โ— Introduction
10.2 โ— Sending Data Project Settings
10.3 โ— Receiving Data Project Settings
10.4 โ— Summary
Chapter 11 โ— Synchronous Peripheral Interface (SPI) in STM32 Microcontrollers
11.1 โ— Introduction
11.2 โ— SPI Settings for Master Microcontroller
11.3 โ— SPI Settings for Slave Microcontroller
11.4 โ— Header Code of main.c for Master Microcontroller
11.5 โ— Header Code of main.c for the Slave Microcontroller
11.6 โ— The main.c File Settings for Master and Slave Microcontrollers
11.7 โ— Summary
Chapter 12 โ— Watchdog Timer in STM32 Microcontrollers
12.1 โ— Introduction
12.2 โ— WWDG Timer Project Settings
12.3 โ— IWDG Timer Project Settings
12.4 โ— Summary
Chapter 13 โ— Inter-Integrated Circuit (I2C) in STM32 Microcontrollers
13.1 โ— Introduction
13.2 โ— I2C Settings for Slave Microcontroller
13.3 โ— I2C Settings for Master Microcontroller
13.4 โ— Summary
Chapter 14 โ— Direct Memory Access (DMA) in STM32 Microcontrollers
14.1 โ— Introduction
14.2 โ— DMA Settings for ADC
14.3 โ— Timer, ADC, and DMA Project Settings
14.4 โ— DMA and USART Project Settings
14.5 โ— Summary
Chapter 15 โ— Real-Time Operating System (RTOS) in STM32 Microcontrollers
15.1 โ— Introduction
15.2 โ— FreeRTOS Project Settings
15.3 โ— Summary
Chapter 16 โ— STM32 Microcontrollers Programming using STM32duino
16.1 โ— Introduction
16.2 โ— Installing STM32duino in Arduino IDE
16.3 โ— Automation Control System Programming
16.4 โ— Multitasking in PLC Programming
16.5 โ— Summary
Chapter 17 โ— Finite State Machine (FSM) Programming in STM32 Microcontrollers
17.1 โ— Introduction
17.2 โ— FSM programming using mikroC PRO for ARM
17.3 โ— FSM Programming using Mbed Online Compiler
17.4 โ— FSM Modular Programming Using Functions
17.5 โ— Summary
Chapter 18 โ— STM32 Microcontrollers Programming using MATLAB/Simulink
18.1 โ— Introduction
18.2 โ— Pulse Generation Programming using Simulink
18.3 โ— SPWM Generation Programming for Three Phase Inverter using Simulink
18.4 โ— Summary
โ— Index


๐Ÿ“œ SIMILAR VOLUMES


Advanced Programming with STM32 Microcon
โœ Majid Pakdel ๐Ÿ“‚ Library ๐Ÿ“… 2020 ๐Ÿ› Elektor Publication ๐ŸŒ English

<div> <p>This book is project-based and aims to teach the software tools behind STM32 microcontroller programming. Author Majid Pakdel has developed projects using various different software development environments including Keil MDK, IAR Embedded Workbench, Arduino IDE and MATLAB. Readers should

Discovering the STM32 Microcontroller
โœ Geoffrey Brown ๐Ÿ“‚ Library ๐Ÿ“… 2013 ๐Ÿ› Indiana University ๐ŸŒ English

This book is intended as a hands-on manual for learning how to design systems using the STM32 F1 family of microcontrollers. It was written to support a junior-level computer science course at Indiana University. The focus of this book is on developing code to utilize the various peripherals availab

Discovering the STM32 Microcontroller
โœ Brown Geoffrey. ๐Ÿ“‚ Library ๐ŸŒ English

Indiana University, 2016 - 244p.<div class="bb-sep"></div>This book is intended as a hands-on manual for learning how to design systems using the STM32 F1 family of micro-controllers. It was written<br/>to support a junior-level computer science course at Indiana University. The focus of this book i

Programming the ARM(R) Cortex(R)-M4-base
โœ Farzin Asadi, Sawai Pongswatd ๐Ÿ“‚ Library ๐Ÿ“… 2021 ๐Ÿ› Morgan & Claypool ๐ŸŒ English

<p><b>A microcontroller is a compact, integrated circuit designed to govern a specific operation in an embedded system</b>. A typical microcontroller includes a processor, memory, and input/output (I/O) peripherals on a single chip.</p><p>When they first became available, microcontrollers solely use

dial_The Insiders Guide to the STM32 ARM
โœ Trevor Martin ๐Ÿ“‚ Library ๐Ÿ“… 2008 ๐Ÿ› Hitex (UK) Ltd. ๐ŸŒ English

This book is intended as a hands-on guide for anyone intending to use the ST Microelectronics STM32 family of Cortex-M3 microcontrollers.<br>Over the last six or seven years one of the major trends in microcontroller design is the adoption of the ARM7 and ARM9 as the CPU for general purpose microcon

Hands-On RTOS with Microcontrollers: Bui
โœ Brian Amos ๐Ÿ“‚ Library ๐Ÿ“… 2020 ๐Ÿ› Packt Publishing ๐ŸŒ English

Build a strong foundation in designing and implementing real-time systems with the help of practical examples Key Features โ€ข Get up and running with the fundamentals of RTOS and apply them on STM32 โ€ข Enhance your programming skills to design and build real-world embedded systems โ€ข Get to grips