TI E2E Community
TMS320C6A8168 and RGB bits
I'm working with TMS320C6A8168 processor and Android Linux kernel provided by Gingerbread devkit 2.0. We developed pcb with wrong lcd connection to VOUT0 port (rgb, 6 bits/color, rgb signals are shifted and signal of most significant bit of each color are now connected to 7th bit of each color on video port).
So I tried 24bit mode (rgb888) and tried to remap colors in ti81xxfb driver:
static int ti81xxfb_setcmap(struct fb_cmap *cmap, struct fb_info *fbi)
(((*red++) & TI81XXFB_CLUT_MASK & 0xFC) << 22 |
(((*green++) & TI81XXFB_CLUT_MASK & 0xFC) << 14) |
(((*blue++) & TI81XXFB_CLUT_MASK & 0xFC) << 6) |
(trans & TI81XXFB_CLUT_MASK);
and it didn't produce any effect.
Also, i tried remap colors in user-space program(just put zeros in r,g,b arrays of struct fb_var_screeinfo and used FBIOPUT_VSCREENINFO). That way didn't seem to work as well as the first one, colors were same as colors in normal mode.
So I have a question: Is there any possibility to shift color bits?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.