HW-SPAR3E-SK-US-G Xilinx Inc, HW-SPAR3E-SK-US-G Datasheet - Page 48

no-image

HW-SPAR3E-SK-US-G

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

Specifications of HW-SPAR3E-SK-US-G

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
122-1507
Chapter 5: Character LCD Screen
Table 5-3: LCD Character Display Command Set
48
Clear Display
Return Cursor Home
Entry Mode Set
Display On/Off
Cursor and Display Shift
Command Set
Function
The CG RAM address counter can either remain constant after read or write operations, or
auto-increments or auto-decrements by one location, as defined by the I/D set by the
Mode Set
Figure 5-5
character is stored in the fourth CG RAM character location, which is displayed when a
DD RAM location is 0x03. To write the custom character, the CG RAM address is first
initialized using the
the custom character location. The lower three address bits point to the row address for the
character bitmap. The
character bitmap row. A ‘1’ lights a bit on the display. A ‘0’ leaves the bit unlit. Only the
lower five data bits are used; the upper three data bits are don’t care positions. The eighth
row of bitmap data is usually left as all zeros to accommodate the cursor.
Table 5-3
the display is set up for 4-bit operation, each 8-bit command is sent as two 4-bit nibbles.
The upper nibble is transferred first, followed by the lower nibble.
Figure 5-5: Example Custom Checkerboard Character with Character Code 0x03
Character Address
A5
0
0
0
0
0
0
0
0
summarizes the available LCD controller commands and bit definitions. Because
A4
command.
provides an example, creating a special checkerboard character. The custom
1
1
1
1
1
1
1
1
A3
1
1
1
1
1
1
1
1
Set CG RAM Address
Write Data to CG RAM or DD RAM
A2
0
0
0
0
0
www.xilinx.com
Row Address
0
0
0
0
1
1
1
1
A1
0
0
0
0
0
0
0
1
1
0
0
1
1
A0
0
0
0
0
0
0
1
0
1
0
1
0
1
Upper Nibble
command. The upper three address bits point to
D7
0
0
0
0
0
-
-
-
-
-
-
-
-
Spartan-3E FPGA Starter Kit Board User Guide
Don’t Care
Upper Nibble
Write Data to CG RAM or DD RAM
D6
-
-
-
-
-
-
-
-
0
0
0
0
0
D5
-
-
-
-
-
-
-
-
0
0
0
0
1
command is used to write each
UG230 (v1.2) January 20, 2011
D4
0
1
0
1
0
1
0
0
S/C
0
0
0
1
Character Bitmap
D3
1
0
1
0
1
0
1
0
Lower Nibble
R/L
Lower Nibble
D
0
0
1
D2
0
1
0
1
0
1
0
0
I/D
C
0
1
D1
-
1
0
1
0
1
0
1
0
Entry
D0
1
S
B
0
1
0
1
0
1
0
0
-
-
R

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