NHD-3.12-25664UCB2

[10]
MPUInterface
Fordetailedtiminginformation,seedatasheet:http://www.newhavendisplay.com/app_notes/SSD1322.pdf
6800MPUParallelInterface
Theparallelinterfaceconsistsof8bidirectionaldatapins,R/W,D/C,E,and/CS.
ALOWonR/Windicateswriteoperation,andHIGHonR/Windicatesreadoperation.
ALOWonD/Cindicates“Command”readorwrite,andHIGHonD/Cindicates“Data”readorwrite.
TheEinputservesasdatalatchsignal,while/CSisLOW.DataislatchedatthefallingedgeofEsignal.
Function E R/W /CS D/C
WriteCommand↓0 0 0
ReadStatus↓ 1 0 0
WriteData↓ 0 0 1
ReadData↓ 1 0 1
8080MPUParallelInterface
Theparallelinterfaceconsistsof8bidirectionaldatapins,/RD,/WR,D/C,and/CS.
ALOWonD/Cindicates“Command”readorwrite,andHIGHonD/Cindicates“Data”readorwrite.
Arisingedgeof/RSinputservesasadatareadlatchsignalwhile/CSisLOW.
Arisingedgeof/WRinputservesasadata/commandwritelatchsignalwhile/CSisLOW.
Function /RD /WR /CS D/C
WriteCommand 1↑ 0 0
ReadStatus↑ 1 0 0
WriteData
1
0 1
ReadData↑ 1 0 1
Alternatively,/RDand/WRcanbekeptstablewhile/CSservesasthedata/commandlatchsignal.
Function /RD /WR /CS D/C
WriteCommand 1 0 0
ReadStatus
0
1 0
WriteData
1
0 1
ReadData
0
1 1
[11]
SerialInterface(4wire)
The4wireserialinterfaceconsistsofserialclockSCLK,serialdataSDIN,D/C,and/CS.
D0actsasSCLKandD1actsasSDIN.D2shouldbeleftopen.D3~D7,E,andR/WshouldbeconnectedtoGND.
Function /RD /WR /CS D/C D0
WriteCommand TieLOW TieLOW 0 0
WriteData TieLOW TieLOW 0 1
SDINisshiftedintoan8bitshiftregisteroneveryrisingedgeofSCLKintheorderofD7,D6,…D0.
D/CissampledoneveryeighthclockandthedatabyteintheshiftregisteriswrittentotheGDRAMor
commandregisterinthesameclock.
Note:Readis
notavailableinserialmode.
SerialInterface(3wire)
The3wireserialinterfaceconsistsofserialclockSCLK,serialdataSDIN,and/CS.
D0actsasSCLKandD1actsasSDIN.D2shouldbeleftopen.D3~D7,E,R/W,andD/Cshouldbeconnectedto
GND.
Function /RD /WR /CS D/C D0
WriteCommand TieLOW TieLOW 0 TieLOW
WriteData TieLOW TieLOW 0 TieLOW
SDINisshiftedintoan9bitshiftregisteroneveryrisingedgeofSCLKintheorderofD/C,D7,D6,…D0.
D/C(firstbitofthesequentialdata)willdetermineifthefollowingdatabyteiswrittentotheDisplayData
RAM(D/C=1)orthecommandregister(D/C=0).
Note:Readisnotavailableinserialmode.
Fordetailedprotocolinformation,seedatasheet:http://www.newhavendisplay.com/app_notes/SSD1322.pdf
[12]
ExampleInitializationSequence:
Set_Command_Lock(0x12); //UnlockBasicCommands(0x12/0x16)
Set_Display_On_Off(0x00); //DisplayOff(0x00/0x01)
Set_Column_Address(0x1C,0x5B);
Set_Row_Address(0x00,0x3F);
Set_Display_Clock(0x91); //SetClockas80Frames/Sec
Set_Multiplex_Ratio(0x3F); //1/64Duty(0x0F~0x3F)
Set_Display_Offset(0x00); //ShiftMappingRAMCounter(0x00~0x3F)
Set_Start_Line(0x00); //SetMappingRAMDisplayStartLine(0x00~0x7F)
Set_Remap_Format(0x14); //SetHorizontalAddressIncrement
//ColumnAddress0MappedtoSEG0
//DisableNibbleRemap
//ScanfromCOM[N1]toCOM0
//DisableCOMSplitOddEven
//EnableDualCOMLineMode
Set_GPIO(0x00); //DisableGPIOPinsInput
Set_Function_Selection(0x01); //EnableInternalVDDRegulator
Set_Display_Enhancement_A(0xA0,0xFD); //EnableExternal
VSL
Set_Contrast_Current(0x9F); //SetSegmentOutputCurrent
Set_Master_Current(0x0F); //SetScaleFactorofSegmentOutputCurrentControl
//Set_Gray_Scale_Table(); //SetPulseWidthforGrayScaleTable
Set_Linear_Gray_Scale_Table(); //setdefaultlineargrayscaletable
Set_Phase_Length(0xE2); //SetPhase1as5Clocks&Phase2as14Clocks
Set_Display_Enhancement_B(0x20); //EnhanceDrivingSchemeCapability(0x00/0x20)
Set_Precharge_Voltage(0x1F); //SetPreChargeVoltageLevelas0.60*VCC
Set_Precharge_Period(0x08); //SetSecondPreChargePeriodas8Clocks
Set_VCOMH(0x07); //SetCommonPinsDeselectVoltageLevelas0.86*VCC
Set_Display_Mode(0x02); //NormalDisplayMode(0x00/0x01/0x02/0x03)
Set_Partial_Display(0x01,0x00,0x00); //DisablePartialDisplay
Set_Display_On_Off(0x01);

NHD-3.12-25664UCB2

Mfr. #:
Manufacturer:
Newhaven Display
Description:
OLED Displays & Accessories OLED 256 x 64 Blue 89.2 x 44.0 x 6.0
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet