I've got an DD-9664FC-2A OLED display from densitron (controller is
I ordered it from farnell along with the adapter board.
I've got troubles interfacing this display serially to my AT91SAM7S256.
You can find my code along with datasheets for display, controller and
adapter board here:
I've done everything to slow down the software as far as i could (to
make sure i am not going too fast for the display).
The µC should run at about 8 MHz and i (almost randomly) added heavy
I first tried to use the example sequences that one can find in the
display datasheet. Then i found this website offering code to interface
exactly the same display:
I am now using the sequence presented in the driver on that site because
i trust it to be correct.
I short circuited jumper J3, J8 (VDDIO to VDD), J4, J5, J6 (BS1 to GND)
and J7 (BS2 to GND) on the adapter board. This should be the standard
I generate the high voltage for OLED with a little unregulated SMPS
(voltage clamp with zener diodes). It is switched to the OLED display by
Here is a "nice" picture of my setup:
The serial interface of the SSD1331 is described in the datasheet on
I just connected D0 and D1 which should make up the serial interface:
D0 being clock -> connected to PA14
D1 being data -> connected to PA13
DC -> connected to PA7
RES -> connected to PA8
CS -> connected to PA11
RW_WR tied to GND
E_RD tied to GND
I have added a few layers of stick tape on the bottom of the fixture to
increase the preasure on the foil connector pins.
I wonder if i should solder the display to make sure it got contact.
So far i was not able to get a single pixel lit (not randomly nor in a
I don't see the flaws in my software, it appears straight forward to me.
Does anyone know whether it is dangerous to connect the high drive
voltage (VCC) to the OLED before it was properly initialized?