Oops, i must answer my own reply. It seems to me, that i'm wrong completely. But in my example i have forgotten, that the second (and third, but that can be ignored in this case) b'0011' would setup the LCD into 8bit mode. So there are 2 scenarios: Scenario 1: uP LCD the uP is powered up LCD is powered up and set to 4bit mode uP resets because of whatever LCD is still working in 4bit mode uP sends 0x3 (1st part of init sequence) LCD receives 0x3 as MSB of function set uP sends 0x3 (2nd part of init sequence) LCD receives 0x3 as LSB of fucntion set, LCD setting to 8bit mode !!! uP sends 0x3 (3rd part of init sequence) LCD receives 0x3x (function set) here can be any number of additional 0x3 .... uP sends 0x2 (set 4bit i/f) LCD receives 0x2x (function set), LCD setting to 4bit mode !!! uP sends MSB of 0x2x LCD receives 0x2 as MSB of function set uP sends LSB of 0x2x (b'NF00') LCD receives b'NF00' . uP and LCD are synchron Scenario 2: uP LCD the uP is powered up LCD is powered up and set to 4bit mode send MSB of 0x8x (set DDRAM address) LCD receives 0x8 (MSB of set DDRAM address) uP resets because of whatever LCD is still working in 4bit mode, waiting for LSB !!! uP sends 0x3 (1st part of init sequence) LCD receives 0x3 as LSB of DDRAM address uP sends 0x3 (2nd part of init sequence) LCD receives 0x3 as MSB of fucntion set uP sends 0x3 (3rd part of init sequence) LCD receives 0x3 as LSB of function set, LCD is set to 8bit mode !!! here can be any number of additional 0x3 .... uP sends 0x2 (set 4bit i/f) LCD receives 0x2x (function set), setting LCD into 4bit mode !!! uP sends MSB of 0x2x LCD receives 0x2 as MSB of function set uP sends LSB of 0x2x (b'NF00') LCD receives b'NF00' . uP and LCD are synchron Both scenarios would end up in a correctly initialized LCD, the uP and the LCD are synchron together. To Jan: You are correct, at least 3 0x3 are required for initialization. But i think it can be any (even or odd) number, as long as there are at least 3 0x3. Thanks to Jim and Quentin for your answers in depth. Frank GSP Sprachtechnologie GmbH Frank Wollenberg HW-Entwicklung Tel.: +49 (0)30 769929-78 Fax: +49 (0)30 769929-12 eMail: f.wollenberg@gsp-berlin.de -- GSP Sprachtechnologie GmbH Teltowkanalstr.1, D-12247 Berlin Tel.: +49 (0)30 769929-0 Fax: +49 (0)30 769929-12 eMail: Info@gsp-berlin.de Web: http://www.gsp-berlin.de -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads