This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM35xx: How to swap pixel data output pins from BGR to RGB?

Other Parts Discussed in Thread: AM3505

 

I want to connect a 8bit LCD panel with the AM3505 device. According to the user manual, the RGB output pins dss_data[x] refers to the color data as follows:

dss_data[0] = B0

.....

dss_data[7] = B7

dss_data[8] = G0

.....

dss_data[15] = G7

dss_data[16] = R0

.....

dss_data[23] = R7

Now, when I connect these outputs to my LCD circuit, I get crossovers in the PCB layout because my LCD input cicuit requires a RGB pixel data signals not a BGR.

So, simple question: Is there a function or a register to swap the blue and the red channel on the output pins like this:

dss_data[0] = R0

.....

dss_data[7] = R7

dss_data[8] = G0

.....

dss_data[15] = G7

dss_data[16] = B0

.....

dss_data[23] = B7