Function Set

For LCD on Spartan3E Board: 
RS  R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
=== === === === === === === === === ===
 0   0   0   0   1   0  1   0   *   * 

In General:
RS  R/W DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
=== === === === === === === === === ===
 0   0   0   0   1   DL  N   F   *   * 
Sets interface data length (DL), number of display lines (N) and character font (F)

Details

The Starter Kit board supports a single function set with value 0x28.

DL: Sets interface data length

N: Sets number of display lines

F: Sets character font

Note
Perform the function at the start of the program before executing any instructions (except "Busy flag/address read").

    display Character  Duty                             
N F  lines    Font    Factor Remarks                    
=== ======= ========= ====== =======                    
0 0    1    5x 7 dots  1/8    -                         
0 1    1    5x10 dots  1/11   -                         
1 *    2    5x 7 dots  1/16  Cannot display 2 lines with
                             5x10 dot character font    
Execution Time = 40µs


[ Back to Instruction Set ]