Programming 16-Bit PIC Microcontrollers in C

Learning to Fly the PIC 24

By

  • Lucio Di Jasio, Lucio Di Jasio is now Sales Manager in Europe for Microchip Inc.

New in the second edition:

* MPLAB X support and MPLAB C for the PIC24F v3 and later libraries

* I2C™ interface

* 100% assembly free solutions

* Improved video, PAL/NTSC

* Improved audio, RIFF files decoding

* PIC24F GA1, GA2, GB1 and GB2 support

 

Most readers will associate Microchip's name with the ubiquitous 8-bit PIC microcontrollers but it is the new 16-bit PIC24F family that is truly stealing the scene. Orders of magnitude increases of performance, memory size and the rich peripheral set make programming these devices in C a must. This new guide by Microchip insider Lucio Di Jasio teaches readers everything they need to know about the architecture of these new chips: How to program them, how to test them, and how to debug them. Di Jasio’s common-sense, practical, hands-on approach starts out with basic functions and guides the reader step-by-step through even the most sophisticated programming scenarios. Experienced PIC users, including embedded engineers, programmers, designers, and SW and HW engineers, and new comers alike will benefit from the text’s many thorough examples, which demonstrate how to nimbly sidestep common obstacles and take full advantage of the many new features.

!

View full description

Audience

Embedded Programmers and Designers

 

Book information

  • Published: December 2011
  • Imprint: NEWNES
  • ISBN: 978-1-85617-870-9

Reviews

"For intermediate level programmers with experience in C and assembly- type languages for embedded systems, this volume on programming 16- bit PIC microcontrollers provides practical instruction, accompanied by hands on activities and experiments, for learning the fundamentals of modern embedded systems programming. Beginning with a section on basic concepts and tasks such as working with loops, patterns, and interrupts, the volume covers topics such as synchronous and asynchronous communications, capturing inputs, mass storage, and file input/output. Chapters include illustrations and code examples, as well as exercises, links to online resources, and recommended further readings. Di Jasio is a former engineer for Microchip Technology."--Reference and Research News, October 2012




Table of Contents

Chapter 1 Hello Embedded World
Chapter 2 A Loop in the Pattern
Chapter 3 More Pattern Work, More Loops
Chapter 4 Numb3rs
Chapter 5 Interrupts
Chapter 6 Taking a Look Under the Hood
Chapter 7 After the First "Solo" Flight
Chapter 8 Asynchronous Communication
Chapter 9 Glass = Bliss
Chapter 10 It’s an Analog World
Chapter 11 Cross-Country Flying
Chapter 12 The Dark Screen
Chapter 13 Mass Storage
Chapter 14 File I/O
Chapter 15 Volare