This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem in LCD interfacing

Hello Sir,

I have interface lcd with MC9s08GT16 (freescale hcs08 series).

i have connected a lcd to this microcontroller in 4 bit mode.

the connections are as below.

Pin1- GND
Pin2- +5v
Pin3- 10k pot
Pin4- R/S i.e PD0
Pin5- r/w GND
Pin6- EN i.e PD1
Pin7- GND
Pin8- GND
Pin9- GND
Pin10- GND
Pin11- PB3
Pin12- PB4
Pin13- PB5
Pin14- PB6
Pin15- +5v
Pin16- GND

actual problem is with the lcd.
Lcd is not displaying cursor or characters.

I adjusted the contrast by adjusting the 10k pot. but still it gives same problem.

Same program is already working with other hardware.

Please help me to solve this problem