![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
LTC2460 Ultra-Tiny, 16-bit delta sigma ADCs with 10ppm/degree C Max Precision Reference. More...
LTC2460 Ultra-Tiny, 16-bit delta sigma ADCs with 10ppm/degree C Max Precision Reference.
The LTC2460/LTC2462 are ultra tiny, 16-Bit analog-to- digital converters with an integrated precision reference. They use a single 2.7V to 5.5V supply and communicate through an SPI Interface. The LTC2460 is single-ended with a 0V to VREF input range and the LTC2462 is differential with a ±VREF input range. Both ADC’s include a 1.25V integrated reference with 2ppm/°C drift performance and 0.1% initial accuracy. The converters are available in a 12-pin DFN 3mm × 3mm package or an MSOP-12 package. They include an integrated oscillator and perform conversions with no latency for multiplexed applications. The LTC2460/LTC2462 include a proprietary input sampling scheme that reduces the average input current several orders of magnitude when compared to conventional delta sigma converters. SPI DATA FORMAT (MSB First): Byte #1 Byte #2 Data Out : D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D10 Data In : EN1 EN2 SPD SLP X X X X X X X X X X X X Dx : Data Bits EN1/EN2 : Enable Bits (00-keep previous mode, 10-change mode) SPD : Double Output Rate Select Bit (1-Normal rate 30hz, auto-calibration on, 0- 2x rate 60hz, auto_calibration off) SLP : 1 - powers down chip reference after the next conversion is complete Command Byte #1 EN1 EN2 SPD SLP Comments 0 X X X Keep Previous Mode 1 0 1 X 60 Hz conversion 1 0 0 X 30 Hz auto-calibrated conversion Example Code: Read in 2X mode without turning off reference uint16_t miso_timeout = 1000; adc_command =LTC2460_SPEED_2X | LTC2460_REF_ON; // Build ADC command for channel 0 LTC2460_read(LTC2460_CS, adc_command, &adc_code); // Throws out last reading delay(50); LTC2460_read(LTC2460_CS, adc_command, &adc_code); // Obtains the current reading and stores to adc_code variable // Convert adc_code to voltage adc_voltage = LTC2460_code_to_voltage(adc_code, LTC2460_lsb);
http://www.linear.com/product/LTC2460
http://www.linear.com/product/LTC2460#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 LTC2460: Ultra-Tiny, 16-bit delta sigma ADCs with 10ppm/degree C Max Precision Reference
Definition in file LTC2460.h.
Go to the source code of this file.
Functions | |
void | LTC2460_read (uint8_t cs, uint8_t adc_command, int32_t *adc_code) |
float | LTC2460_code_to_voltage (int32_t adc_code, float vref) |
Calculates the voltage corresponding to an adc code, given the reference (in volts) More... | |
Macros | |
#define | LTC2460_CS QUIKEVAL_CS |
Define the SPI CS pin. More... | |
Mode Configuration | |
#define | LTC2460_KEEP_PREVIOUS_MODE 0x00 |
#define | LTC2460_SPEED_1X 0xA0 |
#define | LTC2460_SPEED_2X 0x80 |
#define | LTC2460_REF_ON 0x00 |
#define | LTC2460_REF_OFF 0x10 |
float LTC2460_code_to_voltage | ( | int32_t | adc_code, |
float | vref | ||
) |
Calculates the voltage corresponding to an adc code, given the reference (in volts)
adc_code | Code read from adc |
vref | VRef (in volts) |
Definition at line 86 of file LTC2460.cpp.
void LTC2460_read | ( | uint8_t | cs, |
uint8_t | adc_command, | ||
int32_t * | adc_code | ||
) |
Reads from LTC2460.
cs | Chip select |
adc_command | 1 byte command written to LTC2460 |
adc_code | 4 byte conversion code read from LTC2460 |
Definition at line 77 of file LTC2460.cpp.
#define LTC2460_CS QUIKEVAL_CS |