Quantcast
Channel: Data converters
Viewing all 88734 articles
Browse latest View live

Forum Post: ADS1220: TM4C129ENCPDT - SPI with ADS1220 register read back issue

$
0
0
Part Number: ADS1220 Hi, I am just a beginner to the SPI protocol, I am trying to program TM4C controller using CCS IDE and EK-TM4C129-EXL Board to interface the ADS1220 ADC. I have tested SPI interface in loop back and it is happening, The configurations i have used for spi and communicating to ADC is listed below, register read back is not happening from the ADC, I request you for some help to troubleshoot the issue. Thank you ////////////////////////////////////////////////////////////////////////////////////////////////////////// SPI configuration Interrupt_flag = 0xFF; // set flag initially #if defined(TARGET_IS_TM4C129_RA0) || \ defined(TARGET_IS_TM4C129_RA1) || \ defined(TARGET_IS_TM4C129_RA2) #endif ui32SysClock = MAP_SysCtlClockFreqSet((SYSCTL_XTAL_25MHZ | SYSCTL_OSC_MAIN | SYSCTL_USE_PLL | SYSCTL_CFG_VCO_480), 120000000); // Set the clocking to run directly from the crystal at 120MHz. SysCtlPeripheralEnable(SYSCTL_PERIPH_SSI0); SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOA); GPIOPinConfigure(GPIO_PA2_SSI0CLK); GPIOPinConfigure(GPIO_PA3_SSI0FSS); GPIOPinConfigure(GPIO_PA4_SSI0XDAT0); GPIOPinConfigure(GPIO_PA5_SSI0XDAT1); GPIOPinTypeGPIOInput(GPIO_PORTA_BASE, GPIO_PIN_6 ); // Interrupt GPIOPinTypeSSI(GPIO_PORTA_BASE, GPIO_PIN_5 | GPIO_PIN_4 | GPIO_PIN_3 | GPIO_PIN_2); #if defined(TARGET_IS_TM4C129_RA0) || \ defined(TARGET_IS_TM4C129_RA1) || \ defined(TARGET_IS_TM4C129_RA2) SSIConfigSetExpClk(SSI0_BASE, ui32SysClock, SSI_FRF_MOTO_MODE_1, SSI_MODE_MASTER, 1000000, 8); #else SSIConfigSetExpClk(SSI0_BASE, SysCtlClockGet(), SSI_FRF_MOTO_MODE_1, SSI_MODE_MASTER, 1000000, 8); #endif ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// ADC configuration SSIEnable(SSI0_BASE); SSIDataPut(SSI0_BASE, ADC_Reset); // Resetting the ADC Delay_ms(1); // definite delay pui32DataTx[0] = 0x43; // WREG command to write register pui32DataTx[1] = 0x01; // Register0 data value pui32DataTx[2] = 0xD4; // Register1 data value pui32DataTx[3] = 0x00; // Register2 data value pui32DataTx[4] = 0x00; // Register3 data value for(ui32Index = 0; ui32Index < 5; ui32Index++) { SSIDataPut(SSI0_BASE, pui32DataTx[ui32Index]); } while(SSIBusy(SSI0_BASE)) { } Delay_ms(1); SSIDataPut(SSI0_BASE, 0x23); // Read register while(SSIBusy(SSI0_BASE)) { } for(ui32Index = 0; ui32Index < 4; ui32Index++) { SSIDataGet(SSI0_BASE, &pui32DataRx[ui32Index]); pui32DataRx[ui32Index] &= 0x00FF; } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Forum Post: TVP5158: Video artifacts at temperatures below -30 degrees Celsius

$
0
0
Part Number: TVP5158 Hi All, We have an issue with the TVP5158 in our custom CCA design. When the temperature dips below -30 degrees Celsius we start seeing line artifacts on the video. I've attached a couple of examples. We've verified that the reset sequence is being followed and we are applying the 2.3.2 patch just in case. The issue has been narrowed down to the decoder by verifying the input signals look good at the pin. And the output looks good if the blue loss of sync test pattern is being applied. Only when it starts processing input video do we see the artifacts (including a blue test pattern from a generator). The issue won't go away unless we reset the chip or power cycle the board. Even if we bring the temperature back up, the video still shows the corruption. We've also seen this on multiple boards, so we're pretty sure it's not just a one off part or PWB issue. Along with the patch, we modify the following registers to configure the part to our use case. NAME, REGISTER, VALUE TVP5158 _DECODER_WREN, 0xFE, 0x0F TVP5158 _AVD_OUT_CTRL_1, 0xB0, 0x60 TVP5158 _AVD_OUT_CTRL_2, 0xB1, 0x17 TVP5158 _POWER_CTRL, 0x1A, 0xF0 TVP5158 _OUTPUT_FORM_CTRL_1, 0xA8, 0x04 TVP5158 _OUTPUT_FORM_CTRL_2, 0xA9, 0x44 TVP5158 _BLUE_SC_Y_CTRL, 0x90, 0x29 TVP5158 _BLUE_SC_CB_CTRL, 0x91, 0xF0 TVP5158 _BLUE_SC_CR_CTRL, 0x92, 0x6E TVP5158 _OFM_MODE_CTRL, 0xB2, 0x25 TVP5158 _BRIGHTNESS_CONTRAST_RANGE, 0x12, 0x13 I'm hoping that only a simple register tweak is all we need to fix this! Thanks for your help in advance! Jason

Forum Post: PGA450Q1EVM: I had programmed the PGA450EVM-S using the GUI .Now i want to use it into an application where it needs to be interfaced with to msp430 and programmed using the energia.

$
0
0
Part Number: PGA450Q1EVM I had programmed the PGA450EVM-S using the GUI .Now i want to use it into an application where it needs to be interfaced with to msp430. I understand that the product is specifically launched for applications like car parking and stuffs and my application is same as that. Let my clearly explain my requirement clearly ,so that someone can help me. I want to make a kind of parking aid for cars. Whenever an obstacle less than 1 metre is detected ,it starts beeping and as the car moves still backwards ,the intensity of the beep sound increases. For this ,following was my plan but doesn't work. I used msp430fr6989 launchpad and tm4c1294 launchpad in my application. Buzzers were used to create a simple alarm. A switch for turning on my application. I planned to use the TIDA-00151 ultrasonic sensor since it is more accurate and detects long distance. I programmed it with the help of GUI. I followed all the steps in the datasheet and it was great that it worked while testing. According to the datasheet,i observed the readings in the UART test tab .Then based on those readings ,i calculated the tof and then the distance .To my surprise it showed me correct distance readings. Everything worked fine . Now the sensor needs to be interfaced with any energia compatible microcontroller launchpad..example:msp430,tm4c1294 and i am clueless on my next step Please help me , I made few attempts : connected the tx and rx pins of the sensor with the rx and tx pins on the uart of msp430 and tm4c1294. Then i coded the micro controller with the help of the energia . I uploaded the following code and opened the serial monitor.My objective was to receive the MSB and LSB and the uart checksum value but it deliberately failed.Even i think the UART connection failed. void setup() { Serial5.begin(19200); Serial.begin(9600); } void loop() { int sensor1; byte message[] = {0x00,0x55,0x11,0x02,0x00 }; Serial5.write(message, sizeof(message)); sensor1=Serial5.read(); Serial.print(sensor1); Serial.println(); } 5th and the 8th pin on the tm4c1294 are the UART 5 as per the tm4c1294 datasheet. I have never before worked on UART.

Forum Post: matlab code to calculate SNR,SNDR,THD SFDR

$
0
0
Hi all, I want to simulate SFDR,SNR,THD and SINAD Parameter for Precision and High-Speed Series ADC TI with Matlab. I Need matlab code to calculate its. I appreciate any helps ;)

Forum Post: RE: ADS1220: TM4C129ENCPDT - SPI with ADS1220 register read back issue

$
0
0
Hi Kurian, It is always best to verify proper communications by observing the communication on an oscilloscope or logic analyzer. One consideration relates to the data length of the SPI peripheral. If you use the SS portion of the SPI peripheral, the SS will only stay low for the length of communication buffer. This may be 8 bits, 16 bits or 32 bits. For the ADS1220 the CS (SS) must stay low throughout the entire communications transaction. It is often better to control the SS manually by GPIO control. You can verify by one of the methods stated at the beginning. Best regards, Bob B

Forum Post: RE: ADS8568: ADS8568 stops responding to CONVST

$
0
0
Hi Marko, Your value(0x800080ff) is setting all input voltage range to 4 VREF, also you are selecting Internal reference voltage to 2.5 V(Bit 13), so your HVDD and HVSS should be higher than +10V and less than -10V, but you are using +/-5V as HVDD/HVSS power supplies, +/-12V is a good choice for your case(+/-10V range), also D[9:0]: REFDAC setting bits should be set to 0x3FF to get 2.5V reference voltage. Please correct them. When Bit 30=1, Configuration register contents output on SDO_A with next two accesses, this is one way to check the register. Thanks. Regards Dale

Forum Post: ADS54J60: Data sampled from ads54j60 is wrong,need you suggestion.

$
0
0
Part Number: ADS54J60 The LMFS I us is 8224, and the clock to adc is 1000MHz,the sine wave is 1MHz The sync is high . The FPGA can receive data. But the data is wrong. the entire ADC register file is below. 0x0000 => 0x81; 0x0011 => 0x80; 0x0059 => 0x20; 0x4003 => 0x00; 0x4004 => 0x68; 0x60f7 => 0x01; 0x6000 => 0x01; 0x6000 => 0x00; 0x4003 => 0x00; 0x4004 => 0x69; 0x6000 => 0x80; 0x6006 => 0x0f; The LMK output is right .the sysref is 15.625MHz. any body can give me any suggestion

Forum Post: DAC081C081: DAC081C081

$
0
0
Part Number: DAC081C081 HI, i have bus i2c whith DAC081C081 and ADS1015 the DAC081C081 have address D (hex) and ADS1015 have 49 (HEX) , The master is micro-pc linux whit s.o OpenWrt. THE PROBLEM : If i write on DAC081C081 register i have not problem (exsample if write value FF (hex) i have in VOUT 3.3v), but after i read the ADS1015 (i read the right value from ads1015 ) the VOUT of DAC081C081 go down to 0,109 V ????? and after if read the value of register of DAC081C081 the value is changed ??? FABRIZIO

Forum Post: CCS/ADS1278EVM-PDK: Could you give me a copy of MMB0 source code (ADS1278EVM-PDK), and a copy of firmware?

$
0
0
Part Number: ADS1278EVM-PDK Tool/software: Code Composer Studio Hi, Could you give me a copy of MMB0 source code ( ADS1278EVM-PDK ), and a copy of firmware? my email address: wangzhengliang@126.com zhengliang wang

Forum Post: ADC08200: ADC08200

$
0
0
Part Number: ADC08200 Hello, We are using the ADC08200 device with 160MHz signals sampled with an FPGA device. This means that the period is 6.25nsec. I would like to better understand the timing specified for this device. There are 2 values specified in the datasheet: tOD and tOH. If the maximum tOD is 5.1nsec, does that leave only 1.15nsec for sampling? How do you calculate the valid "eye" for sampling relative to the inoput clock? Thank you, Svetlana.

Forum Post: RE: ADS124S08: Can the REFOUT/REFCOM pins be used as a third reference sense input?

$
0
0
Hi Rick, In short, REFOUT and REFCOM for the ADS124S08 relate specifically to the internal reference for noise reduction and stability as well as provide an output connection to be used as an external 2.5V source. The IDAC reference is established by the internal reference, so the internal reference must be turned on to use the IDACs. This is discussed in the datasheet in section 9.3.3.1. REFCOM should connect to AVSS, which in the case of a unipolar supply should be analog ground. You have an interesting idea about using the REFOUT pin as a reference input, but unfortunately that cannot work as the mux input for the reference also gates the internal reference to being turned on. I'm not sure which forum post you are referring to written by Joseph Wu, so please include the link or show me a schematic or drawing of your proposal. Best regards, Bob B

Forum Post: RE: PGA450Q1EVM: I had programmed the PGA450EVM-S using the GUI .Now i want to use it into an application where it needs to be interfaced with to msp430 and programmed using the energia.

$
0
0
Hi Hariram, Your issue is likely hardware related and due to the direct logic level incompatibility between the LaunchPads and PGA450-Q1 . The PGA450-Q1 UART channel requires 5.0V logic level, but the LaunchPads can only operate at 3.3V logic level. You have most likely connected and programmed everything correctly, but still need a logic level covert for 3.3V 5.0V logic level shifting between the PGA450-Q1 TXD to LaunchPad RXD, and PGA450-Q1 RXD to LaunchPad TXD. TI sells bi-directional level shifters specifically for UART, such as the TXS0102 .

Forum Post: RE: PGA450Q1EVM: PGA450EVM-S

$
0
0
Please see my response to this same question at: e2e.ti.com/.../2234521

Forum Post: RE: ADS1248: External input resistance value

$
0
0
Joseph-san, Thank you so much for your confirmation and reply! I understood. Best Regards,

Forum Post: TLV320AIC3104: deactivating AIC3104 connected to cc8520

$
0
0
Part Number: TLV320AIC3104 HI, I have a board that uses the purepath cc8520 wireless transceiver with the AIC3104 as a codec. I would like to send a digital music signal from another board that supports I2S to the cc8520 transmitter. I was thinking to simply cut the power off of the AIC3104 and connect the I2S wires to the cc8520 or is there a easier way to deactivate AIC3104 or at least the I2S protocol through the purepath configurator? After successful testing, I would of course make a new board with the proper integration of the new codec chip. Thanks for your support. Roger

Forum Post: RE: ADS8363: Channel info and Counter info in the pseudo-differential mode

$
0
0
Hi Bryan, Thank you. Please let me ask about writing ADC/channel address to ADC via SDI line. Which register should we write to? Also how can I get that information then? Regards, Koji Hamamoto

Forum Post: DAC3484: Maximum fDATA

$
0
0
Part Number: DAC3484 Hello, We need to run each digital channel of the DAC3484 at 200MSps (i.e., between the FPGA and DAC) with the interface being word wide mode (i.e., one sample each for the 4 DAC channels is sent in two clock cycles of the data clock). This leads to running the LVDS interface (fDATA) between the FPGA and DAC at 400MSps (two clock cycles carry 4 samples on both rising and falling edges (DDR-LVDS). The datasheet on Pg 15 says that fDATA is max 312.5MSps. Is this per channel or is to for the total interface? If we look at the datasheet of the DAC3482 (2 channel version instead of 4) then on Pg 15 it is mentioned that the max fDATA is 625MSps in word wide mode and 312.5 in byte wide mode. Please advise and thank you for helping us out, Regards, SM

Forum Post: RE: Sample Source Code for ADS8688 ADC

$
0
0
Dear Dale, It would be greatly appreciated if you can send me a sample code for the ADS8688 to hgkhoi@yahoo.com.vn Best regards, Khoi.

Forum Post: ADS1298ECGFE-PDK: Anti-aliasing filter coefficients for EEG and EMG implemetaions

$
0
0
Part Number: ADS1298ECGFE-PDK Hello Ti Community, I am working on a project for acquiring ECG, EMG and EEG signals using ADS1298 and TMS320C5515 DSP. I purchased ADS1298ECG-FE and C5515 DSP EVM. I am referring the document "ADS1298-based ECG Implementation on C5515 DSP Medical Development Kit" aka sprabj1.pdf . I am using the Anti aliasing filter in the code, ADS1298_ECGSystem_C5515EVM.zip , given in the document for ECG implementation. The following are the coefficient of the anti-aliasing filter (LPF) of order 51 for ECG implementation. So can anyone help me getting the anti aliasing filter (the low pass filter) coefficients for EEG and EMG implementation too.

Forum Post: RE: ADS54J60EVM: ADS54J60EVM

$
0
0
Dear Jim, I have been encountered the same problem. Above link can not access now. Could you please provide v1p6? Regards, Kei
Viewing all 88734 articles
Browse latest View live


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