Newhaven Products > OLEDs

spontaneous reverse mode with NHD-0420CW

(1/1)

jcasey:
Hi -   I used an NHD-0420CW for a recent product.   Early on, I noted that sometimes it powered up reversed, so I appended a control 0x20 to the init sequence, and that seemed to fix it.   I have delivered a couple units, and now the customer says that one of them spontaneously reversed itself and won't go back normal on powerup.   I'm perplexed.

Below is my init sequence, applied once at powerup.  I never use reverse at all, but I do go back and forth between 3-line and 4-line format (3-line with middle line double size), so am regularly sending control sequences for this.      (Edit - I'm talking to this in SPI mode, if that matters.)

Possibilities:
  1)  I don't understand something, and need to be sending additional init, or regularly goosing mode.
  2)  The LCD is damaged (client did mention something about a power outage during an electrical storm, but system is well grounded and good filtering on line input).
  3)  I'm using the ribbon connector soldered on the back, and perhaps it came loose during shipment, might be an intermittent pin connection.
  4)  ???

This is high end hardware for a national lab, high visibility.  I'm a bit embarrassed over this, need a confident fix fast.  Please help.
(System is running ARM-ASM on an NXP LPC2468 cpu, bare assy, no os.)

Thanks!
Jeff Casey
Rockfield Research Inc.
Las Vegas, NV

init sequence:

   bl   msec1

   write   FIO4CLR,1<<12         ; pull DRESET low for display
   bl   usec500            ; pause a bit
   write   FIO4SET,1<<12
   bl   usec500

   dcom   0x2A      ; function set extended
   dcom   0x71      ; function sel A
   ddata   0      ; disable internal VDD reg, enable reg 5V
   bl   flushd

   dcom   0x28      ; func set
   dcom   0x08      ; displ off, curs off, blink off
   bl   flushd

   dcom   0x2A      ; func set
   dcom   0x79      ; oled com set enabled
   bl   flushd

   dcom   0xD5      ; set clock
   dcom   0x70      ; set clock
   dcom   0x78      ; OLED com set disabled
   bl   flushd

   dcom   0x09      ; ext func 4 lines
   dcom   0x06      ; com seg dir
   dcom   0x72      ; func sel B
   ddata   0      ; ROM cgram sel
   bl   flushd

   dcom   0x2A      ; func set
   dcom   0x79      ; OLED com set enabled
   bl   flushd

   dcom   0xDA      ; set seg pins config
   dcom   0x10      ; ...
   dcom   0xDC      ; func sel C
   dcom   0      ; ..
   bl   flushd

   dcom   0x81      ; set contrast control
   dcom    0x7F      ; ...
   bl   flushd

   dcom   0xD9      ; set ph length
   dcom   0xF1      ; ...
   bl   flushd

   dcom   0xDB      ; set VCOMH
   dcom   0x40      ; ...
   bl   flushd

   dcom   0x78      ; OLED com set disabled
   dcom   0x28      ; func set
   dcom   0x01      ; clear
   dcom   0x80      ; set addr 00
   dcom   0x0C      ; display on

   dcom   0x20      ; added *** later, ensures display is not reversed....?

   bl   flushd

Saurabh_B:
Hello,

Would it be possible to add another set of commands to your initialization?
There are a few ways this display allows you to switch the text so that you can get reversed text or even upside down.

This is often controlled by the Entry Mode Set (extended [RE = 1]).

If the display is reversed (Characters coming from right to left, i would recommend possibly reversing the Segments (BDS = 0)

You can find more information about this on the controller datasheet pages 26, 33 & 35.
Datasheet Link: http://www.newhavendisplay.com/app_notes/US2066.pdf

jcasey:
I can easily modify the init sequence.   Can you recommend some specific strings of characters to add?
I originally used the init sequence recommended in the manual -- the reversal is not supposed to occur on powerup.
I did find that the one appended command i showed solved the problem I originally had (occasional boot up reversed).
Now it appears to always come up reversed...again, this is not supposed to happen.

However, if I can change the init sequence, I'm happy to.   If there are several ways it can become corrupted backwards, what are ALL the commands to make it right-side up and left to right?
I find the manual to be a bit obtuse, and clearly I missed some items.

Saurabh_B:
The options that would allow you to remap the output would include the Entry Mode set as i mentioned in my previous post, along with the Set SEG Pins Hardware Configuration command on the OLED Command Set Table (RE = 1, SD = 1)

Attached is the layout for the COM and SEG lines on our OLED.
The Segment Remap command is better explained on Pages 33 & 34 of the controller datasheet (http://www.newhavendisplay.com/app_notes/US2066.pdf)

tolikkk:
lowest price  Kamagra Jelly in UK/GB  without script ; low prices for generic  Kamagra Jelly  in UK/GB online consulation with NO PRESCRIPTION 
 
>>> Want to buy Kamagra Jelly with Discount? CLICK HERE! <<<
 
GO to PHARMACY >>>   https://tr.im/americanpills 
 
 
Best Prices in USA for  Kamagra Jelly same day delivery no prescription  \\  http://www.boundtoburn.com/spark/index.php?topic=231759.new#new 
Buying in GB / UK  Kamagra Jelly next day no prescription   *  http://neww.9volna.ru/forum/viewtopic.php?f=2&t=833307 
Order in USA Online Cheap  Kamagra Jelly free prescription drug   -  http://forum.viktoria-park.ru/viewtopic.php?f=3&t=472960 
Purchase in Canada cheapest  Kamagra Jelly next day no prescription needed   <<  http://forum.webink-design.com/index.php?topic=957363.new#new 
Buy in United States cheapest  Kamagra Jelly overnight no prescription   !  http://hollywoodf-x.com/forum/viewtopic.php?f=2&t=574209 
Order in Australia Cheap Generic  Kamagra Jelly c.o.d. no prescription   ))  http://forum.plan-a-academy.com/index.php/topic,46644.new.html#new 
Discount Prices in GB / UK for  Kamagra Jelly without prescription overnight   >>  http://www.undergroundmarket.xyz/showthread.php?tid=9429&pid=39227#pid39227 
Ordering in USA Online  Kamagra Jelly shipped overnight without a prescription   !  http://truevlad.ru/showthread.php?tid=157823&pid=519214#pid519214 
Order Cheap  Kamagra Jelly next day no prescription   \\  http://www.pinkfloydglow.com.br/viewtopic.php?f=31&t=267009 
Ordering  Kamagra Jelly no prescription fast delivery   \\  http://giants.phys.au.dk/forum/viewtopic.php?f=1&t=810625 
Purchase in United States cheapest  Kamagra Jelly no prescription needed   #  http://hambre.sociedadnocturna.net/viewtopic.php?f=47&t=516241 
Order in Australia Cheap Online  Kamagra Jelly shipped by cash on delivery   #  http://www.forumwireless.com.br/index.php?showtopic=539298 
Cheap Price  Kamagra Jelly no prior script overnight  ???  https://www.gamerzchile.com/index.php?topic=47861.new#new 
Cheapest  Kamagra Jelly without rx,next day delivery   -  http://naijashout.com/forums/topic/research-papers-on-car-accidents-382727/page/9/#post-6315 
How To Purchase in Australia  Kamagra Jelly c.o.d. no prescription  ???  http://whatboxxstudios.com/support/forum/introduce-yourself/1651-purchase-cheapest-toprol-xl-low-prices-for-generic-toprol-xl-toprol-xl-with-credit-card-no-prescription#1651 
Where Can I Order in USA  Kamagra Jelly no script next day delivery   >  http://forum.muahangquangchau.vn/threads/where-to-get-lexapro-lowest-prices-lexapro-lexapro-online-consulation-with-no-prescription.656070/ 
How Can I Buy  Kamagra Jelly without prescription   ???  http://mta.advanced-gaming.org/lspd/index.php/topic,687885.new.html#new 
Low Cost  Kamagra Jelly with no rx   >  http://gokucoin.com/index.php?topic=47633.new#new 
Buy in Australia  Kamagra Jelly no prescription next day delivery   //  http://hoidoanhnghieptanphu.vn/forum/viewtopic.php?f=16&t=864248 
I Want to buy in USA  Kamagra Jelly cash on delivery  /  http://wlal.ru/womans-health/womans-health_863.html 
Ordering Online  Kamagra Jelly without rx,next day delivery   /  http://wwtest.gamingsandbox.com/forum/viewtopic.php?f=962&p=462392 
Purchase in Canada At Lowest Price  Kamagra Jelly no prior prescription  >  http://foro.hoylowcost.com/index.php?topic=26447.new#new 
Where Can I Order in Canada  Kamagra Jelly without a prescription shipped overnight   -  http://www.exacode.be/forum/viewtopic.php?f=2&t=549478&sid=d0a05222c6936456020525f9f533c9fc 
How To Order in Canada  Kamagra Jelly no prior prescription   >  http://supremos.site11.com/supf/viewtopic.php?f=8&t=56431 
Order Cheap Online  Kamagra Jelly free delivery on sale   \\  http://piminigeria.com/en/forum/success-stories/42020-mail-order-abana-how-to-purchase-abana-abana-at-discounted-prices#42020 
Order in USA Cheap Online  Kamagra Jelly prescriptions online   <<  http://gttchforum.za.pl/viewtopic.php?f=9&t=7202 
Buy Online  Kamagra Jelly overnight without dr approval   ???  http://neww.9volna.ru/forum/viewtopic.php?f=2&t=833542 
Where Can I Order in USA  Kamagra Jelly tablet without script   -  http://efokir.com/index.php?topic=70435.new#new 
Order in UK cheapest  Kamagra Jelly non prescription needed  -  http://www.ecodiscam.com/index.php/forum/bienvenue/11413-home-based-business-websites 
Canadian Licensed Pharmacy  Kamagra Jelly tablet without script   \\  http://images.sexyfolder.com/index.php?topic=6888.0 
Lowest Prices  Kamagra Jelly from u.s. pharmacy no prescription   #  http://sno.gpma.ru/index.php/forum/11---/225286-quiqly-delivery-cavertacheapest-price-to-order-cavertacaverta-without-prescription#225286 
Purchase At Low Cost  Kamagra Jelly online consulation with no prescription   <<  http://refereeforum.net/forum/index.php?showtopic=48012138 
Where To Order in USA  Kamagra Jelly no script next day delivery   \  http://www.swindonforum.co.uk/index.php?topic=35372.new#new 
Purchase in USA Online  Kamagra Jelly overnight without dr approval   >  http://ig-life.de/viewtopic.php?f=11&t=487360 
Buy Cheapest  Kamagra Jelly for sale online   //  http://whatboxxstudios.com/support/forum/introduce-yourself/1620-ordering-online-remeron-quality-generic-remeron-remeron-without-prescription#1620 
Cost in GB / UK Of  Kamagra Jelly next day delivery   <<  http://blackfriendlyhotel.com/viewtopic.php?f=3&t=627736 
Cheapest Prices in USA for  Genegra cash on delivery   @  http://www.depedangelescity.com/index.php/forum/welcome/394-best-place-to-buy-evecare-cheap-price-evecare-evecare-overnight-without-prescription 
Order  Kamagra Jelly from u.s. pharmacy no prescription   ))  http://cimacyprus.org/index.php/forum/welcome-mat/323618-fast-delivery-sinemet-where-can-i-buy-sinemet-sinemet-cheap-no-rx-required#322623 
Ordering in Australia  Kamagra Jelly cash on delivery online prescriptions   ))  http://kolorektal.com/forum/welcome-mat/32788-purchase-at-low-price-lopid-where-to-order-lopid-lopid-no-prescription-needed#32809 
I Want to order in USA  Kamagra Jelly pharmacy without prescription   //  http://mvp-web.de/module/MyBB/showthread.php?tid=450409 
Purchase Cheap Online  Kamagra Jelly no prescription   >  http://forum.plan-a-academy.com/index.php/topic,46493.new.html#new 
Order Online Cheap  Kamagra Jelly in internet drugs overnight   >>  http://neww.9volna.ru/forum/viewtopic.php?f=2&t=831852 
Cheapest  Kamagra Jelly non prescription   =  http://pj-rps.hol.es/index.php?topic=73019.new#new 
Purchase in USA At Lowest Price  Kamagra Jelly overnight without dr approval   <<  http://www.hilleltravel.com.br/index.php/forum/10-integer-luctus-libero-blandit-augue-elementum-dign/410459-low-cost-isoptin-sr-buy-discount-isoptin-sr-isoptin-sr-in-internet-drugs-overnight#419980 
Purchase in Canada Online  Kamagra Jelly c.o.d. no script   /  http://tupoeta.com/webs/redtalentohumano/forum/viewthread.php?thread_id=123722 
How To Purchase in Australia  Kamagra Jelly in internet drugs overnight   >>  http://museumsodafountain.com/index.php/forum/welcome-mat/25357-ordering-wellbutrin-xl-purchase-cheap-online-wellbutrin-xl-wellbutrin-xl-prescriptions-online#25361 
Buying in Australia At Lowest Price  Kamagra Jelly non prescription   >  http://filipina.sexyfolder.com/index.php?topic=50622.new#new 
Best Place in USA To Buy  Kamagra Jelly overnight no prescription required   //  http://www.moto7.net/forum/viewtopic.php?f=21&t=3397 
Purchase Cheap Online in Australia  Kamagra Jelly non prescription   !  http://blackskywhite.com/cntnt/rus/rus-about/otzivi-1.html 
Where To Buy in USA  Kamagra Jelly with credit card no prescription   \\  http://murfatlar-generaltoshevo.ro/forum/cazare/267-how-much-fincar-cheapest-fincar-fincar-c-o-d-no-rx#269 
Buy Discount  Super Active Pack-20 without script pharmacy   <<  http://steampunkbionics.com/3dpop/index.php?topic=1133681.new#new

Navigation

[0] Message Index

Go to full version