Microchip | The Embedded Control Solutions Company Register Login
Browse All
Microchip Technology
 369 Code Snippets

CE033 - dsPIC SMPS ADC Interrupt Vectoring - C

Microchip Technology

This code example demonstrates the use of the ADBASE register to perform interrupt vectoring for the ADC conversion pairs.

About this Code Example

This code example demonstrates the use of the ADBASE register to perform
interrupt vectoring for the ADC conversion pairs. The ADC module is set up
with  FRC & Hi-Range  to run at frequency of  14.55 MHz.      
This will result in Fcy = 29.1 MHz. The input clock to the ADC         
clock divider will be Fadc = 232.8 MHz         

Tcy = 34.364 nsec              
Time required for one conversion  = 721.64 nsec 

Categories

Release History

  • Jun 15, 2012

    Version: 1.0.0

    First Release to ECS

Download Contact the Developer

*Required Fields


  • Current Version:1.0.0
  • Created:Jun 16, 2012
  • Updated:Feb 26, 2015
  • Downloads:3479
  • MPLAB Version:V8.xx or above
  • C Compiler:MCC18 v3.30 or above
  • Development Tools:N/A
  • Supported Devices:N/A

Corporate News

Resources

Stay Connected

Stay up to date with the latest news from Microchip Technology.