EmbeddedRelated.com
Forums

Initializing LCD from LPC2478

Started by Alberto de Martini July 6, 2009
Hi,

Im working with Olimex Kit I would like to configure the LCD in a diferent
way, for example, change the orientation. I know that there are some
registers that I need to set at the initialization, like Register 01H, but I
dont know how to set it. Im using the IAR software:

\Program Files\IAR\ARM\examples\NXP\LPC24xx\IAR-LPC-2478\LDC_Demo

The LCD is working very well, but I cant change the driver setings. The LCD
driver is the HX8218.

Best regards,

Alberto


An Engineer's Guide to the LPC2100 Series

Hi Alberto,

I did mirror change by software, and I think it is possible for 90/270 grad change.

It could be too simple by register :-), if you find please let us know.

Regards
Vladimir
--- In l..., Alberto de Martini wrote:
>
> Hi,
>
> Im working with Olimex Kit I would like to configure the LCD in a diferent
> way, for example, change the orientation. I know that there are some
> registers that I need to set at the initialization, like Register 01H, but I
> dont know how to set it. Im using the IAR software:
>
> \Program Files\IAR\ARM\examples\NXP\LPC24xx\IAR-LPC-2478\LDC_Demo
>
> The LCD is working very well, but I cant change the driver setings. The LCD
> driver is the HX8218.
>
> Best regards,
>
> Alberto
>
>
>
>

I started to study the SWIM library from nxp site and I realized that there
is a simple way of doing that on the configurations files, recomend having a
look on it.

I am not sure if the SWIM lib is complicated or the exemple that is using
the SWIM is complicated.. I am trying to use it.

2009/7/8 ljaschko

> Hi Alberto,
>
> I did mirror change by software, and I think it is possible for 90/270 grad
> change.
>
> It could be too simple by register :-), if you find please let us know.
>
> Regards
> Vladimir
>
> --- In l... , Alberto de
> Martini wrote:
> >
> > Hi,
> >
> > Im working with Olimex Kit I would like to configure the LCD in a
> diferent
> > way, for example, change the orientation. I know that there are some
> > registers that I need to set at the initialization, like Register 01H,
> but I
> > dont know how to set it. Im using the IAR software:
> >
> > \Program Files\IAR\ARM\examples\NXP\LPC24xx\IAR-LPC-2478\LDC_Demo
> >
> > The LCD is working very well, but I cant change the driver setings. The
> LCD
> > driver is the HX8218.
> >
> > Best regards,
> >
> > Alberto
> >
> >
> >
> >
>


Hi people,

Now I know how to configure, I am using now an panel with HX8238A and I
needed to configure by SPI. I developed and new board similar to OLIMEX but
now with SPI interface connected to the panel. I just send by SPI the
commands I need and is working very well.

The swin.lib can do that to, but modifing the panel registers is much
easier. If somebory is having the same problem that I had, I will be glad to
help.

Best Regards

Alberto de Martini

2009/7/9 Felipe de Andrade Neves Lavratti

> I started to study the SWIM library from nxp site and I realized that there
> is a simple way of doing that on the configurations files, recomend having
> a
> look on it.
>
> I am not sure if the SWIM lib is complicated or the exemple that is using
> the SWIM is complicated.. I am trying to use it.
>
> 2009/7/8 ljaschko >
> >
> >
> > Hi Alberto,
> >
> > I did mirror change by software, and I think it is possible for 90/270
> grad
> > change.
> >
> > It could be too simple by register :-), if you find please let us know.
> >
> > Regards
> > Vladimir
> >
> > --- In l... > 40yahoogroups.com>, Alberto de
> > Martini wrote:
> > >
> > > Hi,
> > >
> > > Im working with Olimex Kit I would like to configure the LCD in a
> > diferent
> > > way, for example, change the orientation. I know that there are some
> > > registers that I need to set at the initialization, like Register 01H,
> > but I
> > > dont know how to set it. Im using the IAR software:
> > >
> > > \Program Files\IAR\ARM\examples\NXP\LPC24xx\IAR-LPC-2478\LDC_Demo
> > >
> > > The LCD is working very well, but I cant change the driver setings.
> The
> > LCD
> > > driver is the HX8218.
> > >
> > > Best regards,
> > >
> > > Alberto
> > >
> > >
> > >
> > >
> >
> >
> >
>
>
>