HW-SPAR3E-SK-UK-G Xilinx Inc, HW-SPAR3E-SK-UK-G Datasheet - Page 18

KIT STARTER SPARTAN-3E

HW-SPAR3E-SK-UK-G

Manufacturer Part Number
HW-SPAR3E-SK-UK-G
Description
KIT STARTER SPARTAN-3E
Manufacturer
Xilinx Inc

Specifications of HW-SPAR3E-SK-UK-G

Tool / Board Applications
General Purpose MCU, MPU, DSP, DSC
Development Tool Type
Hardware / Software - Starter Kit
Mcu Supported Families
Spartan-3E
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
HW-SPAR3E-SK-US-UK-G
HW-SPAR3E-SK-US-UK-G

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HW-SPAR3E-SK-UK-G
Manufacturer:
XILINX
0
Chapter 2: Switches, Buttons, and Knob
18
Rotary Shaft Encoder
In principal, the rotary shaft encoder behaves much like a cam, connected to central shaft.
Rotating the shaft then operates two push-button switches, as shown in
Depending on which way the shaft is rotated, one of the switches opens before the other.
Likewise, as the rotation continues, one switch closes before the other. However, when the
shaft is stationary, also called the detent position, both switches are closed.
Closing a switch connects it to ground, generating a logic Low. When the switch is open, a
pull-up resistor within the FPGA pin pulls the signal to a logic High. The UCF constraints
in
The FPGA circuitry to decode the ‘A’ and ‘B’ inputs is simple, but must consider the
mechanical switching noise on the inputs, also called chatter. As shown in
chatter can falsely indicate extra rotation events or even indicate rotations in the opposite
Figure 2-6: Push-Button Switches Require Internal Pull-up Resistor in FPGA Input
Figure 2-9
Rotary Shaft
Encoder
3.3V
Figure 2-7: Basic example of rotary shaft encoder circuitry
describe how to define the pull-up resistor.
Rotary / Push Button
GND
A pull-up resistor in each input pin
generates a ‘1’ for an open switch.
See the UCF file for details on
specifying the pull-up resistor.
www.xilinx.com
FPGA I/O Pin
Pin
Spartan-3E FPGA Starter Kit Board User Guide
A=‘0’
B=‘1’
ROT_CENTER Signal
UG230 (v1.2) January 20, 2011
FPGA
UG230_c2_05_021206
Figure
Vcco
Vcco
UG230_c2_06_030606
Figure
2-7.
2-8, the
R

Related parts for HW-SPAR3E-SK-UK-G