[linux-cirrus] Re: 320x240 Passive LCD with 4 pixels per clock

  • From: Manfred Gruber <m.gruber@xxxxxxxxx>
  • To: linux-cirrus@xxxxxxxxxxxxx
  • Date: Fri, 22 Sep 2006 10:49:16 +0200

Hi !

Ok I have now a sucessfull running driver on ep93xx for such an monochrome 
display. I will put this driver our homepage when it is full finished.

The only problem which i now have is that 1 bpp framebuffer has in memory:  
7 6 5 4 3 2 1 0 pixel in byte 0

and the hardware wants 

0 1 2 3 4 5 6 7 pixel in byte 0.

So has someone an idea how to do a byte swap in the framebuffer?
So I see for an echo "L" > /dev/tty1 this on the screen: "_|"

Someone an Idea
Regards thanks manfred 


Am Donnerstag, 21. September 2006 07:41 schrieb Manfred Gruber:
> Hi ep93xx users !
>
> Has someone tried to get such a display working on Linux 2.6.14/15 Kernel.
> I am trying to get a Hitachi SP14Q005-ZAA to work with Ep9315 but without
> big success.
>
> I have looked into the document
> http://www.cirrus.com/en/pubs/appNote/AN269REV1.pdf
>
> There is a display explained: Hosiden HLM 6323. Which looks for me like my
> one but not exact.
>
> I have the problem that i don't understand how I tell the Raster engine how
> to put out 4 pixels per clock and how the framebuffer has to be set up.
>
> When I look in the PDF on page 15 there a Pixelmode of 4 pixel per clock is
> explained, and I would take one collor, for example blue, so the connection
> for the Display 4 data lines would have P0, P4, P8 and P12. But on the
> explanation on the Hosiden Display would connect P1,P2,P3 and P4 on page
> 62. ???? why
>
> The Hosiden Display would set in the pixelmode register 0x1401, but 0x1401
> don't set 4 pixel per shift clock It sets :
>
> P: 4 bit per pixel
> S: 1 pixel per clock (4 bit wide)
> M: 0 no blink
> C: 16 bit 565 color mode
>
> I don't understand how this works with the display? How are 4 pixel clocked
> out on the data lines ?
>
> Why is set on the Horizontal Conter settings 80 clocks the base and not 320
> ?
>
> So I think I understand something completely wrong with LCD displays, maybe
> someone has some information for me what I do wrong.
>
>  Thanks a lot for any information,
>  regards manfred

Other related posts: