[ECOS] LCD bit order on EP7212 under eCos

Gary Thomas gthomas@ecoscentric.com
Thu Oct 3 10:06:00 GMT 2002


On Thu, 2002-10-03 at 10:12, Peter Dennett wrote:
> A bit off topic but I am hoping someone has knowledge on
> the LCD controller in the Cirrus EP7212.  I have eCos up
> on this and have been starting some development on the
> LCD display.  I am running in the 1-bit mode, no gray
> scale.  The bit order within a byte for the frame buffer
> is not what I expected -  0x80 turns on the right most
> pixel within a byte on the display and 0x01 turns on the 
> left most (bit reversed within each byte).  
> 
> A year or so back I had LINUX on this same board and 
> I dont think this was the case (I am not positive and 
> it would be difficult to recreate the test).  I have done a
> quick scan of the data sheet did not find anything. A
> browse of the LINUX driver I used for this effort and nothing
> jumped out at me...
> 
> Anyone know if it is possible to configure this part to
> operate in the more normal mode?  If so how...

I did the original EDB7xxx work and AFICR this is just how
the LCD frame controller works.  When you use it for multi-bit
pixels, it's even worse :-(

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list