I’m afraid I’m not going to be able to use the CP7 display with my Cobra II; as I had hoped.
The CP7 is a nice display, but it is simply not bright enough for my application.
Could someone point me in the right direction for connecting another LCD and getting NetMF to work with it? I have not picked an LCD yet but it’ll be 7-8", touchscreen, and capable of (in)direct sunlight.
I’m not afraid of the wrench time (if needed). I’d rather get it done right. I will take the display out tomorrow in the proper conditions (there is some available shading) and see if CP7 is acceptable.
I’m just looking to understand what the other choice might be, if the CP7 is a wash-out.
You will need to dig in the LCD datasheet for the correct timing values. And, you only need to do this once, those settings are remembered after reboot. Remember, G120 has 16bit RGB interface (5 bits for blue and red and 6 bits for green),and if you LCD has 24bit (8 bits for each color) interface, you have to remap pins G8->G5, G7->G4,…, etc., and the ground G0, G1, R0-R2, B0-B2 pins on the LCD.
Pretty much it! I’ve done that a couple of times recently, as I was also looking for a suitable display. PRototypes aren’t looking pretty — but works
Regarding the 24bit interface LSBs, I think it is better not to ground them. This will not let you achieve true white. I think that shorting the MSBs with the LSBs is better. This way the LSB will become ‘1’ when the MSB does.
The example shows an 18-bit panel mapped to a 16-bit controller, but the idea should be clear. It simply shows one way you can deal with the unused bits. The unused least-significant bits of the panel may be tied to Gnd. Alternatively, the LSBs of each color on the panel can also be tied to the most-significant bits of the same color on the LCD controller output to allow full color range (full black or full white), per this discussion at this forum: http://www.microchip.com/forums/m605013-print.aspx and also as @ S.B.D said.
I personally grounded those least significant bits. GHI does the same on their displays.
And yes, for G120, DE goes to pin3 (P2_4). But I believe it does not matter much, it may be tied to logic “1” (it depends on the display if it’s GND or +3.3), because there’s a setting in LCD controller: