You are on page 1of 7

Lesson 3:

Topics:
A. Configuring FPGA I/O
B. FPGA I/O Palettes
C. I/O Types

Configuring FPGA I/O

Using FPGA I/O Nodes

Two ways to use FPGA I/O:

Drag and drop from LabVIEW Project

Drop empty I/O node on block diagram and select I/O by left clicking

I/O Types
Digital lines writes/reads Boolean value
to/from digital line
ADC and DAC High level Vis to read and
write values; NI R-Series hardware
Assigned IO Pins of FPGA to Spartan 3E
components
Use example projects as templates

Creating Counters from Digital I/O


Minimum input pulse width detectable depends on loop period

Example Finder: Toolkits and Modules >> FPGA >> CompactRIO/R Series >> FPGA Fundamentals >> Counters

Binary Conversion for Analog I/O


When performing analog I/O the voltage will need to be
converted from a binary value to a nominal value on the
host
The binary conversion factor will depend on the
resolution of the board
Spartan 3E; 14-bit ADC
NI Hardware; varies by module

Exercise 3
Topic:
Create a FPGA Interface
Objective:
Create a LabVIEW FPGA program with the Spartan3E board
Solution:
Found in Solutions folder

Also see:
See Examples: C:\Program Files\National Instruments\LabVIEW 8.5\examples\Spartan-3E\Converters
Read over Spartan 3E User Guide to understand conversion formula

You might also like