Dear All,
in my am33xx based platform I would like to use one of the internal dmtimer (e.g. timer7) as pwm. The main requirement is that this pwm should be running even in deep sleep1 mode (24MHz OSC is turned off, only 32KHz is running).
Is this possible or do I have to keep 24MHz running?
I've initialized timer7 as explained here but I can't see PWM running neither in deep sleep nor in standby mode. The only way to see it running is to disable
writel(0x0, AM33XX_CM_MPU_MPU_CLKCTRL);
inside am33xx_pm_suspend() but this increase a lot the power consumption.
Does anybody knows if there's a way to drive a PWM in this platform (e.g. by changing the pwm reference clock) in deep sleep?
Best Regards,
Andrea