PIC32 and 3.2" QVGA LCD TFT with SSD1289 driver and 16 bits parallel bus

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,193
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 15, 2011

My upgraded init sequence for SSD1289 driver :
send(0x07, 0x0021);//Display Control (R07h) (POR = 0000h) GON = 1 DTE = 0 D[1:0] = 01
send(0x00, 0x0001);//Oscillator (R00h) (POR = 0000h)
send(0x07, 0x0023);//Display Control (R07h) (POR = 0000h) GON = 1 DTE = 0 D[1:0] = 11
send(0x10, 0x0000);//Sleep mode (R10h) (POR = 0001h)
(wait 30ms)
send(0x07, 0x0033);//Display Control (R07h) (POR = 0000h) GON = 1 DTE = 1 D[1:0] = 11
send(0x11, 0x6830);//Entry Mode (R11h) (POR = 6830h)
send(0x02, 0x1000);//LCD-Driving-Waveform Control (R02h) (POR = 0000h)
//send(0x0f, 0x0000);//Gate Scan Position (R0Fh) (POR = 0000h)
send(0x01, 0x2B3F);//Driver Output Control (R01h) (POR = [0XXXX0X1]3Fh)
//send(0x0b, 0x5308);//Frame Cycle Control (R0Bh) (POR = 5308h)
send(0x28, 0x0006);//Setting R28h as 0x0006 is required before setting R25h and R29h registers.
send(0x25, 0xE000);//Frame Frequency Control (R25h) (POR = 8000h)

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (serveurperso)

  • hi, could you tell me if you have to send images to lcd non stop or you just have to send it once and it stay's in the lcd?

  • @wytis Hi, sorry I'm French my english is not very good. Your answer is send it once and it stay's in the lcd. Look the SSD1289 datasheet, it's a LCD driver with one (active) frame memory. it's like a parallel memory + Horizontal, Vertical Lines and filled rectangular block primitive are accelerated + few basic options (vertical scrolling, window) No framebuffer i must draw and erase line by line in realtime.

  • @wytis It would be a huge technical aberration wasting the precious PIC32 calculation time to refresh a LCD very slowly because a stupid dedicated chip (or a FPGA) can do it easily (and cheaply).

    Pascal

  • Je sais que je ne devrais pas écrire cela, mais le passage avec les Tux et les LOL me fait toujours mourir de rire.

  • @LunaVorax LOL lol bah si pourquoi pas écrire ça:D

  • @LunaVorax en plus ce LCD j'ai du le renvoyer au constructeur : données corrompues en mémoire on le vois légèrement sur la vidéo !

see all

All Comments (11)

Sign In or Sign Up now to post a comment!
  • @serveurperso thanks for the info

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more