imx233 - micro pwm

Started by Kuldeep_M, November 03, 2018, 06:26:09 PM

Previous topic - Next topic

Kuldeep_M

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

lambda

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.

HTH,
Harald

UrsBucher

#2
QuoteI checked and I don't see the loaded pwm module.. Could you help me install it?

Hi,

Is the module available on your system?
Check below /lib/modules/<kernelversion>/


UrsBucher

Load the module with modprobe or insmod.