101-1006 Rabbit Semiconductor, 101-1006 Datasheet - Page 26

no-image

101-1006

Manufacturer Part Number
101-1006
Description
MODULE POWERCORE FLEX 3800
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-1006

Module/board Type
MPU Core Module
For Use With/related Products
RCM3800
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
3.2.2 A/D Converter
The following sample programs can be found in the
folder.
18
ADC_CALIB_EXTERNAL.c
using two known voltages to generate two coefficients, gain and offset, which will be
written to the simulated EEPROM in the flash memory. The program will then display
the voltage that has been calibrated.
In order to run this sample program, you will need a separate power supply. Connect
the positive lead from the power supply to the A/D channel input located on pin 7 of
header J3 on the Prototyping Board. Connect the negative lead from the power supply
to the GND located on pin 8 of J3 on the Prototyping Board.
ADC_CALIB_RAMP.c
The A/D ramp-generator circuit is calibrated using the 2.5 V voltage reference and the
end-of-ramp voltage point located on the PowerCore module. The calibration constants
generated by this sample program will be written to the simulated EEPROM in the
flash memory, and can then be used to calculate the voltage for the following A/D
channels.
The program will then display the voltage of these A/D channels.
In order to run this sample program, you will need a voltmeter to measure the A/D 2.5 V
voltage reference at TP10 and the end-of-ramp voltage at TP9; both test points are
located between header J4 and the edge on the bottom side of the PowerCore module.
Channel 0—2.5 V reference voltage
Channel 1—end-of-ramp voltage
Channel 2—thermistor
NOTE: The above sample programs will overwrite any existing calibration constants.
—Demonstrates how to calibrate the A/D ramp-generator circuit.
—Demonstrates how to calibrate an external A/D channel
SAMPLES\PowerCoreFLEX\ADC
PowerCore FLEX

Related parts for 101-1006