AnsweredAssumed Answered

HSC-ADC-EVALDZ setup issues

Question asked by sujeeva on Jan 21, 2015
Latest reply on Mar 17, 2015 by DougI

 

My customer has the following issues with the dev board setup

 

Below is a description of the few issues which I am seeing. Please let me know if you can think of anything to try or things to read. Do you think it would make sense to try with a different ADC eval board, would you have any laying around we could borrow for the debug phase?

 

 

 

  1. Data capture is always a saw tooth wave ( see ‘FFT data capture.JPG’ ). This seems to be some sort of a test pattern generated by the FPGA, since it does not depend on the ADC board being clocked or powered. Only thing to stop the capture from working is to reset the FPGA device using the push button. ( config_done led goes OFF )
    1. This is captured using the default FFT canvas which all the documentation refers. See ‘adc data capture.JPG’

    2. The VisualAnalog software automatically detects the correct ADC part and the clock frequency. FPGA config_done LED turns on after opening the software.
    3. SPI interface to the ADC seems to work ok. I can use the SPI controller software to read version numbers and set controls, no effect on the data capture though.
    4. Drivers seem to be installed ok. See driver.JPG
  2. visualAnalog software crashes every time when I select Tool -> Options… ( see ‘error msg.JPG’). Attached is also the details for the error msg, ‘error details.txt’) I would have like to investigate if the FPGA has a correct binary file loaded, but as this is set to auto load on opening the VisualAnalog SW.
    1. I have tried on my laptop and a lab PC both running windows 7 with service pack 1.

    2. Have tried with different versions of .NetFramework. My laptop has v4.5 and on the lab PC I installed v3.5 + service pack as recommended by the installer SW as prequisitives. No difference.
  3. Digital data outputs from the ADC device don’t look too good when using 80 MHz sampling clock. If I drop the sampling clock to 20 MHz it gets better.
    1. See ‘DO_20Mhz sampling clock.jpg’  and ‘DO_80Mhz sampling clock.jpg’ for plots

    2. The clock output DCO looks ok even at 80 MHz
    3. Clock input is 13 dBm from a signal generator.
    4. On board oscillator is OFF

  

 

 

Any suggestions and investigations are welcome. Hopefully this is a small configuration or installation issue on my part and can be sorted out quickly.

 

Sujeeva

Avnet FAE

 

 

adc data capture.JPG

 

20MHz sampling clock

 

 

DO_80Mhz_sampling clock.jpg

80 MHz sampling clock

DO_80Mhz_sampling clock.jpg

Driver

driver.JPG

FFT data capture

FFT data capture.JPG

 

Errors

ee the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at VisualAnalog.frmMain.showLog_SettingsChange()
   at BaseBlockControls.userSettingsContainer.refreshViewsEventHandler.Invoke()
   at BaseBlockControls.userSettingsContainer.propogateChanges()
   at BaseBlockControls.userSettingsContainer.set_nodeSizem(Size value)
   at VisualAnalog.frmOptions.setNodeSizeSmall(Object sender, EventArgs e)
   at System.Windows.Forms.RadioButton.OnCheckedChanged(EventArgs e)
   at System.Windows.Forms.RadioButton.set_Checked(Boolean value)
   at VisualAnalog.frmOptions..ctor()
   at VisualAnalog.frmMain.mnuOptions_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
VisualAnalog
    Assembly Version: 1.9.45.61
    Win32 Version: 1.9.45.61
    CodeBase: file:///C:/Program%20Files%20(x86)/Analog%20Devices/VisualAnalog/VisualAnalog.exe
----------------------------------------
CustomForms
    Assembly Version: 1.6.3.0
    Win32 Version: 1.6.3.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Analog%20Devices/VisualAnalog/CustomForms.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ADI.Scripting
    Assembly Version: 3.4.6.0
    Win32 Version: 3.4.6.0

 

 

 

Outcomes