diff --git a/en/sigmastar-research.md b/en/sigmastar-research.md new file mode 100644 index 0000000..366a0bd --- /dev/null +++ b/en/sigmastar-research.md @@ -0,0 +1,16 @@ +# OpenIPC Wiki +[Table of Content](../README.md) + +SigmaStar SoC research and debugging notes +------------------------------------------ + +#### Control PWM channels on SigmaStar SSC338Q + +Switch GPIO1 to PWM1 mode and set parameters +``` +devmem 0x1F207994 16 0x1121 +echo 1 > /sys/class/pwm/pwmchip0/export +echo 10000 > /sys/class/pwm/pwmchip0/pwm1/period +echo 25 > /sys/class/pwm/pwmchip0/pwm1/duty_cycle +echo 1 > /sys/class/pwm/pwmchip0/pwm1/enable +```