![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
Go to the source code of this file.
Functions | |
static void | read_LTC2442 (float vref, uint16_t eoc_timeout, uint16_t channel_delay) |
Reads the LTC2442 and displays the results. More... | |
static void | print_raw (int32_t *rawresults) |
static void | print_all (float *floatresults) |
Displays the the data in the array. More... | |
static void | print_prompt () |
Print the Prompt. More... | |
static void | setup () |
Initialize Linduino. More... | |
static void | loop () |
Repeats Linduino loop. More... | |
Macros | |
#define | CS QUIKEVAL_CS |
LTC2442: 24-Bit High Speed 4-Channel Delta Sigma ADCs with Integrated Amplifier. More... | |
#define | FLOATING |
Variables | |
const uint8_t | CHANNEL_ARRAY [2] = {LTC24XX_MULTI_CH_P0_N1, LTC24XX_MULTI_CH_P2_N3} |
Build the command for differential mode. More... | |
const uint8_t | OSR = LTC24XX_MULTI_CH_OSR_16384 |
static float | LTC2442_vref = 5.0 |
static uint16_t | EOC_timout = 250 |
static uint16_t | loop_delay = 0 |
static uint16_t | channel_read_delay = 0 |
static uint8_t | array_size = sizeof(CHANNEL_ARRAY) |
|
static |
Repeats Linduino loop.
Definition at line 148 of file LTC2442_Datalogger.ino.
|
static |
Displays the the data in the array.
Definition at line 218 of file LTC2442_Datalogger.ino.
|
static |
Print the Prompt.
Definition at line 179 of file LTC2442_Datalogger.ino.
|
static |
Definition at line 229 of file LTC2442_Datalogger.ino.
|
static |
Reads the LTC2442 and displays the results.
Definition at line 190 of file LTC2442_Datalogger.ino.
|
static |
Initialize Linduino.
Definition at line 124 of file LTC2442_Datalogger.ino.
#define CS QUIKEVAL_CS |
LTC2442: 24-Bit High Speed 4-Channel Delta Sigma ADCs with Integrated Amplifier.
The LTC2442 is a 4-channel (2-differential) high speed 24-bit No Latency Delta Sigma ADCs. They use a proprietary delta-sigma architecture enabling variable speed/resolution. Through a simple 4-wire serial interface, ten speed/resolution combinations 6.9Hz/280nVRMS to 3.5kHz/25uVRMS (4kHz with external oscillator) can be selected with no latency between conversion results or shift in DC accuracy (offset, full-scale, linearity, drift). Additionally, a 2X speed mode can be selected enabling output rates up to 7kHz (8kHz if an external oscillator is used) with one cycle latency.
http://www.linear.com/product/LTC2442
http://www.linear.com/product/LTC2442#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.The chip select
Definition at line 66 of file LTC2442_Datalogger.ino.
#define FLOATING |
Definition at line 102 of file LTC2442_Datalogger.ino.
|
static |
Definition at line 114 of file LTC2442_Datalogger.ino.
const uint8_t CHANNEL_ARRAY[2] = {LTC24XX_MULTI_CH_P0_N1, LTC24XX_MULTI_CH_P2_N3} |
Build the command for differential mode.
Definition at line 77 of file LTC2442_Datalogger.ino.
|
static |
Definition at line 99 of file LTC2442_Datalogger.ino.
|
static |
Definition at line 97 of file LTC2442_Datalogger.ino.
|
static |
Definition at line 98 of file LTC2442_Datalogger.ino.
|
static |
Definition at line 96 of file LTC2442_Datalogger.ino.
const uint8_t OSR = LTC24XX_MULTI_CH_OSR_16384 |
Definition at line 86 of file LTC2442_Datalogger.ino.