This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Request initialization of SSD1289

Other Parts Discussed in Thread: TM4C123GH6PM

Dear all,

  I am working on a project to use SSD1289 for a 3.2" 320x240 TFT panel with the TM4C123GH6PM MCU. But despite the properly written codes for inti, it is not getting intialized. Has anyone worked on the same ? The code is quite big and hence I have not pasted it here. If required it can be done.

  • Believe multiple display vendors (should) have such code.  (often posted on their site - otherwise (usually) available upon request)

    Not always are these fully correct or complete - thus multiple sources should be examined/compared/contrasted...

  • Has anyone worked on the same ?

    Not this, but other one's - and they are usually quite the same technologically.

    But despite the properly written codes for inti, it is not getting intialized.

    Assuming you claim is correct, you probably mean just the sequence of code. However, the timing is equally important. Check the vendor's example code (also for comments about timings/delays !), or the datasheet. Some internal supply stages require startup times in the millisecond range.

    Smoke-testing this is quite simple - just single-step through your initialization code with the debugger. If that works, at least partially, you have a timing problem.

  • Hi Frank (pardon) f.m.,

    Indeed you've well illustrated the process - yet we've (long) past used that Lcd Controller (successfully) - and indeed the (vendor supplied) set-up code was faulty - thus my suggestion to acquire such set-up code in multiple - and compare.

    With that as a beginning - your methods have far more chance of success...
  • Sir,
    Thanks a lot for your reply. I have cross checked with the codes from various sources, but none seemed to work. However, that is why I am unsure If at all all the codes I am going thru have really worked! So I requested a working example if present.
  • Thank you - I'll look - but as stated that was (long past).  

    SSD1289 is produced by "Solomon Systech" - iirc we had to go to them to acquire the correct set-up/init code.    (and understanding of several key/critical registers)    

    Poster f.m.'s suggestion of "slowly" stepping thru the init routine is "spot on."   Further - your "reading back" the key register data (to confirm correctness) most always proves worthwhile.   (i.e. he who "assumes!")

    As always - may I suggest that you test/verify - across multiple displays.   Single unit anomalies are the bane of testing - and are easily avoided...   (Not to ask - How I know?)

  • Further - your "reading back" the key register data (to confirm correctness) most always proves worthwhile.   (i.e. he who "assumes!")

    You are correct - just forgot that. But that step is crucial to verify that the communication to the LCD controller is actually working. If not, all following configuration attempts are futile.