Message Edited by Santa on 2006-08-17 08:51 AM
Hello Francisco,
Here is the LCD initialisation sequence that I have previously used following power-up, in order to use 4-bit mode -
Clear RS line
Set nybble value to 0 (D4-D7)
Pulse EN line
Wait 5ms
Pulse EN line
Wait 5ms
Set nybble value to 2
Pulse EN line
Wait 5ms
Command bytes can now be sent, in high nybble/low nybble sequence, to set the display for 4-bit mode, set the number of display lines, and determine the other display and cursor characteristics required.
Further display interface details can be found in AN1774 "Interfacing the MC68HC912B32 to an LCD Module".
Regards,
Mac