G120 LCD Question

Hi,
I’m currently designing a custom board for the G120. I’ll be using a 3.5" LCD from RayStar (RFC35C-CIW-D-000) + 4 wire touch.

In the G120 pinout diagram, pin #3 functions as PWM10 or LCD enable. I need to use this pin as a PWM signal.
Will the LCD Init routine take control over this pin for LCD enable?

Will it be a problem to have a different IO control the LCD reset pin.

Thanks,
S.B.D

Yes the pin will be automatically used for LCD.

What you can do is manually touch the registers directly to change the pin back to GPIO. The only down side is you will have a glitch at the beginning.

[quote]Yes the pin will be automatically used for LCD.

What you can do is manually touch the registers directly to change the pin back to GPIO. The only down side is you will have a glitch at the beginning.[/quote]

Thanks Gus,
Do mean that after LCD init the only way to use this pin as PWM is through the register access driver?
I don’t mind a slight glitch at startup with the backlight still off.

S.B.D

The glitch is not on the display but on that PWM pin. Thinking more about this, you should be able to do it with no glitches.

You will need to touch the processor registers directly to control this pin.