Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC

Warren Gay

  • 出版商: Apress
  • 出版日期: 2018-06-02
  • 定價: $1,940
  • 售價: 9.5$1,843
  • 語言: 英文
  • 頁數: 432
  • 裝訂: Paperback
  • ISBN: 1484236238
  • ISBN-13: 9781484236239
  • 相關分類: STM32
  • 立即出貨(限量) (庫存=1)

買這商品的人也買了...

商品描述

Using FreeRTOS and libopencm3 instead of the Arduino software environment, this book will help you develop multi-tasking applications that go beyond Arduino norms. In addition to the usual peripherals found in the typical Arduino device, the STM32 device includes a USB controller, RTC (Real Time Clock), DMA (Direct Memory Access controller), CAN bus and more. 

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 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
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標準的多任務應用程式。除了典型Arduino設備中的常見外設外,STM32設備還包括USB控制器、RTC(實時時鐘)、DMA(直接內存訪問控制器)、CAN總線等等。

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

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

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

您將學到什麼:
- 初始化和使用libopencm3驅動程序並處理中斷
- 使用DMA驅動基於SPI的OLED顯示模擬表
- 使用硬體定時器從RC控制讀取PWM

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