Page 1 of 1

PWM TFT brighness control Nano Pi S2

Posted: Thu Jun 01, 2017 10:09 am
by fl0wtec
Dear @FATechsupport,

I want to control TFT backlight brightness with PWM signal via Android brightness slider on Nano Pi S2.

TFT is connected to LVDS connector of Nano Pi S2.
TFT has own LED driver for backlight AND provides a PWM input pin.

Three questions:

1) How to enable PWM signal genaration by Android backlight slider?

2) How to set corect frequency AND dudy cycle? (see attached image)

2) Can I map the PWM signal to LVDS Pin 19 (GPIOC15) which curretly is reserved for "one wire"?
This would be helpful as we could supply the PWM signal through the LVDS connector FPC directly to the TFT rather than having a separate wire to the TFT from any other GPIO pin.

led_pwm.PNG (68.66 KiB) Viewed 5612 times