Interfacing 128x160 CSTN LCD

Status
Not open for further replies.

mdanh2002

Member
Hi,

I am trying to interface a 128x160 CSTN LCD to a PIC24F. The controller is a S6B33BC made by Samsung and the LCD module part number is MI28160KK. The only sample code I found on the net for this LCD is at the following link

**broken link removed**

I am trying to interface in SPI mode, bit-bang, and have tried both 3-pin (9-bit) and 4-pin (8-bit) SPI without success. Because the above code interfaces in parallel mode (8-bit), I need to change it a bit to adapt to SPI mode. However, despite a lot of efforts, the LCD backlight turns on but other than that, it does not show any signs of life. I searched the web and the only time anyone has ever made this LCD work is apparently at the following link, in Chinese:

**broken link removed**

The author seems to have successfully interfaced it in parallel mode. I tried to download the code but apparently, that forum asks me to pay before I can download post attachment. And it only accepts Chinese bank account, not credit card or Paypal.

Can anyone help me to have a look at the above code, especially the initialization part, and advise if there are any problems? I have been trying for 2 days and read the datasheet again and again without success.

Thanks a lot in advance.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…