Julio Sanchez, Maria P. Canton
Focusing on the line of high-performance microcontrollers offered by Microchip, Microcontrollers: High-Performance Systems and Programming discusses the practical factors that make the high-performance PIC series a better choice than their mid-range predecessors for most systems. However, one consideration in favor of the mid-range devices is the abundance of published application circuits and code samples. This book fills that gap.
- Possibility of programming high-performance microcontrollers in a high-level language (C language)
- Source code compatibility with PIC16 microcontrollers, which facilitates code migration from mid-range to PIC18 devices
- Pin compatibility of some PIC18 devices with their PIC16 predecessors, making the reuse of PIC16 controllers in circuits originally designed for mid-range hardware possible
Designed to be functional and hands-on, this book provides sample circuits with their corresponding programs. It clearly depicts and labels the circuits, in a way that is easy to follow and reuse. Each circuit includes a parts list of the resources and components required for its fabrication. The book matches sample programs to the individual circuits, discusses general programming techniques, and includes appendices with useful information.
High-Performance Devices and Programming: Microchip PIC Microcontrollers. PIC18 Architecture. dsPIC Architecture. PIC18 Assembly Language Fundamentals. PIC18 Programming in C Language. C Language in an Embedded Environment. Programming the PIC18 Peripherals: Overview of PIC18 Peripheral Modules. PIC18 Interrupt System. Binary I/O Programming. PIC18 Timers and Counters. Data EEPROM, I2C, and Real-Time Clocks. Analog, Digital, Compare and PWM. Application Circuits and External Devices: Text Output Programming. Microcontroller Communications. The Direct Current Motor. Stepper Motor Circuits and Control. Sensorless Control of BLDC Motors. Servomotors and Radio Control. Controlling AC Devices. Multitasking and Operating Systems. Appendices: C Language Tutorial. PIC18 Instruction Set. Links to Useful Tools and Software. PCB files.
This book focuses on high-performance microcontrollers and on the digital signal processors offered by Microchip. In addition to their enhanced features, extended peripherals, and improved performance, several practical factors make the high-performance PIC series a better choice than their mid-range predecessors for most systems. However, one consideration sometimes mentioned in favor of mid-range devices is the abundance of published application circuits and code samples; this book attempts to correct this. It is a continuation of Embedded Systems Circuits and Programming by the same authors.
Inhaltsverzeichnis
Microcontrollers for Embedded Systems Embedded Systems The Microchip PIC PIC Architecture PIC18 Architecture PIC18 Family Overview Memory Organization PIC18FXX2 Oscillator System Reset I/O Ports Internal Modules Programming Tools and Software The Environment MPLAB Simulators and Debuggers Development Programmers Test Circuits and Development Boards Assembly Language Program Assembly Language Code Defining Data Elements PIC18Fxx2 Instruction Set PIC18 Programming in C Language C Compilers MPLAB C18 Installation C Compiler Project A First Program in C C Language in an Embedded Environment MPLAB C18 Sys tem MPLAB C18 Libraries Processor-Independent Libraries Processor-Specific Libraries Math Libraries Programming Simple Input and Output Port-Connected I/O C Language Simple I/O Pro gram Seven-segment LED Programming C Language 7-segment LED Programs A Demonstration Board Interrupts Interrupt Mechanism PIC18 Interrupt System Port B Interrupts Sleep Mode and Interrupts Interrupt Programming in C Language Delays, Counters, and Timers PIC18 Family Timers Delay Timers Hard ware Timer-Counters Timer0 Module Other Timer Modules C-18 Timer Functions Sample Programs 10 Data EEPROM EEPROM on the PIC18 Microcontrollers EEPROM Programming Data EEPROM Programming in C Language EEPROM Demonstration Programs Liquid Crystal Displays LCD Interfacing with the HD44780 The HD44780 Instruction Set LCD Programming Data Compression Techniques LCD Programming in C18 LCD Application Development in C18 Real-Time Clocks Measuring Time Real-Time Clock ICs RTC Demonstration Circuit and Program Real-Time Clocks in C18 3 Analog Data and Devices Operations on Computer Data 18F452 A/D Hardware A/D Conversion in C18 Interfacing with Analog Devices 1 LM 34 Temperature Sensor Operating Systems Time-Critical Systems RTOS Scope RTOS Programming Constructing the Scheduler A Small System Example Sample OS Application Appendix A MPLAB C18 Language Tutorial Appendix B De bugging 18F Devices Appendix C Building Your Own Circuit Boards Appendix D PIC18 Instruction Set Appendix E Number Systems and Data Encoding Appendix F Basic Electronics Index
Klappentext
Focusing on the line of high-performance microcontrollers offered by Microchip, Microcontrollers: High-Performance Systems and Programming discusses the practical factors that make the high-performance PIC series a better choice than their mid-range predecessors for most systems. However, one consideration in favor of the mid-range devices is the abundance of published application circuits and code samples. This book fills that gap. Possibility of programming high-performance microcontrollers in a high-level language (C language) Source code compatibility with PIC16 microcontrollers, which facilitates code migration from mid-range to PIC18 devices Pin compatibility of some PIC18 devices with their PIC16 predecessors, making the reuse of PIC16 controllers in circuits originally designed for mid-range hardware possible Designed to be functional and hands-on, this book provides sample circuits with their corresponding programs. It clearly depicts and labels the circuits, in a way that is easy to follow and reuse. Each circuit includes a parts list of the resources and components required for its fabrication.
The book matches sample programs to the individual circuits, discusses general programming techniques, and includes appendices with useful information.