Page History
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
- Connect your AnalogMAX DAQ1 via USB with your computer.
- Change FTDI FT2232H Port B to "OPTO Isolate" mode.
- Download FT_Prog 3.3.88.402 from here.
- Install FT_Prog.
- Start FT_Prog.
The window should look like TEI0016 Data capture Demo.
Scroll Title anchor Figure 1 title Figure 1: FT_Prog started Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName FTDI_FT_Prog_1 simpleViewer false width diagramWidth 625 revision 1 Scroll Only - Press "F5" or select "DEVICES → Scan and Parse" to find the FTDI chip.
The window should look like TEI0016 Data capture Demo.
Scroll Title anchor Figure 2 title Figure 2: FT_Prog port scanned Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName FTDI_FT_Prog_2 simpleViewer false width diagramWidth 755 revision 2 Scroll Only - Open the "Hardware Specific → Port B → Hardware" as visible in TEI0016 Data capture Demo.
- Select "OPTO Isolate" on the right side, as visible in TEI0016 Data capture Demo.
Scroll Title anchor Figure3 title Figure 3: FT_Prog "OPTO Isolate" selected Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName FTDI_FT_Prog_3 simpleViewer false width diagramWidth 625 revision 3 Scroll Only - Then, press "Ctrl+P" or select "DEVICES → PROGRAM" to change your FTDI FT2232H Port B to "OPTO Isolate" mode.
- Press "Program" in the new window, as visible in TEI0016 Data capture Demo.
Scroll Title anchor Figure 4 title Figure 4: FT_Prog "Program Devices" Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName FTDI_FT_Program_Devices simpleViewer false width diagramWidth 851 revision 4 Scroll Only - After that, press "Cycle Ports" in the window shown in TEI0016 Data capture Demo and then press "Close".
- 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
- Download the files for this demo here.
- Program the FPGA with new POF file.
- Download Quartus Prime Software from here. The Lite Edition is sufficient.
- Install Quartus Prime.
- Install Arrow-USB-Blaster-Setup-2.2.exe from here.
- Start the Quartus Prime Programmer. The window should look like TEI0016 Data capture Demo.
Scroll Title anchor Figure 5 title Figure 5: Quartus Prime Programmer started Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName Quartus_Prime_Programmer simpleViewer false width diagramWidth 1022 revision 3 Scroll Only 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 anchor Figure 6 title Figure 6: Quartus Prime Programmer Hardware Setup Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName Quartus_Prime_Programmer_Hardware_Setup simpleViewer false width diagramWidth 701 revision 2 Scroll Only Then, press "Close" and return to the previous window. The window should look like TEI0016 Data capture Demo.
Scroll Title anchor Figure 7 title Figure 7: Quartus Prime Programmer Hardware Devices Setup Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName Quartus_Prime_Programmer_2 simpleViewer false width diagramWidth 1032 revision 2 Scroll Only 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 anchor Figure 8 title Figure 8: Quartus Prime Programmer POF selected Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName Quartus_Prime_Programmer_POF_Selected simpleViewer false width diagramWidth 1032 revision 4 Scroll Only Mark the "Program/Configure" box for the selected file. Then, the window should look like TEI0016 Data capture Demo.
Scroll Title anchor Figure 9 title Figure 9: Quartus Prime Programmer POF selected Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName Quartus_Prime_Programmer_Box_Checked simpleViewer false width diagramWidth 1032 revision 3 Scroll Only - To program the FPGA use the button "Start".
- The Quartus Prime Programmer can be closed.
Integration with Visual Analog
- Figure out the correct COM port number for the AnalogMAX DAQ1 board.
- Open the device manager.
Open ports and identify the port used by the AnalogMAX DAQ1 as visible in TEI0016 Data capture Demo.
Scroll Title anchor Figure 10 title Figure 10: Device Manager for COM port identification Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName Device_Manager simpleViewer false width diagramWidth 882 revision 3 Scroll Only
- Setup Visual Analog "External Tools..." custom menu item to launch adcapture.exe with commandline parameters.
- Download "Visual Analog" from here.
- Install "Visual Analog"
Start "Visual Analog" and open a "Blank canvas". After that, the window should look like TEI0016 Data capture Demo.
Scroll Title anchor Figure 11 title Figure 11: VisualAnalog started Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName VisualAnalog_Started simpleViewer false width 600 diagramWidth 1921 revision 1 Scroll Only 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 anchor Figure 12 title Figure 12: VisualAnalog AnalogMAX_DAQ1_Capture.vac loaded Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName VisualAnalog_File_loaded simpleViewer false width 600 diagramWidth 1921 revision 1 Scroll Only - 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 ".".
- After that, change the "Resolution" and the "Alignment" to 16 Bit by clicking on the "Input Formater".
Scroll Title anchor Figure 13 title Figure 13: VisualAnalog Sample Frequency changed Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName VisualAnalog_Frequency_Changed simpleViewer false width 600 diagramWidth 1921 revision 45 Scroll Only - Press "Tools → External Tools..." to prepare the usage of the adcapture.exe.
- 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".
- Launch adcapture.exe and after completion click run to update the screen.
- Select the above inserted tool by selecting "Tools → adcapture".
A window shows the activity of the tool "adcapture", as visible in TEI0016 Data capture Demo.
Scroll Title anchor Figure 14 title Figure 14: Adcapture.exe output Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName adcapture_exe simpleViewer false width diagramWidth 980 revision 1 Scroll Only 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 anchor Figure 15 title Figure 15: VisualAnalog data interpretation Scroll Ignore draw.io Diagram border true viewerToolbar true fitWindow false diagramName VisualAnalog_Results simpleViewer false width 600 diagramWidth 1921 revision 35 Scroll Only
Quick test with
...
a terminal program
- Figure out the correct COM port number for the AnalogMAX DAQ1 DAQ2 board
- Open the device manager.
Open ports and identify the port used by the AnalogMAX DAQ1 DAQ2 as visible in TEI0016 Data capture Demo.
- Open terminal and set the parameters (example use for example putty) and set the parameters.
- Set the connection type to Serial.
- Set the "Serial line" to your above found COM port.
- Set the "Speed" to 115200.
- Use "Open" to start the connection.
- Type following signs character for the appropriate usage.
- "?" to get the ID (0x0002 - TEI0016AnalogMAX DAQ2 will return "2")
- "t" to read the data from the trigger ADC capture into the memory - 1M samples.
- "." to get one data pointADC sample.
- "+" to get 128 data pointssamples.
- "*" 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;).
...