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, must de uncompressed - Download-Link
Software which needs to be installed prior to configure the module.
For changing the FTDI configuration:
- FT_Prog (Version 126.96.36.1992) - 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 188.8.131.52) - 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".
Via File → Open point to the file AnalogMAX_DAQ1_Capture.vac from the demo folder.
Press Tools → External Tools... to prepare the usage of the adcapture.exe.
Click Add in the new opened window and insert the name "adcapture" in the Display Text.
Click Browse... and select the file "adcapture.exe" from the downloaded demo.
Into Arguments insert "COMX,115200 1024 c:\temp\capture.txt 7", where the X in COMX
is a placeholder for your comport number.
To finish the setup press OK.
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 and maximum is 1024.
c:\temp\capture.txt - File name and path which specifies where to storage the data.
7 - Command to adjust the gain, possible values are:
4 for a gain of 1, 5 for a gain of 2, 6 for a gain of 4 and 7 for a gain of 8
- Launch adcapture
- Select the above inserted tool by selecting "Tools → adcapture".
A window shows the activity of the tool "adcapture", the picture below shows its state when it is finished.
In Visual Analog, use "F5" or press "Canvas → Run" to update the screen.
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.