- This topic has 3 replies, 2 voices, and was last updated 8 years, 3 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Mastering STM32 book support forum › STM32f746 discovery - backlight
Would anyone know if there is a way to disable the backlight in the demo that Carmine has made for this board? or even dime it?
Thanks!
The backlight of the LCD provided by STM32F746-Discovery boards is driven by a dedicated IC, the STLD40D from ST. The enable pin of this IC is connected to the PK_3 pin of the STM32F7 MCU. According the STLD40D datasheet the enable pin can be used to dim the backlight, by suppling a PWM signal (see Fig. 14 at page 10).
I’ve added a sample project here:
https://github.com/cnoviello/stm32-discof7/tree/master/stm32-discof7-lcddim
It simply dims the LCD backlight when the USER BUTTON (blue one) is pressed.
Thanks a bunch! Hopefully i will get around to testing this out tonight!