This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP L137 access to PWM registers from Linux



I want to access the OMAP L137 PWM registers from an executable running in Linux .  Is there a driver(s) and/or example code?

Alternatively, is there a way to access "hard address" registers, in general, from Linux (drivers,  example code, etc.)?

 

  • Hi,

    Gary Marks said:

    I want to access the OMAP L137 PWM registers from an executable running in Linux .  Is there a driver(s) and/or example code?

       Please find the example driver code in the below link

          http://www.mail-archive.com/linux-embedded@vger.kernel.org/msg02891.html

     

    Gary Marks said:

    Alternatively, is there a way to access "hard address" registers, in general, from Linux (drivers,  example code, etc.)?

       devmem2 utility can be used to test the hardware registers. Download the devmem2.c file from any website and compile it for you platform.

              http://www.google.co.in/#hl=en&q=devmem2&aq=f&aqi=g3&aql=&oq=&gs_rfai=&fp=73b709924856d4ed

    Best Regards,

    N.Sugumar