Embedded Design with the PIC18F452 Microcontroller (Hardcover)

John B. Peatman

  • 出版商: Prentice Hall
  • 出版日期: 2002-08-15
  • 售價: $1,180
  • 貴賓價: 9.5$1,121
  • 語言: 英文
  • 頁數: 440
  • 裝訂: Paperback
  • ISBN: 0130462136
  • ISBN-13: 9780130462138
  • 相關分類: 嵌入式系統





Typically for a one-semester course at the senior level, but can also be used at the junior level.

This book is developed around Microchip's latest family of parts, the PIC18FXXX family. It focuses on the PIC18F452, a new part brought to market in May 2002. Throughout this book, the approach taken is to introduce a template of assembly language code that encompasses a set of features of the PIC18F452 plus its interactions with some of the I/O devices resident on a small 4"x4" development board. The unpopulated board is included, gratis, with the first printing of the book. A kit of parts to populate the board can be purchased from Digi-Key Corporation. Assembly of the board is detailed in an appendix. This QwikFlash board, the code templates, and a free QwikBug monitor that can be programmed into the PIC18F452 support code development by the reader. It is intended that the reader will find a smooth path to the creative process of writing enhanced application code. This book attempts to organize and unify the development of these three capabilities: to understand and use components, to exploit powerful algorithmic processes, and to break down the complexity of an instrument or device so as to meet its specifications. The book is dedicated toward the development of creative design capability.

Table of Contents

1. Introduction.
2. CPU Architecture.
3. Instruction Set.
4. QwikFlash Target Board.
5. Program Development (P1 Template).
6. Structured Assembly Preprocessor.
7. Alphanumeric Liquid-Crystal Displays (P2 Template).
8. Rotary Pulse Generators.
9. Interrupts and Interrupt Timing.
10. Analog-to-Digital Conversion.
11. I/O Pin Considerations.
12. LCD Screens (P3 Template).
13. Time-Interval Measurements.
14. Math Subroutines.
15. Serial Peripheral Interface for I/O Expansion.
16. Output Time-Interval Control (P4 Template).
17. SMBus/I2C for Peripheral Chip Access.
18. UART.
19. Programmed Peripheral Chips.
20. Miscellaneous Features.





A1. Assembly of the QwikFlash Board.
A2. Laboratory Development with the QwikProto Add-on Board.
A3. Use of Structured Assembler with MPLAB User Interface.
A4. QwikBug Monitor Program.
A5. QwikAddress and QwikPH Utilities.
A6. Verification of Math Subroutines.
A7. Use of C Programming for the PIC18F452.
A8. PIC18F452 Special Function Registers and Their Bits.
A9. Parts and Packages.
A10. Example of Course Organization and Lab Projects.