Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litesom:devicetree:lcd [2017/02/16 20:05]
filug [Backlight]
litesom:devicetree:lcd [2021/05/10 13:40] (current)
kateryna.kozakova
Line 1: Line 1:
 ====== liteSOM and LCD display ====== ====== liteSOM and LCD display ======
 +
 +<well>
 +{{:github-mark-32px.png?nolink |}}
 +
 +Example available on [[https://github.com/grinn-pub/examples|GitHub]].
 +Check [[https://github.com/grinn-pub/examples/blob/master/configs/grinn_liteboard_lcd_res_defconfig|liteboard LCD + touchscreen]].
 +</well>
  
 <columns 100% 50% - -> <columns 100% 50% - ->
Line 37: Line 44:
   * ''PWM'' - <tooltip title="to control LCD display backlight">Pulse Width Modulation</tooltip>.   * ''PWM'' - <tooltip title="to control LCD display backlight">Pulse Width Modulation</tooltip>.
  
-Below you can see how to configure [[litesom:liteboard]] to support [[modules:lcd]] module.+Below you can see how to configure [[litesom:liteboard]] to support [[devices:lcd]] module.
  
-<alert type="info">Complete example for [[litesom:liteboard]] and [[modules:lcd]] you can find on our [[https://github.com/grinn-pub/examples|GitHub examples repository]].</alert>+<alert type="info">Complete example for [[litesom:liteboard]] and [[devices:lcd]] you can find on our [[https://github.com/grinn-pub/examples|GitHub examples repository]].</alert>
  
 On [[evm:lcd]] we are using [[https://riverdi.com/product/rvt7-0a800480tnwr00/|RVT7.0A800480TNWR00]] TFT display produced by [[https://riverdi.com/|Riverdi]]. Below you can find short details about this device: On [[evm:lcd]] we are using [[https://riverdi.com/product/rvt7-0a800480tnwr00/|RVT7.0A800480TNWR00]] TFT display produced by [[https://riverdi.com/|Riverdi]]. Below you can find short details about this device:
Line 281: Line 288:
 <newcolumn> <newcolumn>
  
-On [[litesom:liteboard]] you can find dedicated LCD backlight boot converter (see [[http://www.ti.com/product/TPS61042|TPS61042]]) controlled by [[:litesom]] via ''PWM2 output'' pin.+On [[litesom:liteboard]] you can find dedicated LCD backlight boot converter (see [[https://www.ti.com/product/TPS61042|TPS61042]]) controlled by [[:litesom]] via ''PWM2 output'' pin.
  
 {{ :litesom:devicetree:litesom_backlight_driver.png?500 |}} {{ :litesom:devicetree:litesom_backlight_driver.png?500 |}}
Line 291: Line 298:
 Backlight configured as presented here will: Backlight configured as presented here will:
  
-  * generate PWM with 200Hz frequency (perion 5000000 ns),  +  * generate PWM with 200Hz frequency (period 5000000 ns),  
   * use ''PWM2'' peripheral as backlight controller,   * use ''PWM2'' peripheral as backlight controller,
   * define eight allowed backlight levels: 0%, 2%, 3%, 6%, 13%, 25%, 50%, 100%,   * define eight allowed backlight levels: 0%, 2%, 3%, 6%, 13%, 25%, 50%, 100%,
Line 303: Line 310:
 </columns> </columns>
  
-FIXME Show how to test this setup.+
  • litesom/devicetree/lcd.1487275500.txt.gz
  • Last modified: 2017/02/16 20:05
  • by filug