Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC [2 ed]

Original price was: $59.99.Current price is: $5.00.

  • Publisher: ‎Apress; Second edition (March 13, 2024)
  • Author: Warren Gay
  • Language: ‎English
  • Paperback: ‎550 pages
Category: Tag:

See how using FreeRTOS and libopencm3 instead of the Arduino software environment will help you develop multi-tasking applications that go beyond Arduino norms. This updated version includes expanded coverage of software setup for Windows 10 and 11, additional STM32 hardware capabilities, including clear explanations of “totem pole outputs” versus “open drain outputs,” and a new section on the project showcasing an interrupt-driven approach for processing USART data.

Each chapter contains clear explanations of the STM32 hardware capabilities to help get you started with the device, including GPIO and several other ST Microelectronics peripherals like USB and CAN bus controllers. You’ll learn how to download and set up the libopencm3 and FreeRTOS development environments using GCC. With everything set up, you’ll leverage FreeRTOS to create tasks, queues, and mutexes. You’ll also learn to work with the I2C bus to add GPIO using the PCF8574 chip. Learn how to utilize hardware timers to generate PWM output for RC control.

You'll be introduced to new concepts that are necessary to master the STM32, such as how to extend code with GCC overlays using an external Winbond W25Q32 flash chip. Your knowledge is tested at the end of each chapter with exercises. After finishing this book, you'll be ready to work with any of the devices in the STM32 family. 
Second Edition, beginning with STM32, provides a way for professionals, students, and hobbyists to learn about ARM without spending an arm!

What you'll learn

  • Initialize and use the libopencm3 drivers, as well as handle interrupts.
  • Use DMA to drive an SPI-based OLED displaying an analog meter.
  • Hardware timers can be used to read PWM from an RC control.
  • Understand STM32 capabilities, including USB controller, RTC, DMA, CAN bus, and more.

This Book Is For Experienced embedded engineers, students, hobbyists, and makers wishing to explore ARM architecture, going beyond Arduino limits.

About the Author

Warren Gay has been an electronics enthusiast since childhood and often drags discarded TV sets home after school. In high school, he learned to program the IBM-1130 and then pursued a career in software development at Ryerson Polytechnical in Toronto. Since then, he has worked professionally for over 30 years, mainly in C/C++, under Unix and Linux. Meanwhile, the love of electronics has never faded since the early creation of his home-brewed Intel 8008 system in the 1970s to the present-day projects employing the Raspberry Pi. Warren also holds an advanced amateur radio license and was able to work the Mir space station (U2MIR) using packet radio in August 1991. He's authored other books, including Sams Teach Yourself Linux in 24 Hours, Linux Socket Programming by Example, and Advanced Unix Programming.

Reviews

There are no reviews yet.

Be the first to review “Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC [2 ed]”

Your email address will not be published. Required fields are marked *