132
8
8
.
.
3
3
A
A
D
D
C
C
R
R
e
e
a
a
d
d
i
i
n
n
g
g
This demonstration illustrates steps which can be used to evaluate the performance of the 8-channel
12-bit A/D Converter. The DC 3.3V on the 2x13 header is used to drive the analog signals and by
using a trimmer potentiometer, the voltage can be adjusted within the range of 0~3.3V. The 12-bit
voltage measurements are indicated on the 8 LEDs. Since there are only 8 LEDs, only bit-4 through
bit-11 from the ADC are represented on the LEDs.
Design Concept
This section describes the design concepts for this demo.
Figure 8-3
shows the block diagram.
Figure 8-3 ADC Reading Block Diagram
The ADC Controller reads the voltage from the A/D converter through a serial interface and
displays its measurement on the LEDs. The on-board dip-switch determines which channel to read
from.
Table 8-1
lists the DIP Switch settings and its corresponding ADC channel.
Summary of Contents for De0-Nano
Page 1: ...1 ...
Page 4: ...4 9 3 Revision History 155 9 4 Copyright Statement 155 ...
Page 44: ...44 Figure 6 5 Browse to find the location Figure 6 6 There is no need to test the driver ...
Page 90: ...90 Figure 7 14 Add NIOS II Processor ...
Page 93: ...93 Figure 7 17 Rename the CPU 1 Figure 7 18 Rename the CPU 2 ...
Page 98: ...98 Figure 7 23 Add On Chip Memory ...
Page 100: ...100 Figure 7 25 Update Total memory size ...
Page 102: ...102 Figure 7 28 Update CPU settings ...
Page 104: ...104 Figure 7 30 Add PIO ...
Page 106: ...106 Figure 7 32 PIO 21 Rename pio_0 to pio_led as shown in Figure 7 33 Figure 7 33 Rename PIO ...
Page 113: ...113 Figure 7 43 Input verilog Text Figure 7 44 Open DE0_NANO_SOPC v ...
Page 146: ...146 Figure 8 16 Display Progress and Result Information for the SDRAM Demonstration ...
Page 150: ...150 Figure 9 3 Select Devices Page ...
Page 151: ...151 Figure 9 4 Convert Programming Files Page ...