Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge-2l:applications:gpio:pwm

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
products:sbc:edge-2l:applications:gpio:pwm [2026/02/25 22:38]
gray Modify non-standard titles
products:sbc:edge-2l:applications:gpio:pwm [2026/05/11 02:08] (current)
nick ↷ Page moved from local:users:gray:products:sbc:edge-2l:applications:gpio:pwm to products:sbc:edge-2l:applications:gpio:pwm
Line 16: Line 16:
  
  
-===== Enable PWM via device tree overlay=====+===== Enable PWM =====
  
 To use the hardware PWM, you must first enable it by applying a [[products:sbc:common:configurations:device-tree-overlay|Device Tree Overlay]]. To use the hardware PWM, you must first enable it by applying a [[products:sbc:common:configurations:device-tree-overlay|Device Tree Overlay]].
  
-Edit the file '/boot/dtb/rockchip/rk3576-khadas-edge-2l.dtb.overlay.env' and add the overlay 'edge-2l-io-pwm' to the 'fdt_overlays' parameter if it is not already present:+Edit the file ''/boot/dtb/rockchip/rk3576-khadas-edge-2l.dtb.overlay.env'' and add the overlay ''edge-2l-io-pwm'' to the ''fdt_overlays'' parameter if it is not already present:
  
 ```shell ```shell
Line 65: Line 65:
  
 **Disable PWM:** **Disable PWM:**
 +
 To stop the PWM signal: To stop the PWM signal:
 ```shell ```shell
Last modified: 2026/02/25 22:38 by gray