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)
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 1 month ago
@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.
serveurperso 1 month ago
@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
serveurperso 1 month ago
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 2 months ago
@LunaVorax LOL lol bah si pourquoi pas écrire ça:D
serveurperso 2 months ago
@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 !
serveurperso 2 months ago