Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

FTDI EEPROM update

This is only needed once for rev -01 PCB boards from initial shipment!

Visual Analog integration

Step by step guide for PCB revision -01

  1. Connect your AnalogMAX DAQ1 via USB with your computer.
  2. Change FTDI FT2232H Port B to "OPTO Isolate" mode.
    1. Download FT_Prog 3.3.88.402 from here.
    2. Install FT_Prog.
    3. Start FT_Prog.
    4. The window should look like TEI0016 Data capture Demo.

      Scroll Title
      anchorFigure 1
      titleFigure 1: FT_Prog started


      Scroll Ignore

      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameFTDI_FT_Prog_1
      simpleViewerfalse
      width
      diagramWidth625
      revision1


      Scroll Only



    5. Press "F5" or select "DEVICES → Scan and Parse" to find the FTDI chip.
    6. The window should look like TEI0016 Data capture Demo.

      Scroll Title
      anchorFigure 2
      titleFigure 2: FT_Prog port scanned


      Scroll Ignore

      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameFTDI_FT_Prog_2
      simpleViewerfalse
      width
      diagramWidth755
      revision2


      Scroll Only



    7. Open the "Hardware Specific → Port B → Hardware" as visible in TEI0016 Data capture Demo.
    8. Select "OPTO Isolate" on the right side, as visible in TEI0016 Data capture Demo.


      Scroll Title
      anchorFigure3
      titleFigure 3: FT_Prog "OPTO Isolate" selected


      Scroll Ignore

      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameFTDI_FT_Prog_3
      simpleViewerfalse
      width
      diagramWidth625
      revision3


      Scroll Only



    9. Then, press "Ctrl+P" or select "DEVICES → PROGRAM" to change your FTDI FT2232H Port B to "OPTO Isolate" mode.
    10. Press "Program" in the new window, as visible in TEI0016 Data capture Demo.


      Scroll Title
      anchorFigure 4
      titleFigure 4: FT_Prog "Program Devices"


      Scroll Ignore
      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameFTDI_FT_Program_Devices
      simpleViewerfalse
      width
      diagramWidth851
      revision4


      Scroll Only



    11. After that, press "Cycle Ports" in the window shown in TEI0016 Data capture Demo and then press "Close".
    12. After pressing "F5" and opening the path "Hardware Specific → Port B → Hardware", as visible in TEI0016 Data capture Demo, the value "OPTO Isolate" should be selected.

FPGA image update


  1. Download the files for this demo here.
  2. Program the FPGA with new POF file.
    1. Download Quartus Prime Software from here. The Lite Edition is sufficient.
    2. Install Quartus Prime.
    3. Install Arrow-USB-Blaster-Setup-2.2.exe from here.
    4. Start the Quartus Prime Programmer. The window should look like TEI0016 Data capture Demo.


      Scroll Title
      anchorFigure 5
      titleFigure 5: Quartus Prime Programmer started


      Scroll Ignore

      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameQuartus_Prime_Programmer
      simpleViewerfalse
      width
      diagramWidth1022
      revision3


      Scroll Only



    5. Press "Hardware Setup..." and select "Arrow-USB-Blaster [USBX]" in "Currently selected hardware" as visible in TEI0016 Data capture Demo, whereby the "X" in [USBX] is a placeholder.

      Scroll Title
      anchorFigure 6
      titleFigure 6: Quartus Prime Programmer Hardware Setup


      Scroll Ignore

      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameQuartus_Prime_Programmer_Hardware_Setup
      simpleViewerfalse
      width
      diagramWidth701
      revision2


      Scroll Only



    6. Then, press "Close" and return to the previous window. The window should look like TEI0016 Data capture Demo.

      Scroll Title
      anchorFigure 7
      titleFigure 7: Quartus Prime Programmer Hardware Devices Setup


      Scroll Ignore

      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameQuartus_Prime_Programmer_2
      simpleViewerfalse
      width
      diagramWidth1032
      revision2


      Scroll Only



    7. After that, use "Add File..." to select the file "TEI0016-01.pof" from the downloaded zip-file to program the FPGA. The window should look like TEI0016 Data capture Demo.

      Scroll Title
      anchorFigure 8
      titleFigure 8: Quartus Prime Programmer POF selected


      Scroll Ignore

      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameQuartus_Prime_Programmer_POF_Selected
      simpleViewerfalse
      width
      diagramWidth1032
      revision4


      Scroll Only



    8. Mark the "Program/Configure" box for the selected file. Then, the window should look like TEI0016 Data capture Demo.

      Scroll Title
      anchorFigure 9
      titleFigure 9: Quartus Prime Programmer POF selected


      Scroll Ignore

      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameQuartus_Prime_Programmer_Box_Checked
      simpleViewerfalse
      width
      diagramWidth1032
      revision3


      Scroll Only



    9. To program the FPGA use the button "Start".
    10. The Quartus Prime Programmer can be closed.

Integration with Visual Analog

  1. Figure out the correct COM port number for the AnalogMAX DAQ1 board.
    1. Open the device manager.
    2. Open ports and identify the port used by the AnalogMAX DAQ1 as visible in TEI0016 Data capture Demo.

      Scroll Title
      anchorFigure 10
      titleFigure 10: Device Manager for COM port identification


      Scroll Ignore

      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameDevice_Manager
      simpleViewerfalse
      width
      diagramWidth882
      revision3


      Scroll Only



  2. Setup Visual Analog "External Tools..." custom menu item to launch adcapture.exe with commandline parameters.
    1. Download "Visual Analog" from here.
    2. Install "Visual Analog"
    3. Start "Visual Analog" and open a "Blank canvas". After that, the window should look like TEI0016 Data capture Demo.

      Scroll Title
      anchorFigure 11
      titleFigure 11: VisualAnalog started


      Scroll Ignore

      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameVisualAnalog_Started
      simpleViewerfalse
      width600
      diagramWidth1921
      revision1


      Scroll Only



    4. Open the file "AnalogMAX_DAQ1_Capture.vac" from the downloaded zip-file via "File → Open...". The window should look like TEI0016 Data capture Demo.

      Scroll Title
      anchorFigure 12
      titleFigure 12: VisualAnalog AnalogMAX_DAQ1_Capture.vac loaded


      Scroll Ignore

      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameVisualAnalog_File_loaded
      simpleViewerfalse
      width600
      diagramWidth1921
      revision1


      Scroll Only



    5. Then change the Sample Frequency in the "Pattern Loader" to 0,5 MHz as shown in TEI0016 Data capture Demo. Attention: The "," has to be used and not the ".".
    6. After that, change the "Resolution" and the "Alignment" to 16 Bit by clicking on the "Input Formater".


      Scroll Title
      anchorFigure 13
      titleFigure 13: VisualAnalog Sample Frequency changed


      Scroll Ignore

      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameVisualAnalog_Frequency_Changed
      simpleViewerfalse
      width600
      diagramWidth1921
      revision45


      Scroll Only



    7. Press "Tools → External Tools..." to prepare the usage of the adcapture.exe.
    8. Click "Add" in the opened window and insert the name "adcapture" in the "Display Text". Select the file "adcapture.exe" from the downloaded zip-file after using the button "Browse..." for the "File Name", and insert "COM20,115200 1024 c:\temp\capture.txt 7" for the "Arguments". The parameters are the COM port (COM port 20 in our case), the baud rate, the number of samples, the location to store the data and a value to adjust the system. Then, click on "Ok".
  3. Launch adcapture.exe and after completion click run to update the screen.
    1. Select the above inserted tool by selecting "Tools → adcapture".
    2. A window shows the activity of the tool "adcapture", as visible in TEI0016 Data capture Demo.

      Scroll Title
      anchorFigure 14
      titleFigure 14: Adcapture.exe output


      Scroll Ignore

      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameadcapture_exe
      simpleViewerfalse
      width
      diagramWidth980
      revision1


      Scroll Only



    3. Then, using "F5" or "Canvas → Run" uses the information to create the graph in the previous window, as visible in TEI0016 Data capture Demo.

      Scroll Title
      anchorFigure 15
      titleFigure 15: VisualAnalog data interpretation


      Scroll Ignore

      draw.io Diagram
      bordertrue
      viewerToolbartrue
      fitWindowfalse
      diagramNameVisualAnalog_Results
      simpleViewerfalse
      width600
      diagramWidth1921
      revision35


      Scroll Only



Quick test with

...

a terminal program

  1. Figure out the correct COM port number for the AnalogMAX DAQ1 DAQ2 board
    1. Open the device manager.
    2. Open ports and identify the port used by the AnalogMAX DAQ1 DAQ2 as visible in TEI0016 Data capture Demo.

  2. Open terminal and set the parameters (example use for example putty) and set the parameters.
    1. Set the connection type to Serial.
    2. Set the "Serial line" to your above found COM port.
    3. Set the "Speed" to 115200.
    4. Use "Open" to start the connection.
  3. Type following signs character for the appropriate usage.
    1. "?" to get the ID (0x0002 - TEI0016AnalogMAX DAQ2 will return "2")
    2. "t" to read the data from the trigger ADC capture into the memory - 1M samples.
    3. "." to get one data pointADC sample.
    4. "+" to get 128 data pointssamples.
    5. "*" to get 16*1024 data pointssamples.


VisualAnalog parameter description (COM20,115200 1024 c:\temp\capture.txt 7)

  • COM20 - COM port which is used for the connection.
  • 115200 - Baud rate which is used for the connection.
  • 1024 - Amount of read and stored data pointsK samples to read (minimum 64).
  • c:\temp\capture.txt - File and path which specifies the storage of data.
  • 7 - Command to adjust the gain (4 - 1; 5 - 2; 6 - 4; 7 -8;).

...