I'm working with STEmWin V5.28 with an SSD1351 Oled display. 8 bit parallel interface.
I've configured the Flex driver like this (removed some irrelevant code lines)
On Init the driver writes to the register 0xA0 a value of 0x00, which is the wrong value.
Referring here:
hpinfotech.ro/SSD1351.pdf
Register 0xA0 bits 7:6 set the colour depth. 00b is 256 colour, despite the driver being set for 565. The correct value is 01b for 65K colour.
Also for my display bit 5 needs to be set (enable COMsplit odd even) and bit 4 to be set (scan from COM[N-1} to COM0.)
So my display works with a value of 0x70.
I've hacked my code to intercept that register write and change the value, but is there something with my configuration that is causing this?
Thanks.
I've configured the Flex driver like this (removed some irrelevant code lines)
On Init the driver writes to the register 0xA0 a value of 0x00, which is the wrong value.
Referring here:
hpinfotech.ro/SSD1351.pdf
Register 0xA0 bits 7:6 set the colour depth. 00b is 256 colour, despite the driver being set for 565. The correct value is 01b for 65K colour.
Also for my display bit 5 needs to be set (enable COMsplit odd even) and bit 4 to be set (scan from COM[N-1} to COM0.)
So my display works with a value of 0x70.
I've hacked my code to intercept that register write and change the value, but is there something with my configuration that is causing this?
Thanks.