參數(shù)資料
型號(hào): DC939A
廠商: Linear Technology
文件頁(yè)數(shù): 33/42頁(yè)
文件大小: 0K
描述: BOARD DELTA SIGMA ADC LTC2484
軟件下載: QuikEval System
設(shè)計(jì)資源: DC939A Design File
DC939A Schematic
標(biāo)準(zhǔn)包裝: 1
系列: Easy Drive™, QuikEval™
ADC 的數(shù)量: 1
位數(shù): 24
采樣率(每秒): 6.8
數(shù)據(jù)接口: MICROWIRE?,串行,SPI?
工作溫度: 0°C ~ 70°C
已用 IC / 零件: LTC2484
已供物品:
相關(guān)產(chǎn)品: LTC2484CDD#TRPBF-ND - IC ADC 24BIT 10-DFN
LTC2484IDD#TRPBF-ND - IC ADC 24BIT 10-DFN
LTC2484IDD#PBF-ND - IC ADC 24BIT 10-DFN
LTC2484CDD#PBF-ND - IC ADC 24BIT 10-DFN
LTC2484
39
2484fd
APPLICATIONS INFORMATION
/*** read _ LTC2484() ************************************************************
This is the function that actually does all the work of talking to the LTC2484.
The spi _ read() function performs an 8 bit bidirectional transfer on the SPI bus.
Data changes state on falling clock edges and is valid on rising edges, as
determined by the setup _ spi() line in the initialize() function.
A good starting point when porting to other processors is to write your own
spi _ write function. Note that each processor has its own way of configuring
the SPI port, and different compilers may or may not have built-in functions
for the SPI port. Also, since the state of the LTC2484’s SDO line indicates
when a conversion is complete you need to be able to read the state of this line
through the processor’s serial data input. Most processors will let you read
this pin as if it were a general purpose I/O line, but there may be some that
don’t.
When in doubt, you can always write a “bit bang” function for troubleshooting
purposes.
The “fourbytes” structure allows byte access to the 32 bit return value:
struct fourbytes
// Define structure of four consecutive bytes
{
// To allow byte access to a 32 bit int or float.
int8 te0;
//
int8 te1;
// The make32() function in this compiler will
int8 te2;
// also work, but a union of 4 bytes and a 32 bit int
int8 te3;
// is probably more portable.
};
Also note that the lower 4 bits are the configuration word from the previous
conversion. The 4 LSBs are cleared so that
they don’t affect any subsequent mathematical operations. While you can do a
right shift by 4, there is no point if you are going to convert to floating point
numbers - just adjust your scaling constants appropriately.
*******************************************************************************/
signed int32 read _ LTC2484(char config)
{
union
// adc _ code.bits32
all 32 bits
{
// adc _ code.by.te0
byte 0
signed int32 bits32;
// adc _ code.by.te1
byte 1
struct fourbytes by;
// adc _ code.by.te2
byte 2
} adc _ code;
// adc _ code.by.te3
byte 3
output _ low(CS);
// Enable LTC2484 SPI interface
while(input(PIN _ C4)) {}
// Wait for end of conversion. The longest
// you will ever wait is one whole conversion period
// Now is the time to switch any multiplexers because the conversion is finished
// and you have the whole data output time for things to settle.
adc _ code.by.te3 = 0;
// Set upper byte to zero.
adc _ code.by.te2 = spi _ read(config);
// Read first byte, send config byte
adc _ code.by.te1 = spi _ read(0);
// Read 2nd byte, send speed bit
adc _ code.by.te0 = spi _ read(0);
// Read 3rd byte. ‘0’ argument is necessary
// to act as SPI master!! (compiler
// and processor specific.)
output _ high(CS);
// Disable LTC2484 SPI interface
// Clear configuration bits and subtract offset. This results in
// a 2’s complement 32 bit integer with the LTC2484’s MSB in the 2^20 position
adc _ code.by.te0 = adc _ code.by.te0 & 0xF0;
adc _ code.bits32 = adc _ code.bits32 - 0x00200000;
return adc _ code.bits32;
} // End of read _ LTC2484()
相關(guān)PDF資料
PDF描述
LGU2W680MELY CAP ALUM 68UF 450V 20% SNAP
EVAL-AD5516-1EBZ BOARD EVAL FOR AD5516-1 2.5V
EBA22DRMN CONN EDGECARD 44POS .125 SQ WW
SDR0302-330KL INDUCTOR POWER 33UH 0.42A 0302
EVAL-AD5516-2EBZ BOARD EVALUATION FOR AD5516-2
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DC940KB-GB 制造商:DEWALT 功能描述:DRILL 12V
DC941A 功能描述:BOARD DELTA SIGMA ADC LTC2482 RoHS:是 類別:編程器,開(kāi)發(fā)系統(tǒng) >> 評(píng)估板 - 模數(shù)轉(zhuǎn)換器 (ADC) 系列:Easy Drive™, QuikEval™ 產(chǎn)品培訓(xùn)模塊:Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:1 系列:- ADC 的數(shù)量:1 位數(shù):12 采樣率(每秒):94.4k 數(shù)據(jù)接口:USB 輸入范圍:±VREF/2 在以下條件下的電源(標(biāo)準(zhǔn)):- 工作溫度:-40°C ~ 85°C 已用 IC / 零件:MAX11645 已供物品:板,軟件
DC945KB 制造商:DEWALT 功能描述:DRILL KIT CORDLESS 12V
DC945KB-GB 制造商:DEWALT 功能描述:DRILL 12V
DC-9-500-2.1P 制造商:SR COMPONENTS 功能描述: 制造商:SR Components Inc 功能描述: