Connecting RGB data bus

Microchip Graphics Library

Microchip Graphics Library
Connecting RGB data bus

To connect the 16-bit RGB data bus to a 24-bit or 18-bit RGB data bus of a display glass follow the recommended connection to evenly spread the color coverage. 

 

16-bit (5-6-5) RGB Display Controller Data Bus 
18-bit (6-6-6) RGB Display Data Bus 
24-bit (8-8-8) RGB Display Data Bus 
Red[4:0] 
 
 
Controller Red[4:0] 
Display Red[5:1] 
Display Red[7:3] 
Controller Red[4] 
Display Red[0] 
Display Red[2:0] 
Green[4:0] 
 
 
Controller Green[5:0] 
Display Green[5:0] 
Display Green[7:2] 
Controller Green[5] 
Display Green[5] 
Display Green[1:0] 
Blue[4:0] 
 
 
Controller Blue[4:0] 
Display Blue[5:1] 
Display Blue[7:3] 
Controller Blue[4] 
Display Blue[0] 
Display Blue[2:0] 

 

To illustrate the connection take the Red for example: 

 

To connect the Display Controller Red Data Bus to the Red data bus of a RGB Glass with 18 bit color data bus. 

Connect the 5 Red signals from the display controller to the most significant bits of the glass red signals. 

Controller Red[4:0] -> Display Red[5:1] 

 

The remaining Display Red[0] signal will be connected to the most significant bit of the display controller red. 

Controller Red[4] -> Display Red[0] 

 

To connect the Display Controller Red Data Bus to the Red data bus of a RGB Glass with 24 bit color data bus. 

Connect the 5 Red signals from the display controller to the most significant bits of the glass red signals. 

Controller Red[4:0] -> Display Red[7:3] 

 

The remaining Display Red[2:0] signals will be connected to the most significant bit of the display controller red. 

Controller Red[4] -> Display Red[2] 

Controller Red[4] -> Display Red[1] 

Controller Red[4] -> Display Red[0] 

 

Doing this spreads out the color coverage while at the same time pure black and pure white colors are achieved.

Links
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved