cancel
Showing results for 
Search instead for 
Did you mean: 

LCD ST7565 - STM32F100RB Discovery - SPI

lorinczalexandra
Associate II
Posted on August 01, 2014 at 12:25

Hello, I have a problem with my LCD RX12864H-BIW. I want to use SPI communication but my LCD does not responding. Help me please

#stm32f100rb-spi
5 REPLIES 5
Posted on August 01, 2014 at 16:37

Ok, so have you stuck a Scope or Logic Analyzer on the interface and done any debugging? If so what, and how do the signals correlate with the documentation for the display?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
lorinczalexandra
Associate II
Posted on August 04, 2014 at 13:04

The SPI is ok, but the LCD is not responding. I dont know why. The pins is ok, SPI is ok ... I dont know what to do .... here is a photo with the connection

________________

Attachments :

20140804_140011.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I16g&d=%2Fa%2F0X0000000biP%2FVmEV.BBIwq7OXp3a5ai6WSyIJ3JJiBPU_6xiuQLzw7c&asPdf=false

20140804_140031.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I16b&d=%2Fa%2F0X0000000biO%2FuS0G9Sg7Uf822zrZb8TaZHYs_vxNRHaleEeoavc_axk&asPdf=false
Posted on August 04, 2014 at 16:58

I'll see your photos, and raise you some data sheets.

http://teval.ee/media/catalog/product/R/X/RX12864H-BIWRX12864H-BIW.pdf

http://www.tianma-usa.com/web/uploads/controller/20080403002714_ST7567_V0.1.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
lorinczalexandra
Associate II
Posted on January 01, 2015 at 18:03

Hello, I have bought a LCD NHD-C12864LZ-FSW-FBW-3V3 with ST7565R.

I use the SPI transmission, with the my STM32VLDISCOVERY board (STM32F100RB) and I do not know why when make the initialization appear few pixels ON. This pixels appear to command ''DISPLAY ON = 0xAF''.

Can you help me ? .

This is my initialization:

void lcd_init(void)

{

LCD_A0_L();

LCD_N_CS1_L();

LCD_N_RES_H();

delay_ms(500);

// Do a hard reset of the LCD display controller

LCD_N_RES_L();

delay_ms(500);

LCD_N_RES_H();

delay_ms(500);

lcd_cmd_out(0xE2);

lcd_cmd_out(0XA2);

lcd_cmd_out(0XA0);

lcd_cmd_out(0XC8);

lcd_cmd_out(0XA4);

lcd_cmd_out(0XA6);

lcd_cmd_out(0X23);

lcd_cmd_out(0X81);

lcd_cmd_out(0X20);

lcd_cmd_out(0X2F);

lcd_cmd_out(0X40);

lcd_cmd_out(0XAF); // here appear pixels on my LCD

delay_ms(500);

}

When sending the command '' CMD_SET_ALLPTS_ON = 0xA5 '' (All points on ) it is ok. As the attached image.

But when sending the command '' CMD_SET_ALLPTS_NORMAL = 0xA4 '' (All points off) it is not ok. As the attached image.

Can you help me ?

________________

Attachments :

20141229_004433.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I16M&d=%2Fa%2F0X0000000biN%2F9LGUiIqm70Rnn8FEAUSfgGHWWTZXXZloN9taNpQNYN0&asPdf=false

20141229_004704.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I16C&d=%2Fa%2F0X0000000biM%2FYZ1JHIycycFrJC2ACFsYp1e1k7RNGfzSL0SltoDikUU&asPdf=false
hackerli90
Associate II
Posted on October 16, 2015 at 09:24

Exactly same error here. Display ON turns all pixel on, when sending all px on or off, no response. logic analyzer though shows correct transmission of the commands