Limit search to available items
294 results found. Sorted by relevance | date | title .
Book Cover
E-book
Author Gay, Warren, author.

Title Beginning STM32 Developing with FreeRTOS, Libopencm3, and GCC / Warren Gay
Edition 2nd ed
Published Berkeley, CA : Apress L. P., 2024

Copies

Description 1 online resource (535 p.)
Series Maker Innovations Series
Maker Innovations Series
Contents Intro -- Table of Contents -- About the Author -- Chapter 1: Introduction -- STM32F103C8T6 -- FreeRTOS -- libopencm3 -- No Arduino -- No IDE -- Development Framework -- Assumptions About You -- What You Need -- ST-Link V2 Programming Unit -- Breadboard -- DuPont (Jumper) Wires -- 0.1 uF Bypass Capacitors -- USB TTL Serial Adapter -- Power Supply -- Small Stuff -- Summary -- Chapter 2: Software Setup -- Directory Conventions Used -- Operating Software -- Book Software -- Cloning with a github Account -- Anonymous github Download -- libopencm3 -- FreeRTOS Kernel -- ARM Cross Compiler
Build the Software -- ST-Link Tool -- Windows User Installs -- Linux Account and Password -- Update the WSL -- Starting Ubuntu -- Updating Ubuntu -- Install Dependencies -- Windows Install usbipd -- Windows Ubuntu Software for usbipd -- STM32 ST-LINK Utility -- Summary -- Chapter 3: Power Up and Blink -- Power -- +3.3V Regulator -- USB Power/+5V -- +3.3V Supply -- One Power Source Rule -- Ground -- Reset -- Showtime -- ST-Link V2 -- st-flash Utility -- Read STM32 -- Write Image -- Erase Flash -- Windows STM32 ST-LINK Utility -- Function Info -- Function Read -- Function Write -- Function Erase
Bibliography -- Chapter 4: GPIO -- Building miniblink -- Flashing miniblink -- miniblink.c Source Code -- GPIO API -- GPIO Configuration -- Input Ports -- Output Ports -- Push/Pull or Totem Pole Outputs -- Open-Drain Outputs -- GPIO_MODE_OUTPUT_*_MHZ -- Ducks in a Row -- GPIO Inputs -- Digital Output, Push/Pull -- Digital Output, Open Drain -- GPIO Characteristics -- Input Voltage Thresholds -- Output-Voltage Thresholds -- Programmed Delays -- The Problem with Programmed Delay -- Summary -- Chapter 5: FreeRTOS -- FreeRTOS Facilities -- Tasking -- Message Queues
Semaphores and Mutexes -- Timers -- Event Groups -- The blinky2 Program -- Build and Test blinky2 -- Execution -- FreeRTOSConfig.h -- FreeRTOS Naming Convention -- FreeRTOS Macros -- Summary -- Chapter 6: USART -- USART/UART Peripheral -- Asynchronous Data -- USB Serial Adapters -- Hookup -- Project uart -- Project -- Project uart2 -- USART API -- Include Files -- Clocks -- Configuration -- DMA -- Interrupts -- Input/Output/Status -- Ducks in a Row -- FreeRTOS -- Tasks -- Queues -- Summary -- Chapter 7: USB Serial -- Blue Pill USB Issue -- Introduction to USB -- Pipes and Endpoints
USB Serial Device -- Linux USB Serial Device -- macOS USB Serial Device -- Windows USB Serial Device -- USB GPIO -- Demo Source Code -- cdcacm_set_config() -- cdc_control_request() -- cdcacm_data_rx_cb() -- USB Task -- USB Receiving -- USB Sending -- USB Serial Demo -- Summary -- Bibliography -- Chapter 8: SPI Flash -- Introducing W25QXX -- Serial Peripheral Interface Bus -- Chip Select -- Wiring and Voltages -- SPI Circuit -- Hardware /NSS Control -- STM32 SPI Configuration -- SPI Clock Rate -- SPI Clock Modes -- Endianness and Word Length -- SPI I/O -- Read SR1 -- Waiting for Ready
Summary 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
Notes Description based upon print version of record
Subject Programmable controllers.
Genre/Form Electronic books
Form Electronic book
ISBN 9798868801990