The Data Capture Demo requires that the modules:
- FTDI chips Port B is in OPTO isolated mode
- the FPGA Intel MAX 10 is programmed with the demo specific firmware
If the module is in initial delivery condition boot requirements are not meet, so
all steps need to be taken.
Compressed folder, containing all necessary files for the demo - Download-Link
Software which needs to be installed prior to configure the module.
For changing the FTDI configuration:
- FT_Prog (Version 184.108.40.2062) - Download-Link
For programming the FPGA Intel MAX 10:
- Intel - Quartus prime Lite Edition (Version 18.1) - Download-Link
- Arrow-USB-Blaster-Setup (Version 2.2) - Download-Link
- the firmware, a *.pof file as part of the compressed demo folder
Quartus prime and Arrow-USB-Blaster need to be installed prior to updating the firmware.
In addition, the compressed folder needs to be extracted.
This demo although requires the installation of Visual Analog (Version 220.127.116.11) - Download Link
FTDI Port B OPTO isolated mode
Conect the module to your PC and open FT_Prog.
Press "Devices → Scan and parse" the modules FTDI chips configuration will be listed.
Use the "Device Tree" to navigate to "Device: ... → FT EEPROM → Hardware specific → Hardware"
and change the value to OPTO isolated.
Press "Devices → Program", a new window appears, press program and after this finishes press Cycle ports.
The configuration is finished, FT_Prog can be closed.
After shipment, the default configuration is set to 245 FIFO.
FPGA demo specific firmware
Integration with Visual Analog
- Figure out the modules COM port number
- Open the device manager, right click onto windows start menu symbol and select device manager
Open ports and identify the port used by the module, the number is here marked with an X
- Setup Visual Analog
Start "Visual Analog" and open a "Blank canvas".
Open the file "AnalogMAX_DAQ1_Capture.vac" from the downloaded zip-file via "File → Open...". The window should look like Figure 12
- 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 "COM14,115200 1024 c:\temp\capture.txt 7" for the "Arguments". The parameters are the COM port (COM port 14 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
VisualAnalog parameter description (COM14,115200 1024 c:\temp\capture.txt 7)
- COM14 - COM port which is used for the connection.
- 115200 - Baud rate which is used for the connection.
- 1024 - Amount of K 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;).
Quick test with a terminal program
- 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 Figure 10.
- Open terminal and set the parameters (example use for putty).
- 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 character for the appropriate usage.
- "?" to get the ID (AnalogMAX DAQ1 will return "1")
- "t" to trigger ADC capture into the memory - 1M samples.
- "." to get one ADC sample.
- "+" to get 128 samples.
- "*" to get 16*1024 samples.