Hi,
We are using the grlib from the StarterWare example from the AM335x on our custom board (which is close to a MityARM 3359). The demo
examples use 24bpp in the graphics library's but our board uses 16bpp. Our display is very close to the Cape display used by the Beaglebone
and is 480x272. What we are looking for is some guidance about changes needed for using 16bpp. Some of the things to note below:
- There is a double display of the text. There is only supposed to be a single top line of "BASIC CONFIG". This double line showed
up when we changed from GrOffScreen24BPPInit() to GrOffScreen16BPPInit(). When we used the 24bpp init there was only
a single line of text.
- The font should be much larger. We are using a 32 point bold font and again when we shifted the init routines the font size changed.
- The colors are wrong. The text is supposed to be in Yellow, not white. The init routines had no effect on this.
Because the GrOffScreen16BPPInit() only sets the the function callouts, it does not appear that our configuration of the Raster
control register of the AM3359 are far off (RASTER_CTRL Register). If we use the 24bpp init we get the right font size (text on lines
below the top line are still scrambled.)
Has the grlib 16bpp been tested on a platform like the cape? Does anyone have suggestions/thoughts as to wether this
is more of a raster setup issue of a graphics library issue?
Thanks,
John Conover