hello everybody,
I am in possession of a card from Emtrion (Dimm MX6) with a freescale processor IMX6Q
I am trying to program a PWM with a variable duty cycle (freq=4KHz), but i do not know how.
if anyone can help me write the code to control the PWM or give me informations to get there.
Thank you in advance
Best regaurd
Please use the Platform SDK as an example. Take a look at Chapter 27 (Configuring the PWM driver) of "iMX6_Firmware_Guide.pdf".
As for Linux, please take a look at Chapter 41 (Pulse-Width Modulator (PWM) Driver)
of "i.MX_6Dual6Quad_Linux_Reference_Manual.pdf".
thank you for your response
I started to browse the files you told me, but my C ability are limited and I do not totally understand the test programs (pwm_test.c ...).
Can you tell me how to run a program or the steps to follow (for example: pwm_test.c) ?
Thank you in advance
Best regard