MAX 10 NEEK
57
www.terasic.com
February 4, 2016
Design Tools
Quartus II v15.0 64-bit
Demonstration Source Code
Project directory: Demonstrations\adc_potentionmeter
Bitstream used: adc_potentionmeter.sof
Demonstration Batch File
Demo batch file folder: Demonstrations\adc_potentionmeter \demo_batch
Batch file: test.bat
FPGA configuration file: adc_potentionmeter.sof
Demonstration Setup
Please make sure Quartus II and USB-Blaster II driver are installed on the host PC.
Connect the USB cable from the USB-Blaster II port (J8) on the NEEK board to the host PC.
Power on the NEEK board.
Execute the demo batch file “test.bat” under the folder Demonstrations\ adc_potentionmeter
\demo_batch.
Rotate the VR resistor POT1 with a screwdriver. HEX1 and HEX0 will display the voltage
value.
5
5
.
.
4
4
D
D
A
A
C
C
D
D
e
e
m
m
o
o
n
n
s
s
t
t
r
r
a
a
t
t
i
i
o
o
n
n
This demonstration uses the 16-bit Digital to analog converter(DAC) built-in the MAX 10 device to
generate square wave in 8 difference frequencies. The signal coming out of the SMA connector on
NEEK10 board is transmitted to the oscilloscope. The oscilloscope will display the square wave in
different frequencies by switching SW[2:0] on the NEEK10 board.
Function Block Diagram
Figure 5-7
is the function block diagram of this demonstration. The source data in parallel is
converted to serial data by the DAC16 module. The DAC chip (DAC8551) then converts the serial
data from digital to analog. The analog signal coming out of the DAC SMA connector is connected
to the oscilloscope and shown in square wave. Users can switch the SW0~2 to change the frequency