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
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 About This Book This book focuses on programming embedded systems using a practical approach Examples show how to use bitmapped graph...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing
[2016]
|
Edición: | 1st edition |
Colección: | Quick answers to common problems.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630155406719 |
Tabla de Contenidos:
- 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)
- How to port uVision projects to GNU ARM EclipseIndex