DSPRelated.com
Forums

16x2 LCD through GPIO port

Started by asif bagwan May 24, 2008
hellow freinds I minterfacing 16x2 LCD through GPIO port and its connectionare as follows
HPI_PIN_NO. GPIO_PIN_NO. LCD_PIN
11 4 R/S(4)
802 RW(5)
15 3 EN(6)
198 7
2298
2110 9
241110
231211
2613 12
2514 13
2815 14
I am using GPIO lines as shown above.but still not getting characters.It is correct to connect LCD as shown above.
Plz suggest me for the correction and it is required to connect LCD drivver to LCD
PLZ guide me
-asif
ASIFBAGWAN
Hi,

I would suggest you read your LCD data sheet carefully. The things you
have to consider:
- Do LCD voltage levels fit with GPIO voltage levels. If not use a
driver.
- GPIO pins have a default power on state. Choose your pinning so that
LCD can work with this.
- A lot of LCDs have an internal reset circuit. Give LCD enough time
to come out of reset before normal communication.
- Be sure to meet the timming requirements of the LCD. Verify with an
osci.

HTH

Gustl
asif bagwan schrieb:
> hellow freinds I m interfacing 16x2 LCD through GPIO port and its
> connection are as follows
> HPI_PIN_NO. GPIO_PIN_NO. LCD_PIN
> 11
> 4 R/S(4)
>
> 80 2
> RW (5)
>
> 15 3
> EN(6)
>
> 19 8
> 7
>
> 22 9 8
>
> 21 10
> 9
>
> 24 11 10
>
>
> 23 12 11
> 26 13
> 12
>
> 25 14
> 13
>
> 28 15
> 14
>
>
>
> I am using GPIO lines as shown above.but still not getting characters.It
> is correct to connect LCD as shown above.
>
> Plz suggest me for the correction and it is required to connect LCD
> drivver to LCD
>
> PLZ guide me
>
> -asif
Gustl-

Good comments. I might add that some C64x GPIO pins may not have a defined power-on
state, but that can be dealt with by adding appropriate pull-up/pull-down Rs.

-Jeff

Bernhard 'Gustl' Bauer wrote:
>
> Hi,
>
> I would suggest you read your LCD data sheet carefully. The things you
> have to consider:
> - Do LCD voltage levels fit with GPIO voltage levels. If not use a
> driver.
> - GPIO pins have a default power on state. Choose your pinning so that
> LCD can work with this.
> - A lot of LCDs have an internal reset circuit. Give LCD enough time
> to come out of reset before normal communication.
> - Be sure to meet the timming requirements of the LCD. Verify with an
> osci.
>
> HTH
>
> Gustl
>
> asif bagwan schrieb:
> >
> >
> > hellow freinds I m interfacing 16x2 LCD through GPIO port and its
> > connection are as follows
> > HPI_PIN_NO. GPIO_PIN_NO. LCD_PIN
> > 11
> > 4 R/S(4)
> >
> > 80 2
> > RW (5)
> >
> > 15 3
> > EN(6)
> >
> > 19 8
> > 7
> >
> > 22 9 8
> >
> > 21 10
> > 9
> >
> > 24 11 10
> >
> >
> > 23 12 11
> >
> >
> > 26 13
> > 12
> >
> > 25 14
> > 13
> >
> > 28 15
> > 14
> >
> >
> >
> > I am using GPIO lines as shown above.but still not getting characters.It
> > is correct to connect LCD as shown above.
> >
> > Plz suggest me for the correction and it is required to connect LCD
> > drivver to LCD
> >
> > PLZ guide me
> >
> > -asif
>