Chapter 5: Character LCD Screen
After the write operation, the address is automatically incremented or decremented by 1
according to the
Execution Time: 40 μs
Read Data from CG RAM or DD RAM
Read data from DD RAM if the command follows a previous
command, or read data from CG RAM if the command follows a previous
Address
After the read operation, the address is automatically incremented or decremented by 1
according to the
during read operations.
Execution Time: 40 μs
Operation
Four-Bit Data Interface
The board uses a 4-bit data interface to the character LCD.
Figure 5-6
for setup, hold, and enable pulse length relative to the 50 MHz clock (20 ns period)
provided on the board.
Upper
4 bits
LCD_RS
SF_D[11:8]
LCD_RW
LCD_E
50
Entry Mode Set
command.
Entry Mode Set
illustrates a write operation to the LCD, showing the minimum times allowed
CLOCK
LCD_RS
SF_D[11:8]
LCD_RW
LCD_E
Lower
4 bits
1 μs
40 μs
Figure 5-6: Character LCD Interface Timing
www.xilinx.com
command. The entry mode also determines display shift.
command. However, a display shift is not executed
0 = Command, 1 = Data
Valid Data
40 ns
Spartan-3E Starter Kit Board User Guide
Set DD RAM Address
Set CG RAM
230 ns
10 ns
UG230_c5_03_022006
UG230 (v1.0) March 9, 2006
R