Post Go back to editing

Getting Noisy sine wave after Capturing Data

Category: Hardware
Product Number: AD9642

Hi,

I am using ad642 in my design , I am getting this kind of sinewave. The procedure I followed is, first  have established spi configuration, read and write of spi is working properly and i have used spi clock 25Mhz.So as mentioned in data sheet , i checked with user pattern and its coming fine, and when checking ramp data that is also coming bit fine but with spikes, after adding dco delay it was fine. But the problem is when i am feeding the analog signal at the input and when we read the data with writing to 0x0d0. And also i am changing the dco delay with register value 0x017 , with delay 0x1790 and 0x1001 and 0x180f with these register values ,I am getting the waveform which is given below, not getting proper sinewave .

Thanks in advance.

Parents Reply Children
  • Hi JAlipio,

    Thanks for the reply, Please find the configuration settings of ADC in below text file,sine wave what we are getting in ILA.

    .

     ADC_Config_Data   <= 	                   --X"00003C" 	when 0,		-- Reset
    					    X"800000"             when 0,		-- Read   
    					    X"800100" 	          when 1,		-- Chip ID
    					    X"800200"             when 2,
    					    X"800B00"             when 3,
    					    X"00ff01"             when 4,	
    					    X"0019EA"             when 5,	--pattern 1(7:0)
    					    X"00ff01"             when 6,
    					    X"001AA8"             when 7,	 --pattern 1(15:8)
                                                X"00ff01"             when 8,
     					    X"001BEA"             when 9,	 --pattern 2(7:0)
                                                X"00ff01"             when 10,
    					    X"001CA8"             when 11,	 --pattern 2(15:8)
                                                X"00ff01"             when 12,					   
    					    X"001DEA"             when 13,	 --pattern 3(7:0)
                                                X"00ff01"             when 14,
    					    X"001EA8"             when 15,	 --pattern 3(15:8)
    					    X"00ff01"             when 16,
    					    X"001FEA"             when 17,	 --pattern 4(7:0)
                                                X"00ff01"             when 18,
                                                X"0020A8"             when 19,       --pattern 4(15:8)
                                                X"00ff01"             when 20,
                                                vio_user_data         when 21,     --through vio i am writing0 as user data
                                                X"00ff01"             when 22,
                                                X"800D00"             when 23,
                                                vio_dco_delay_wr      when 24,	--through vio i am writing X"001790" as  dco delay
                                                X"00ff01"             when 25,				  
    					    vio_dco_delay_rd      when 26,	--through vio i am writing X"001001"
    					    X"00ff01"             when 27,	
                                                vio_spi_normalwrdata  when 28,   -- through vio i mam writing X"00180f" max input span
                                                X"00ff01"             when 29,                  
                                                vio_spi_normalrddata  when 30,    - through vio i am writing X"000d00" capture normal data
                                                X"00ff01"             when 31,
                                                vio_spi_wrdata        when 32,
                                                X"00ff01"             when 33,
                                                vio_spi_rddata        when 34, 
                                                X"00ff01"             when 35,   
                                                X"000000"             when others;    
      
      

  • Hi JAlipio,

    Any update on this!

    please help us on this issue!

  • Hi ,

    I shared Configuration setting and image of sinewave! Please help us on this!