Author Topic: NHD-320240WG-BXTFH-VZ# initialization problem  (Read 513 times)

vinvald

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
NHD-320240WG-BXTFH-VZ# initialization problem
« on: February 17, 2018, 09:43:58 AM »
Hi
I'm trying to running the NHD-320240WG-BXTFH-VZ# with the stm32f429 using 3.3v voltages and 8080 modes.
I have not idea what is the problem, but i don't get any reaction from the lcd. All 17 pins are connected.
I checked the signals with logic analyzer and their looked fine. Sometimes one random line turns on and stays in
this state for a moment after turning off the power. Thanks in advance.

Code: [Select]
void NHD_LCD_display_write_command(uint8_t data)
{
NHD_LCD_set_data(data);
set_A0();
reset_cs();
reset_wr();
set_wr();
set_cs();
}

void NHD_LCD_display_write_data(uint8_t data)
{
NHD_LCD_set_data(data);
reset_A0();
reset_cs();
reset_wr();
set_wr();
set_cs();
}

void NHD_LCD_display_init()
{
set_r();
set_cs();
set_wr();
NHD_LCD_display_reset();

NHD_LCD_display_write_command(0x40);
NHD_LCD_display_write_data(0x30);
NHD_LCD_display_write_data(0x87);
NHD_LCD_display_write_data(0x07);
NHD_LCD_display_write_data(0x27);
NHD_LCD_display_write_data(0x50);
NHD_LCD_display_write_data(0xEF);
NHD_LCD_display_write_data(0x28);
NHD_LCD_display_write_data(0x00);
NHD_LCD_display_write_command(0x44);
NHD_LCD_display_write_data(0x00);
NHD_LCD_display_write_data(0x00);
NHD_LCD_display_write_data(0xEF);
NHD_LCD_display_write_data(0xB0);
NHD_LCD_display_write_data(0x04);
NHD_LCD_display_write_data(0xEF);
NHD_LCD_display_write_data(0x00);
NHD_LCD_display_write_data(0x00);
NHD_LCD_display_write_data(0x00);
NHD_LCD_display_write_data(0x00);

NHD_LCD_display_write_command(0x5A);
NHD_LCD_display_write_data(0x00);

NHD_LCD_display_write_command(0x5B);
NHD_LCD_display_write_data(0x00);

NHD_LCD_display_write_command(0x5D);
NHD_LCD_display_write_data(0x04);
NHD_LCD_display_write_data(0x86);

NHD_LCD_display_write_command(0x4C);
//
    ///to do: clear the screen
//
NHD_LCD_display_write_command(0x59);
NHD_LCD_display_write_data(0x14);
}

        NHD_LCD_display_init();
NHD_LCD_display_write_command(0x46);
NHD_LCD_display_write_data(0xB0);
NHD_LCD_display_write_data(0x04);
NHD_LCD_display_write_command(0x42);
for(i = 0; i < 4800; i++)
{
NHD_LCD_display_write_data(0xFF);

}
for(i = 0; i < 4800; i++)
{
NHD_LCD_display_write_data(0x00);

}

Thanks.

Ted_M

  • Administrator
  • Jr. Member
  • *****
  • Posts: 33
  • Karma: 2
    • View Profile
Re: NHD-320240WG-BXTFH-VZ# initialization problem
« Reply #1 on: May 21, 2018, 11:37:49 AM »
Hi Vinvald,

Have you been able to resolve this issue?

 

NHD‐3.5‐320240MF‐ATXL#‐CTP‐1 Problem with standby mode

Started by guenterBoard TFTs

Replies: 0
Views: 3209
Last post June 16, 2016, 12:14:36 PM
by guenter
NHD‐2.4‐240320SF‐CTXL#‐FTN1 touch-screen problem

Started by hbcelebiBoard TFTs

Replies: 5
Views: 6418
Last post December 10, 2014, 11:19:05 AM
by Michael_L
Problem in bringing up NHD‐2.4‐240320SF‐CTXL#‐FTN1 on Renesas RL78/G14

Started by sli25Board TFTs

Replies: 3
Views: 4749
Last post May 28, 2015, 02:59:03 PM
by Michael_L
problem with NHD‐2.23‐12832UCB3

Started by luisvalsecaBoard OLEDs

Replies: 1
Views: 2179
Last post January 24, 2017, 02:52:53 PM
by Saurabh_B
Problem setting "function select c" register

Started by jonmon6691Board OLEDs

Replies: 3
Views: 3371
Last post May 04, 2016, 02:44:37 PM
by Saurabh_B