Search this site (www.microchipC.com).





CCS C Compiler for Microchip PIC micros

Your ad here

 

18Fxxx tutorial and C optimization tips

From a recent Microchip conference, this giant 7.6Mb Adobe Acrobat .pdf file has everything you need to get started on using the PIC18Fxxx chips.

Highly recommended, especially the section on 'Optimizing C source code for compiler efficiency'.

  • PIC18FXXXX architecture, peripherals and special features
  • PICmicro product overview including future products
  • PIC18FXXXX development tool overview
  • Audio Spectrum Analyzer Demo Board design
  • Lab 1 - Install MPLAB 6.0, MPLAB ICD 2, MPLAB C18, Demo Board, Create Project, Compile and Run, Display Message
  • Lab 2 - Develop a traffic light
  • Lab 3 - A/D Sampling ISR, Fill A/D sample buffer
  • Lab 4 - Apply DFT to A/D sample buffer, scale and display DFT results.
  • Lab 5 - Extra credit- Add Automatic Gain Control
  • Appendix A: Optimizing C source code for compiler efficiency
  • Appendix B: PIC18FXXXX Instruction Set, PIC16/17 migration
  • Appendix C: PIC18FXXXX Flash Programming Tips
  • Appendix D: PIC18FXXXX Peripheral Calculation Spreadsheet

Download

Download either Adobe Actobat .pdf (7.6Mb) or Winzip .zip (4.9Mb).

Note: For slow connections, and to resume partial downloads, it is highly recommended that you use a program such as GetRight (www.getright.com) or Go!Zilla (www.gozilla.com).

 



This site is non-profit. Ad revenue almost covers hosting costs.

We welcome any suggesions or comments! Send them to Shane Tolmie on support@microchipc.com. This site is a completely separate site to www.microchip.com, and is maintained independently of Microchip Ltd., manufacturers of the PIC micro. All code on this site is free for non-commercial use, unless stated otherwise. Commercial use normally free, however, it is prohibited without contacting support@microchipc.com for permission. All content on this site created by Shane Tolmie is copyrighted by Shane Tolmie 1999-2009. Click to advertise on this website - $29.90 for a banner ad which will reach 55,000 user sessions per month. One months free trial!