Hello,
I'm trying to set pwm4 out.
from the manual i see:
PWM Control Register (PWM4_PWMCR) - address 3069_0000
and all its related registers (Status / Period etc')
But any attempt to write or read this adresses makes the machine to freeze.
I tried using device tree overlay and devmem / memtool
(e.g. memtool -32 0x3069000 1 - this would freeze the machine and only reboot helps).
What am i missing? how to use this pwm4?
Thanks,
Ron
Hello @RonShani
I hpe you are doing very well.
You can see on device tree of i.MX8MP EVK the PWM4 is enabled by default under PAD MX8MP_IOMUXC_SAI5_RXFS__PWM4_OUT.
Maybe your machine is freezing because memtool access directly to registers, and those registers are being handled by the driver.
Please try to use the PWM as described on this post:
I hope this can helps to you.
Best regards,
Salas.