Analog 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

5.2.2 Analog Inputs

NOTE: The function calls for the A/D converter in this section will work only with the
RCM3700 Prototyping Board.
unsigned int anaInConfig(unsigned int
instructionbyte, unsigned int cmd, long baud);
Use this function to configure the ADS7870 A/D converter. This function will address the ADS7870 in
Register Mode only, and will return error if you try the Direct Mode. Section B.1.5 provides additional
addressing and command information for the ADS7870 A/D converter.
ADS7870 Signal
ADS7870 State
LN0
LN1
LN2
LN3
LN4
LN5
LN6
LN7
/RESET
RISE/FALL
PIO0
PIO1
PIO2
PIO3
CONVERT
BUSY
CCLKCNTRL
CCLK
SCLK
SDI
SDO
/CS
BUFIN
VREF
BUFOUT
RabbitCore RCM3700 User's Manual
Input
AIN0
Input
AIN1
Input
AIN2
Input
AIN3
Input
AIN4
Input
AIN5
Input
AIN6
Input
AIN7
Input
Board reset device
Input
Pulled up for SCLK active on rising edge
Input
Pulled down
Input
Pulled down
Input
Pulled down
Input
Pulled down
Input
Pulled down
Output
PD1 pulled down; logic high state converter is busy
Input
Pulled down; 0 state sets CCLK as input
Input
Pulled down; external conversion clock
Input
PB0; serial data transfer clock
Input
PD4; 3-wire mode for serial data input
Output
PD5; serial data output /CS driven
Input
PD2 pulled up; active-low enables serial interface
Input
Driven by VREF; reference buffer amplifier
Output
Connected to BUFIN
Output
VREF output
RCM3700 Function/State
42

Advertisement

Table of Contents
loading

Table of Contents