ARM Cortex M4 cookbook : over 50 hands-on recipes that will help you develop amazing real-time applications using GPIO, RS232, ADC, DAC, timers, audio codecs, graphics LCD, and a touch screen

Annotation

Saved in:
Bibliographic Details
Main Author Fisher, Mark, Dr (Author)
Format Electronic eBook
LanguageEnglish
Published Birmingham, UK : Packt Publishing Ltd., 2016.
SeriesQuick answers to common problems.
Subjects
Online AccessFull text
ISBN9781782176510
1782176519
9781782176503
1782176500
1523106158
9781523106158
Physical Description1 online resource (1 volume) : illustrations.

Cover

Table of Contents:
  • Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: A Practical Introduction to ARM® CORTEX®; Introduction; Installing uVision5; Linking an evaluation board; Running an example program; Writing a simple program; Understanding the simple use of GPIO; Estimating microcontroller performance; Chapter 2: C Language Programming; Introduction; Configuring the hardware abstraction layer; Writing a C program to blink each LED in turn; Writing a function; Writing to the console window; Writing to the GLCD.
  • Creating a game application
  • Stage 1Creating a game application
  • stage 2; Debugging your code using print statements; Using the debugger; Chapter 3: Programming I/O; Introduction; Performing arithmetic operations; Illustrating machine storage classes; Configuring GPIO ports; Configuring UART ports; Handling interrupts; Using timers to create a digital clock; Chapter 4: Assembly Language Programming; Introduction; Writing Cortex-M4 assembly language; Passing parameters between C and the assembly language; Handling interrupts in assembly language; Implementing a jump table.
  • Debugging assembly languageChapter 5: Data Conversion; Introduction; Setting up the ADC; Configuring general-purpose timers; Using timers to trigger conversions; Setting up the DAC; Generating a sine wave; Chapter 6: Multimedia Support; Introduction; Setting the RTE for the I2C Peripheral Bus; How to use the LCD touchscreen; Writing a driver for the audio codec; How to use the audio codec; How to use the camera; Designing bitmapped graphics; Ideas for games using sound and graphics; Chapter 7: Real-Time Signal Processing; Introduction; Configuring the audio codec.
  • How to play prerecorded audioDesigning a low-pass digital filter; How to make an audio tone control; Chapter 8: Real-Time Embedded Systems; Introduction; Multithreaded programs using event flags; Multithreaded programs using mailboxes; Why ensuring mutual exclusion is important when accessing shared resources; Why we must use a mutex to access the GLCD; How to write a multithreaded Pong game; Debugging programs that use CMSIS-RTOS; Chapter 9: Embedded Toolchain; Introduction; Installing GNU ARM Eclipse; Programming the MCBSTM32F400 evaluation board; How to use the STM32CubeMX Framework (API)