我用Harmony 1.06LCC颜色深度分别设置为8位和16位进行了两次检查。该变化既不影响EBISMCON.SMDWIDTH0,也不影响1或2或PMMODE.MODE16。直到我得到了PIC32的目标显示适配器,我才能用另一个显示器进行测试,这个显示器是16位RGB(5-6-5),工作起来像个魔咒。在另一个项目中,我将这个新项目派生出来。将“和谐”项目设置为8位颜色深度,将16位显示器上的结果更改如下:用红色填充:每4个像素是黑色(或非常暗)。其他的都是红色的。所有的像素都是蓝色的。填充蓝色。每第四个像素是黑色的(或者非常暗)。其他的颜色是绿色的。绿色和蓝色之间的颜色变化符合我的预期,即把3-3-2输出映射到5-6-5输入上。不知道黑条来自哪里。编辑:等等,不。根本不应该有蓝色,因为应该只维修R和G数据线的一部分。但是显示棋盘并用示波器测量显示,所有16条数据线对于每个像素,PCLK,HSYNC,VSYNC,DE都愉快地切换。N都是按预期工作的,为什么我不能把输出切换到8位?即使在调试视图中设置PMMODE还是EBISMCON寄存器?
以上来自于百度翻译
以下为原文
I did two checks with Harmony 1.06 LCC color depth set to 8 and 16 bits respectively.
The change did neither affect EBISMCON.SMDWIDTH0 nor 1 nor 2 nor PMMODE.MODE16.
Until I get my target display adapter for the PIC32, I can test with another display, which is 16bit RGB (5-6-5) and works like a charm in another project, which I derive this new one from.
Setting the Harmony project to 8 bit color depth changes the result on my 16 bit display as follows:
Fill-with-red: every 4th pixel is black (or very dark). The others are red.
Fill-with-green: all pixels are blue.
Fill-with-blue: every 4th pixel is black (or very dark). The others are green.
The color change between green and blue matches my expectation from mapping a 3-3-2 output on a 5-6-5 input. No idea where the black bars come from.
Edit:
Wait, no. There should not be any blue at all because only R and parts of G data lines should be serviced.
But displaying a checker board and measuring with an oscilloscope shows that all 16 data lines happily toggle for every pixel, PCLK, HSYNC, VSYNC, DEN all work as expected.
Why can't I switch the output to 8 bit? Not even by setting the PMMODE or EBISMCON registers in debug view?
我用Harmony 1.06LCC颜色深度分别设置为8位和16位进行了两次检查。该变化既不影响EBISMCON.SMDWIDTH0,也不影响1或2或PMMODE.MODE16。直到我得到了PIC32的目标显示适配器,我才能用另一个显示器进行测试,这个显示器是16位RGB(5-6-5),工作起来像个魔咒。在另一个项目中,我将这个新项目派生出来。将“和谐”项目设置为8位颜色深度,将16位显示器上的结果更改如下:用红色填充:每4个像素是黑色(或非常暗)。其他的都是红色的。所有的像素都是蓝色的。填充蓝色。每第四个像素是黑色的(或者非常暗)。其他的颜色是绿色的。绿色和蓝色之间的颜色变化符合我的预期,即把3-3-2输出映射到5-6-5输入上。不知道黑条来自哪里。编辑:等等,不。根本不应该有蓝色,因为应该只维修R和G数据线的一部分。但是显示棋盘并用示波器测量显示,所有16条数据线对于每个像素,PCLK,HSYNC,VSYNC,DE都愉快地切换。N都是按预期工作的,为什么我不能把输出切换到8位?即使在调试视图中设置PMMODE还是EBISMCON寄存器?
以上来自于百度翻译
以下为原文
I did two checks with Harmony 1.06 LCC color depth set to 8 and 16 bits respectively.
The change did neither affect EBISMCON.SMDWIDTH0 nor 1 nor 2 nor PMMODE.MODE16.
Until I get my target display adapter for the PIC32, I can test with another display, which is 16bit RGB (5-6-5) and works like a charm in another project, which I derive this new one from.
Setting the Harmony project to 8 bit color depth changes the result on my 16 bit display as follows:
Fill-with-red: every 4th pixel is black (or very dark). The others are red.
Fill-with-green: all pixels are blue.
Fill-with-blue: every 4th pixel is black (or very dark). The others are green.
The color change between green and blue matches my expectation from mapping a 3-3-2 output on a 5-6-5 input. No idea where the black bars come from.
Edit:
Wait, no. There should not be any blue at all because only R and parts of G data lines should be serviced.
But displaying a checker board and measuring with an oscilloscope shows that all 16 data lines happily toggle for every pixel, PCLK, HSYNC, VSYNC, DEN all work as expected.
Why can't I switch the output to 8 bit? Not even by setting the PMMODE or EBISMCON registers in debug view?
举报