A/D Converter Inputs - Rabbit Core RCM3700 User Manual

C-programmable core module with ethernet, serial flash, and enhanced software
Hide thumbs Also See for Core RCM3700:
Table of Contents

Advertisement

3.2.3 A/D Converter Inputs

The following sample programs are found in the
AD_CALDIFF_CH.C
channel using two known voltages to generate the calibration constants for that channel.
Constants will be rewritten into user block data area.
Before running this program, make sure that pins 1–3 are connected on headers JP5,
JP6, and JP7 on the Prototyping Board. No pins are connected on header JP8.
—Demonstrates how to recalibrate an A/D input channel being used to
AD_CALMA_CH.C
convert analog current measurements to generate the calibration constants for that channel.
Before running this program, make sure that pins 3–5 are connected on headers JP5,
JP6, and JP7 on the Prototyping Board. Connect pins 1–2, 3–4, 5–6, 7–8 on header JP8.
AD_CALSE_ALL.C
channels for one gain, using two known voltages to generate the calibration constants
for each channel. Constants will be rewritten into the user block data area.
Before running this program, make sure that pins 3–5 are connected on headers JP5,
JP6, and JP7 on the Prototyping Board. No pins are connected on header JP8.
AD_CALSE_CHAN.C
channel with one gain using two known voltages to generate the calibration constants
for that channel. Constants will be rewritten into user block data area.
Before running this program, make sure that pins 3–5 are connected on headers JP5,
JP6, and JP7 on the Prototyping Board. No pins are connected on header JP8.
NOTE: The above sample programs will overwrite any existing calibration constants.
AD_RDDIFF_CH.C
differential input using previously defined calibration constants.
Before running this program, make sure that pins 1–3 are connected on headers JP5,
JP6, and JP7 on the Prototyping Board. No pins are connected on header JP8.
—Demonstrates how to read an A/D input channel being used to con-
AD_RDMA_CH.C
vert analog current measurements using previously defined calibration constants for
that channel.
Before running this program, make sure that pins 3–5 are connected on headers JP5,
JP6, and JP7 on the Prototyping Board. Connect pins 1–2, 3–4, 5–6, 7–8 on header JP8.
—Demonstrates how to read all single-ended A/D input channels
AD_RDSE_ALL.C
using previously defined calibration constants.
Before running this program, make sure that pins 3–5 are connected on headers JP5,
JP6, and JP7 on the Prototyping Board. No pins are connected on header JP8.
RabbitCore RCM3700 User's Manual
—Demonstrates how to recalibrate one differential analog input
—Demonstrates how to recalibrate all single-ended analog input
—Demonstrates how to recalibrate one single-ended analog input
—Demonstrates how to read an A/D input channel being used for a
SAMPLES\RCM3700\ADC
folder.
22

Advertisement

Table of Contents
loading

Table of Contents