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.
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.