Зарегистрироваться
Восстановить пароль
FAQ по входу

Gay Warren. Beginning STM32: Developing with FreeRTOS, libopencm3, and GCC

  • Файл формата zip
  • размером 32,15 МБ
  • содержит документ формата epub
Gay Warren. Beginning STM32: Developing with FreeRTOS, libopencm3, and GCC
2nd Edition. — Apress Media LLC, 2024. — 550 p. — ISBN-13: 979-8-8688-0199-0.
Начало STM32: разработка с использованием FreeRTOS, libopencm3 и GCC
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 TM32 hardware capabilities, including clear explanations of "totem pole outputs" versus "open drain outputs," and a new section on 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 controller. You’ll learn how to download and set up the libopencm3 + FreeRTOS development environment, 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. And how to create PWM output for RC control using hardware timers.
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. Upon completing this book, you’ll be ready to work with any of the devices in the STM32 family. Beginning STM32, Second Edition provides the professional, student, or hobbyist a way to learn about ARM without costing an arm!
There is considerable interest in the ARM Cortex platform today because ARM devices are found everywhere. Units containing ARM devices range from the small microcontroller embedded systems to cellphones and larger servers running Linux. Soon, ARM will also be present in higher numbers in the data center. These are all good reasons to become familiar with ARM technology.
Even with the threat of the emerging RISC-V standard, there are still reasons why the ARM platform will continue to be important. RISC-V is new and with some extensions still in development. Consequently, some manufacturers will stay the course with ARM simply because they are proven and the costs are known.
What You'll Learn
Initialize and use the libopencm3 drivers and handle interrupts
Use DMA to drive a SPI based OLED displaying an analog meter
Read PWM from an RC control using hardware timers
Understand STM32 capabilities, including USB controller, RTC, DMA, CAN bus, and more
Editorial Reviews
From the Back Cover

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 TM32 hardware capabilities, including clear explanations of "totem pole outputs" versus "open drain outputs," and a new section on 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 controller. You’ll learn how to download and set up the libopencm3 + FreeRTOS development environment, 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. And how to create PWM output for RC control using hardware timers.
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. Upon completing this book, you’ll be ready to work with any of the devices in the STM32 family.
Beginning STM32, Second Edition provides the professional, student, or hobbyist a way to learn about ARM without costing an arm!
You will:
Initialize and use the libopencm3 drivers and handle interrupts
Use DMA to drive a SPI based OLED displaying an analog meter
Read PWM from an RC control using hardware timers
Understand STM32 capabilities, including USB controller, RTC, DMA, CAN bus, and more
About the Author
Warren Gay ​has been an electronics enthusiast since childhood and often dragged 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 70's 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.
  • Чтобы скачать этот файл зарегистрируйтесь и/или войдите на сайт используя форму сверху.
  • Регистрация