Beginning Stm32: Developing with Freertos, Libopencm3, and Gcc

Gay, Warren

  • 出版商: Apress
  • 出版日期: 2024-03-13
  • 定價: $2,150
  • 售價: 9.5$2,043
  • 貴賓價: 9.0$1,935
  • 語言: 英文
  • 頁數: 190
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798868801983
  • ISBN-13: 9798868801983
  • 相關分類: STM32
  • 立即出貨 (庫存=1)

相關主題

商品描述

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!
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
Who This Book Is For
Experienced embedded engineers, students, hobbyists and makers wishing to explore the ARM architecture, going beyond Arduino limits.

商品描述(中文翻譯)

了解如何使用FreeRTOS和libopencm3,而不是Arduino軟體環境,將幫助您開發超越Arduino標準的多任務應用程式。此更新版本包括擴展的Windows 10和11軟體設定覆蓋範圍,以及額外的TM32硬體功能,包括對“totem pole outputs”和“open drain outputs”的清晰解釋,以及關於使用中斷驅動方法處理USART數據的新章節。

每個章節都包含對STM32硬體功能的清晰解釋,以幫助您開始使用該設備,包括GPIO和其他ST Microelectronics外設,如USB和CAN總線控制器。您將學習如何下載和設置libopencm3 + FreeRTOS開發環境,使用GCC。一切設置完成後,您將利用FreeRTOS創建任務、隊列和互斥鎖。您還將學習如何使用I2C總線添加使用PCF8574芯片的GPIO,以及如何使用硬體定時器為RC控制創建PWM輸出。

您將介紹必須掌握STM32的新概念,例如如何使用外部Winbond W25Q32快閃記憶體芯片使用GCC覆蓋擴展代碼。每章結束時都有練習來測試您的知識。完成本書後,您將準備好使用STM32系列中的任何設備。

《Beginning STM32, Second Edition》為專業人士、學生或愛好者提供了一種學習ARM架構的方式,而不需要花費太多成本!

您將學到什麼:
- 初始化和使用libopencm3驅動程式並處理中斷
- 使用DMA驅動基於SPI的OLED顯示模擬計量器
- 使用硬體定時器從RC控制讀取PWM
- 了解STM32的功能,包括USB控制器、RTC、DMA、CAN總線等

本書適合對嵌入式工程師、學生、愛好者和製造商有經驗的人,希望探索ARM架構,超越Arduino的限制。

作者簡介

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.

作者簡介(中文翻譯)

Warren Gay自小就是一位電子愛好者,放學後常常拖回家報廢的電視機。在高中時,他學會了IBM-1130的程式設計,並在多倫多的Ryerson Polytechnical追求了一個軟體開發的職業生涯。從那時起,他已經在專業領域工作了30多年,主要使用C/C++在Unix和Linux下進行開發。與此同時,他對電子的熱愛從70年代自製Intel 8008系統開始一直持續到現在,並使用Raspberry Pi進行各種項目。Warren還擁有高級業餘無線電執照,並在1991年8月使用封包無線電與Mir太空站(U2MIR)進行通訊。他還撰寫了其他書籍,包括《Sams Teach Yourself Linux in 24 Hours》、《Linux Socket Programming by Example》和《Advanced Unix Programming》。