Solomon SSD1329 (Ritdisplay RGS13128096)
Controller: Solomon SSD1329.
Panel: Ritdisplay RGS13128096 and similar panels.
Type: OLED, green, 16 levels (4 bits/pixel), horizontal pixel packing.
Locking: Supported, but the display image is not visible when the display is locked. This causes a noticeable "glitch" on the display when the lock/unlock is performed.
Test hardware: TEV-LB1 test board. This board is a part of the EM1000TEV development system.
I/O Mapping for RGS13128096
This panel requires five I/O lines and an 8-bit data bus. The control lines are RES, D/C, R/W, E, and CS. Each control line can be connected to any I/O pin of your device, and each such I/O pin must be configured as an output (if your device requires explicit I/O line buffer configuration). The data bus can be connected to any 8-bit port. DO NOT configure this port for output.
The controller also has BS1 and BS2 interface type selection pins. For proper operation, tie these pins to Vcc.
The value of the lcd.iomapping property must be set correctly for the display to work (see Preparing the Display for Operation). For this particular display, the mapping string consists of six comma-separated decimal values:
- Number of the I/O line connected to RES.
- Number of the I/O line connected to D/C.
- Number of the I/O line connected to R/W.
- Number of the I/O line connected to E.
- Number of the I/O line connected to CS.
- Number of the I/O port connected to D7-0.
I/O line numbers are from the pl_io_num enum. The port number is from the pl_io_port_num enum. The line and port numbers are platform-specific. See the list of pl_io_num and pl_io_port_num constants in your platform specifications.
For the TEV-LB1, lcd.iomapping should be set to "44,43,42,41,40,4."
Code Example — TEV-LB1
This code will properly set up and enable this controller/panel (we assume that the testing is done using the TEV-LB1):
lcd.iomapping="44,43,42,41,40,4" 'RST,D/C,R/W,E,CS,D7-0
'configure control lines as outputs
io.num=PL_IO_NUM_44 'RST
io.enabled=YES
io.num=PL_IO_NUM_43 'D/C
io.enabled=YES
io.num=PL_IO_NUM_42 'R/W
io.enabled=YES
io.num=PL_IO_NUM_41 'E
io.enabled=YES
io.num=PL_IO_NUM_40 'CS
io.enabled=YES
'set resolution
lcd.width=128
lcd.height=96
'optionally set lcd.rotated here
lcd.enabled=YES 'done!