![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
LTC2485: 24-Bit Delta Sigma ADC with Easy Drive Input Current Cancellation and I2C Interface. More...
LTC2485: 24-Bit Delta Sigma ADC with Easy Drive Input Current Cancellation and I2C Interface.
The LTC2485 combines a 24-bit plus sign No Latency Delta Sigma analog-to-digital converter with patented Easy Drive technology and I2C digital interface. The patented sampling scheme eliminates dynamic input current errors and the shortcomings of on-chip buffering through automatic cancellation of differential input current. This allows large external source impedances and input signals, with rail-to-rail input range to be directly digitized while maintaining exceptional DC accuracy. Example Code: Read input with 1X speed mode and rejection frequency of 60Hz adc_command = LTC2485_R60 | LTC2485_SPEED_1X; // Set to 1X mode with 60hz rejection ack |= LTC2485_read(i2c_address, adc_command, &adc_code); // Throws out last reading ack |= LTC2485_read(i2c_address, adc_command, &adc_code); // Obtains the current reading and stores to adc_code variable
http://www.linear.com/product/LTC2485
http://www.linear.com/product/LTC2485#demoboards
Copyright 2018(c) Analog Devices, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Header for LTC2485: 24-Bit Delta Sigma ADC with Easy Drive Input Current Cancellation and I2C Interface
Definition in file LTC2485.h.
Go to the source code of this file.
Functions | |
int8_t | LTC2485_read (uint8_t i2c_address, uint8_t adc_command, int32_t *adc_code, uint16_t eoc_timeout) |
Reads from LTC2485 ADC that accepts an 8 bit configuration and returns a 24 bit result. More... | |
Macros | |
I2C_Addresses | |
#define | LTC2485_I2C_GLOBAL_ADDRESS 0b1110111 |
I2C address of the LTC2485. More... | |
Mode Configuration | |
See Table 1 of datasheet. | |
#define | LTC2485_SPEED_1X 0x00 |
#define | LTC2485_SPEED_2X 0x01 |
#define | LTC2485_INTERNAL_TEMP 0x08 |
#define | LTC2485_R50 0x02 |
#define | LTC2485_R60 0x04 |
#define | LTC2485_R50_R60 0x00 |
int8_t LTC2485_read | ( | uint8_t | i2c_address, |
uint8_t | adc_command, | ||
int32_t * | adc_code, | ||
uint16_t | eoc_timeout | ||
) |
Reads from LTC2485 ADC that accepts an 8 bit configuration and returns a 24 bit result.
i2c_address | I2C address (7-bit format) for part |
adc_command | Command byte written to LTC2485. Example: (LTC2485_R60 | LTC2485_SPEED_2X) |
adc_code | Conversion code read from LTC2485. The LTC2485's 32-bit code is converted to 24-bits inside this function. |
eoc_timeout | Timeout in ms |
Definition at line 70 of file LTC2485.cpp.
#define LTC2485_I2C_GLOBAL_ADDRESS 0b1110111 |