A/D Converter Inputs - Rabbit RabbitCore User Manual

C-programmable core module with ethernet, serial flash
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.
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. 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.
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.
NOTE: The above sample programs will overwrite any existing calibration constants.
AD_RDDIFF_CH.C
differential input using previously defined calibration constants.
—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. Connect pins 1–2, 3–4, 5–6, 7–8 on header JP8.
AD_RDSE_ALL.C
using previously defined calibration constants.
—Demonstrates how to use a low-level driver on single-ended inputs.
AD_SAMPLE.C
The program will continuously display the voltage (average of 10 samples) that is
present on the A/D channels.
ANAINCONFIG.C
ended analog input values for display as voltages. The sample program uses the func-
tion call
anaInConfig()
—Demonstrates how to use analog input THERM_IN7 to calculate
THERMISTOR.C
temperature for display to the
thermistor is the one included in the Development Kit whose values for beta, series
resistance, and resistance at standard temperature are given in the part specification.
DNLOADCALIB.C
back to simulated EEPROM in flash with using a serial utility such as Tera Term.
Getting Started
—Demonstrates how to recalibrate one differential analog input
—Demonstrates how to recalibrate an A/D input channel being used to
—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
—Demonstrates how to read all single-ended A/D input channels
—Demonstrates how to use the Register Mode method to read single-
and the ADS7870 CONVERT line to accomplish this task.
window. This sample program assumes that the
STDIO
—Demonstrates how to retrieve analog calibration data to rewrite it
SAMPLES\RCM3700\ADC
folder.
19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rcm3750

Table of Contents