Quantcast
Channel: Data converters forum - Recent Threads
Viewing all 5988 articles
Browse latest View live

ADS7953: SPI not working manual mode

$
0
0

Part Number:ADS7953

Dear Sir/Madam,

I have used ADS7953 ADC to read 16CH input of voltage range 0V to 5V.  VA+ = 5V, VBD = 3.3V , REFP = 2.5V  and REFM = 0V (GND). 

On board I have constant voltage source generating 4.096V (U10 in schematic) and connected to CH11 input of ADC. The host controller is RPI model 3B+.

The problem is on configuring the ADC to manual mode, I have to read CH11 to get 4.096V. But here I get 0 value on MISO line ( it is in tri-state even after pull up to 3.3V using 4.7KE). 

Schematic - 

(Please visit the site to view this file)

Oscilloscope capture - (CH1 - MOSI - Yellow) (CH2 - MISO - BLUE) (CH3- SCK - PINK) (CH4 - CS# - GREEN)

IMAGE1 - shows only one frame

IMAGE2 - Shows 3 frames

IMAGE3 - Shows two frames in detail.

Program ADC program - 

def build_adc_command(mode, en_prog, next_channel, vref_change, operation, channel_gpio, gpio_dat):
    command = ((mode & 0x0F) << 12) | ((en_prog & 0x01) << 11) | ((next_channel & 0x0F) << 7) |\
              ((vref_change & 0x01) << 6) | ((operation & 0x01) << 5) | ((channel_gpio & 0x01) << 4) |\
              (gpio_dat & 0x0F)
    # print(command)
    return [((command >> 8) & 0xFF), (command & 0xFF)]

NUM_CH = 16

if __name__ == '__main__':
    adcValues = [0 for i in range(NUM_CH)]
    spi = spidev.SpiDev()
    spi.open(0, 1)
    spi.max_speed_hz = 1000000
    spi.mode = 0b11
    spi.cshigh = False
    spi.lsbfirst = False
    spi.bits_per_word = 8
    spi.no_cs = True
    GPIO.setmode(GPIO.BOARD)
    GPIO.cleanup()
    # setmode to input
    # setmode to output
    GPIOsetup(26, GPIO.OUT)
    reset = False

    while 1:
        try:
            time.sleep(0.25)  # 10 hz output
            # 0b00011101
            # 0b10000000
            # for ch in range(0, 7):
            # spi.xfer([0b00011101, 0b10000000])
            if reset is False:
                GPIO.output(26, GPIO.LOW)
                time.sleep(0.01)
                adcValues = spi.xfer2([0x42, 0x0f])
                time.sleep(0.001)
                GPIO.output(26, GPIO.HIGH)
                reset = True
            time.sleep(0.001)
            GPIO.output(26, GPIO.LOW)
            adcValues = spi.xfer2(build_adc_command(0b0001, 0b1, 0b1011, 0b1, 0b0, 0b1, 0b0000))
            print("xfer return Values 1 = ", adcValues)
            time.sleep(0.001)
            GPIO.output(26, GPIO.HIGH)
            time.sleep(0.001)
            GPIO.output(26, GPIO.LOW)
            adcValues = spi.xfer2(build_adc_command(0b0001, 0b1, 0b0001, 0b1, 0b0, 0b1, 0b1111))
            print("xfer return Values 2 = ", adcValues)
            time.sleep(0.001)
            GPIO.output(26, GPIO.HIGH)
            time.sleep(0.001)
            GPIO.output(26, GPIO.LOW)
            adcValues = spi.xfer2(build_adc_command(0b0001, 0b1, 0b0010, 0b1, 0b0, 0b1, 0b0000))
            print("xfer return Values 3 = ", adcValues)
            time.sleep(0.001)
            GPIO.output(26, GPIO.HIGH)
            time.sleep(0.001)
            GPIO.output(26, GPIO.LOW)
            adcValues = spi.xfer2(build_adc_command(0b0001, 0b1, 0b0011, 0b1, 0b0, 0b1, 0b1111))
            print("xfer return Values 4 = ", adcValues)
            time.sleep(0.001)
            GPIO.output(26, GPIO.HIGH)
        except KeyboardInterrupt:
            break

 

After going through above information, my problems are

1. ADC MISO pin always in tri-state even giving pull up.

2. Is the command sent are correct?

3. Not even junk data coming from MISO pin.

Kindly provide a solution at the earliest. 


DDC264EVM: Software installation link

$
0
0

Part Number:DDC264EVM

hello everybode

 

I want to use my DDC264EVM but the software link doe's not exist.

anyone has an active link for this software?

 

Thanks

AFE5809: AFE5809

$
0
0

Part Number:AFE5809

Hi,

In datasheet, the clock synchronizer to be used is mentioned as LMK04x.

Can you specify the full part numbers which can be used with AFE5809 for providing sampling clock.

ADS114S08EVM: How to use Delta-Sigma ADC EvaluaTIon Software

$
0
0

Part Number:ADS114S08EVM

Hello, 

I have a question about How to use Delta-Sigma ADC EvaluaTIon Software.

Q1: How do I work with Software to read Data by  RDATA commands? 

I use the Console Tab's Device Commands: READDATA to read data.
At that time, I observed the signals of DRDY, CS, SCLK, DIN, DOUT, but it seemed that I was executing Read Data Direct.

Q2: Please tell me the unit of wait of Scripts Tab.

Best Regards,

Kaede Kudo

ADS1118-Q1: ADS1118 waiting time between Channels

$
0
0

Part Number:ADS1118-Q1

How long needs to be waited before ADS1118 ready of next channel conversion(or integrated temperature sensor)?

ADC sourcing and sinking current

$
0
0

What is sourcing and sinking current of ADC  in PGA970 EVM kit.

ADS8668EVM-PDK: Is it possible to connect evm with rasberry pi

$
0
0

Part Number:ADS8668EVM-PDK

need to talk to ads8668 from raspberry pi over spi. Need help regarding what changes has to be made on evm to use external processor.

Any help is appreciated.

ADS52J90: Input CLK and Sysref Requirements

$
0
0

Part Number:ADS52J90

Currently I have a ADS52J90 that's connected to a Xilinx Ultrascale+ SOC and LMK04828 clock chip. 

We're trying to debug our setup as we can't get valid data. We're using the Jesd204b IP core and we get gt_rxnotintable being high no matter what settings we use. And during the all comma test for register 0x4A we don't get continuous comma detection on the FPGA side.

I'm trying to confirm my clock / sysref setup and would like some advice. I've look at the datasheet and the EVM datasheet http://www.ti.com/lit/ug/slau632b/slau632b.pdf, and everything wrt the clock is different. I followed the EVM schematics for clock and sysref clk chip -> 0.1uF series caps -> 100 ohm termination between p and n -> ADC. 

We've tried a number of combinations for clock type from the LMK04828 for both sysref and device clock , LVDS, LCPECL, LVPECL, we see the results change but nothing that gets us valid frames vs notintable bits.

I've also tried 10nF caps vs 100nF caps, no difference. I've tried a series resistor vs 0.1uF on the SYSREF but that also didn't change anything. 

We've played around with pre-emphasis settings as well with no effect.

We're running SYSREF @ 15 MHZ and and device clock @ 80MHz. 

Is there something that we're missing? 

Thanks,

Patryk


AFE5809EVM: Error

$
0
0

Part Number:AFE5809EVM

Hi Ti,

Today two errors pop up when I am openning the AFE5809evm GUI, I connect the USB cable to my pc and the eval mode and I do not have any idea how to fix it, also I open FT PROG to visualize the AFE5809evm and this app found it.

I will show you guys all in pictures,

another thing that I saw is, the current consumption of +5V is about 0.92A on the other hand -5v is 0.1, is too much difference.

hopping you can help me guys

Regards,

Mateo

DAC161S997: How to connect the HART modem

$
0
0

Part Number:DAC161S997

Dear team,

When using the DAC161S997 to achieve 4-20mA current output and HART communication (with AD5700). Could you please help check whether the connection is right? Especially the HART connection part.

Thanks & Best Regards,

Sherry

DAC38J84EVM: sync to external measurement equipment

$
0
0

Part Number:DAC38J84EVM

Hi kang,

Than you for your previous help. I've improved the low frequency response of the outputs and I want to check the signal quality over a period of time. Could you please let me know how to connect an external 10MHz reference to the EVM (ie I want to sync with my scope to measure the outputs). I've tried the step lists at page 15 of the EVM manual

"Clock Generator using External Reference The LMK04828 is used a clock generator using an external reference provided to the CLKIN SMA connector (J17). For this option, R177, C206, and C121 should be uninstalled and R185, R186, and C92 should be installed. JP2 can be left open to turn off the onboard VCXO to avoid crosstalk. This option allows a wider frequency range of generated clock frequencies only limited by the VCO frequency ranges of the LMK04828 (see LMK04828 datasheet (SNAS605) for VCO frequency ranges). The possible clock outputs are an integer division of the VCO frequency with a maximum division of 32. PLL1 of the LMK04828 is bypassed in this mode"

but it didn't work. Did I miss anything? The GUI shows errors and all PLLs are out of lock.

Best wishes,

Kelly

ADS127L01: ADS127L01 difference between acquisitions

$
0
0

Part Number:ADS127L01

Hi,

I'm experiencing a problem with these ADS127L01.

I have 8 adc connected in spi daisy chain, each one isolated from the others, with the same exact circuit and pcb

layout.

Master clock 256khz, 8kssp acquisition.


Running an acquisition for example on the first 2 channels with 0.5857V (measured directly on the adc inputs pin

with a 40000count multimeters)  I obtain two different results:

ch1....0x1DDE11

ch2....0x1E2F05


Reference voltage measure exactly the same 2.4996V.

CRC calculation seem to be ok.


I tried also phisically connect togheter the input of the two adc and connect them to same reference but the

difference between acquisitions remain the same.

Registers of the adc are all at their default state.


The difference between acquisitions increase at the rising of  the voltage at the adc input pin; I experience the

maximum difference of acquisition close to max 2.5V and almost zero difference for example at 0.1V input.

The difference is present on all the channels, I wrote about ch1 e ch2 only for reference. All the acquisitions are really really stables.



I attached adc part of the schematics, please check


Thanks

Best Regards

DAC38RF89: Looking for a process to cover transmitter pre and post cursor EQ settings using EQOVER and EQUNDER

$
0
0

Part Number:DAC38RF89

The description in the datasheet sound like the device indicates too much or too little but need to isolate which is the problem.  On some lanes see that both EQOVER and EQUNDER are asserted (other lane are fine).  We have the DAC configured to assert SYNC upon data error ... and that tends to happen ~30 minutes. 

ADS124S08EVM: ADS124S08EVM

$
0
0

Part Number:ADS124S08EVM

Hello Bob:

 

I hope all is well with you. I have been using the Eval board to test out some of our new sensor designs and are happy with its performance. During the last few days, I have been working on having the ADC on the eval board communicate with our Nordic MCU via the SPI bus on J3. However, I have not been able to read any register value from the ADC although I am using Mode 1, and shorted JP1 to hold the onboard MCU in reset. I also can see on the scope the clk and MOSI signal but I receive nothing on the MISO signal. Also the CS functions as it should where it goes low during a read or write. I have tried 1, 4, and 8 MHz bus speeds. I am trying to just read the status register. I have run out of things to check and your time and effort will be greatly appreciated in helping me get to the bottom of this issue. Am I missing something? Please feel free to call me if possible as I am running out of time to get this issue resolved.

 

561-350-6939

Regards,

ADS54J40EVM: CAD Models for Board?

$
0
0

Part Number:ADS54J40EVM

Are there any CAD models for the ADS54J40 Evaluation Board Assembly? A 3D model with components would be excellent. 

Thanks in advance,

Tommy


ADS8588H: Integrated PGA and ADC with higher bandwidth

$
0
0

Part Number:ADS8588H

my customer is looking for an ADC, the ADS8588 or ADS8688 look an almost ideal spec except for the integrated 16 kHz LPF – they ideally would like a bandwidth around 50-100kHz. I’ve looked through the TI parts list and unfortunately can’t find a device which integrates PGA and ADC with higher bandwidth, just wanted to check I hadn’t missed something?

TINA/Spice/ADS1263: What is the more important thing for ADC chip, SNR or RMS noise?

$
0
0

Part Number:ADS1263

Tool/software:TINA-TI or Spice Models

Why do some ADC  datasheet give signal-to-noise ratio (SNR) dB values, such as ADS1271, while others only give RMS noise values, such as ADS1263

What is the more important thing for ADC chip, SNR or RMS noise?

ADS131A02: ADS131A02-Failed to read ADC conversion data

$
0
0

Part Number:ADS131A02

Hi Team,

The customer is experiencing below issue and needs your help.

Code: ADC conversion data read function

void Read_ADC_Data(uint8_t *pBuffer, uint8_t Num_Byte)

{

uint8_t channel_1,channel_2;

uint32_t receive_status;

ADS_DRDY_LOW();

SPI2_CS_LOW();

receive_status =  (uint32_t) ADS131A02_Write_CMD(ADS_CMD_NULL);

pBuffer[0] = (uint8_t ) (receive_status>>24);// 4-byte status response

pBuffer[1] = (uint8_t ) (receive_status>>16);

pBuffer[2] = (uint8_t ) (receive_status>>8);

pBuffer[3] = (uint8_t ) (receive_status&0X0000FFFF);

for(channel_1=4; channel_1<(Num_Byte-4); channel_1++)  pBuffer[channel_1] = SPI2_Write_Read(0X00);

for(channel_2=8; channel_2<Num_Byte; channel_2++)  pBuffer[channel_2] = SPI2_Write_Read(0X00);

delay_ms(1);

SPI2_CS_HIGH();

ADS_DRDY_HIGH();

}

Question: Customer is using a 32-bit data format with CRC and Hamming disabled. After the initialization is completed, the channel conversion data is read. Totally there are12 bytes (4-byte status response, 4-byte channel 1 conversion data, 4-byte channel 2 conversion data). Why is the 4 bytes of the status 0X2274 normal, and the remaining 8 bytes of channel data is 0?

Thanks.

ADS7951: What to do with unused analog pins (ADC input)

$
0
0

Part Number:ADS7951

Hi,

What should I do with the unused analog pins (ADC inputs) for ADS795x? Should I ground them directly, tie them to supply directly? Pull up or down through resistors? Connect to capacitors? Etc...

Please advise and thanks in advance.

TPL0102-100: TPL01201-100 confirm schematic

$
0
0

Part Number:TPL0102-100

Dear,

we first time use TPL01201-100, could double confirm below schematic.

also we will check resistance will remove R1628

If any suggestion, Please advise me.

Thanks,

Best regards,

Lawrence.

Viewing all 5988 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>