Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: Kuldeep_M on November 03, 2018, 06:26:09 pm

Title: imx233 - micro pwm
Post by: Kuldeep_M on November 03, 2018, 06:26:09 pm
Hello everyone,

I'm newbie to olinuxino but i've done somethings in the past on linux, not to much, but something.
I've instaled Arch Linux ARM - Linux 3.19.0-1-ARCH #1 PREEMPT Wed Feb 11 17:51:40 MST 2015 armv5tejl GNU/Linux
I'm starting slow with just some bash scripts on gpio pins and thats ok.
Now I want to use pwm and acording to this website all the files are in the /sys/class/pwm:
TutuApp Lucky Patcher Kodi
Title: Re: imx233 - micro pwm
Post by: lambda on November 03, 2018, 10:48:10 pm
I think your message is incomplete, so hard to tell what your problem is!

Just some general information: There are two kinds of PWMs.
1) The internal pwm of the chip. This is only available on a few selected pins and you need the driver pwm-mxs (which luckily is available in the kernel for a long time already).
2) Using any gpio by switching it pretty quickly from the kernel. There are some drivers to do this floating around the net and some (arm focused) distributions ship them, but AFAIK they never got merged into the mainline kernel.