相關主題
商品描述
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.
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
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 的專案始終未減。沃倫還持有高級業餘無線電執照,並於 1991 年 8 月使用封包無線電與國際空間站(Mir space station,U2MIR)進行聯絡。他還著有其他書籍,包括《Sams Teach Yourself Linux in 24 Hours》、《Linux Socket Programming by Example》和《Advanced Unix Programming》。