Author Topic: Unable to start NHD-3.12-25664UCB2 OLED display..  (Read 193 times)

Ankush Gupta

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Unable to start NHD-3.12-25664UCB2 OLED display..
« on: October 18, 2018, 01:43:38 AM »
I am using Cortex-M3 LPC1768 controller. I did connection as per data sheet and started initialization code but OLED Display didn't power up. I am providing 3.3v supply on VDD. i want to use M6800 parallel interface for that i am giving 3.3V on BS0 & BS1 pins. Please help me how to initialize OLED display. I am following datasheet of ssd1322 and initialization code from NHD site. This is my initialization code. Please suggest me for delay also
void OLED_Init_25664()
{
//   CLR_RES;
//   GLCD_Delay(100);
   SET_RES;
   GLCD_Delay(100);
   Set_Command_Lock_25664(0x12);
   Set_Display_On_Off_25664(0x01);
   Set_Column_Address_25664(0x1C,0x5B);
   Set_Row_Address_25664(0x00,0x3F);
   Set_Display_Clock_25664(0x91);
   Set_Multiplex_Ratio_25664(0x3F);
   Set_Display_Offset_25664(0x00);   
   Set_Start_Line_25664(0x00);
   Set_Remap_Format_25664(0x14);
   Set_GPIO_25664(0x00);
   Set_Function_Selection_25664(0x01);
   Set_Display_Enhancement_A_25664(0xA0,0xFD);   
    Set_Contrast_Current_25664(0x9F);
   Set_Master_Current_25664(0x0F);
//   Set_Gray_Scale_Table_25664();
   Set_Linear_Gray_Scale_Table_25664();
   Set_Phase_Length_25664(0xE2);
   Set_Display_Enhancement_B_25664(0x20);
   Set_Precharge_Voltage_25664(0x1F);
   Set_Precharge_Period_25664(0x08);
   Set_VCOMH_25664(0x07);
   Set_Display_Mode_25664(0x02);
   Set_Partial_Display_25664(0x01,0x00,0x00);
   Set_Display_On_Off_25664(0x01);
}

 
Thanks in advance
« Last Edit: October 18, 2018, 02:18:18 AM by Ankush Gupta »

 

Blank Display on NHD‐C0220BiZ‐FS(RGB)‐FBW‐3VM

Started by SteveCBoard Character LCDs

Replies: 3
Views: 8629
Last post May 13, 2014, 12:04:36 AM
by SteveC
NHD‐C12864A1Z‐FSW‐FBW‐HTT display clears after draw

Started by EdAverillBoard Graphic LCDs

Replies: 6
Views: 10412
Last post November 07, 2014, 08:25:20 AM
by Michael_L
NHD‐4.3‐480272EF‐ATXL#‐CTP | FAN5333 | BBB | Nothing on the Display

Started by Alias_AliasBoard TFTs

Replies: 1
Views: 7352
Last post September 25, 2015, 03:09:24 PM
by Paul_B
Arduino LCD library not working with newhaven display NHD‐0420H1Z‐FL‐GWB-3V3

Started by c2hollowBoard Character LCDs

Replies: 9
Views: 16401
Last post July 10, 2014, 08:46:06 AM
by Michael_L
NHD-0420DZW-AG5 - Display "sometimes" shows only 2 lines

Started by stylonurusBoard OLEDs

Replies: 5
Views: 9944
Last post June 18, 2014, 10:09:49 AM
by Michael_L