Embedded computing and mechatronics with the PIC32 microcontroller / Kevin M. Lynch, Nicholas Marchuk, Matthew L. Elwin.
Annotation
Saved in:
Online Access: |
Full Text (via Skillsoft) |
---|---|
Main Authors: | , , |
Format: | Electronic eBook |
Language: | English |
Published: |
Waltham, MA :
Newnes is an imprint of Elsevier,
[2015]
|
Subjects: |
Table of Contents:
- Front Cover; Embedded Computing and Mechatronics with the PIC32 Microcontroller; Copyright; Dedication; Figure Credits; Contents; Preface; Contents; Choices made in this book; The NU32 development board; How to use this book in a course; Website, videos, and flipped classrooms; Other PIC32 references; Acknowledgments; Part I: Quickstart; Chapter 1: Quickstart; 1.1 What You Need; 1.1.1 Hardware; 1.1.2 Software; 1.2 Compiling the Bootloader Utility; 1.3 Compiling Your First Program; 1.4 Loading Your First Program; 1.5 Using make; 1.6 Chapter Summary; Further Reading; Part II: Fundamentals.
- Chapter 2: Hardware2.1 The PIC32; 2.1.1 Pins, Peripherals, and Special Function Registers (SFRs); 2.1.2 PIC32 Architecture; Peripherals; Digital input and output; Universal Serial Bus; Controller area network; Ethernet; DMA controller; In-Circuit Debugger; Watchdog timer; Change notification; Counter/timers; Output compare; Input capture; Serial Peripheral Interface; Inter-integrated circuit; Parallel master port; Analog input; Universal asynchronous receiver/transmitter; Real-time clock and calendar; Comparators; Other components; CPU; Bus matrix; Interrupt controller.
- Memory: Program flash and data RAMPrefetch cache module; Clocks and timing generation; 2.1.3 The Physical Memory Map; 2.1.4 Configuration Bits; 2.2 The NU32 Development Board; 2.3 Chapter Summary; 2.4 Exercises; Further Reading; Chapter 3: Software; 3.1 The Virtual Memory Map; 3.2 An Example: simplePIC.c; 3.3 What Happens When You Build?; 3.4 What Happens When You Reset the PIC32?; 3.5 Understanding simplePIC.c; Special function registers (SFRs); Pins RF0, RF1, and RD7 on the NU32; CLR, SET, and INV SFRs; 3.5.1 Down the Rabbit Hole; 3.5.2 The Header File p32mx795f512h.h.
- 3.5.3 Other Microchip Software: Harmony3.5.4 The NU32bootloaded.ld Linker Script; 3.6 Bootloaded Programs vs. Standalone Programs; 3.7 Build Summary; 3.8 Useful Command Line Utilities; 3.9 Chapter Summary; 3.10 Exercises; Further Reading; Chapter 4: Using Libraries; 4.1 Talking PIC; 4.2 The NU32 Library; 4.3 Bootloaded Programs; 4.4 An LCD Library; 4.5 Microchip Libraries; 4.6 Your Libraries; 4.7 Chapter Summary; 4.8 Exercises; Further Reading; Chapter 5: Time and Space; 5.1 Compiler Optimization; 5.2 Time and the Disassembly File; 5.2.1 Timing Using a Stopwatch (or an Oscilloscope).
- 5.2.2 Timing Using the Core Timer5.2.3 Disassembling Your Code; 5.2.4 The Prefetch Cache Module; 5.2.5 Math; 5.3 Space and the Map File; 5.4 Chapter Summary; 5.5 Exercises; Further Reading; Chapter 6: Interrupts; 6.1 Overview; 6.2 Details; The shadow register set; External interrupt inputs; Special Function Registers; 6.3 Steps to Configure and Use an Interrupt; 6.4 Sample Code; 6.4.1 Core Timer Interrupt; 6.4.2 External Interrupt; 6.4.3 Speedup Due to the Shadow Register Set; 6.4.4 Sharing Variables with ISRs; (1) Using the type qualifier volatile; (2) Enabling and disabling interrupts.