ATSAMA5D27-WLSOM1-EK1: pwm

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

Marc7909
Posts: 14
Joined: Mon Apr 20, 2020 3:14 pm

ATSAMA5D27-WLSOM1-EK1: pwm

Mon Apr 20, 2020 5:46 pm

HI, never came across a pwm setup like this, as both pin seems to be driven by the same pwm0 but the output is reversed. How do I use both pwm independently?

echo 0 > export
echo 65536 > pwm0/period
echo 0 > pwm0/duty_cycle (Led on PA30 off, Led on PA31 on)
echo 65535 > pwm0/duty_cycle (Led on PA30 off, Led on PA31 on)



SAMA5D27 WLSOM1 EK J19 (mikroBUS 1) 16 (PWM) PWMH0 0
J20 (mikroBUS 2) 16 (PWM) PWML0

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 10 guests