Welcome, Guest

Author Topic: imx233 - micro pwm  (Read 234 times)

Kuldeep_M

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
imx233 - micro pwm
« 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

lambda

  • Full Member
  • ***
  • Posts: 180
  • Karma: +21/-0
    • Support my work
Re: imx233 - micro pwm
« Reply #1 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.

HTH,
Harald