AnsweredAssumed Answered

Imx7d and led pwm animation

Question asked by Matti Sillanpää on Jan 23, 2018
Latest reply on Jan 25, 2018 by Carlos_Musich

Hi.

 

 

I've got pwm led connected to pwm capable gpio (pwmchip0). I can use the pwm output by writing the sysfs pwm0 period and output in userspace.

 

However I would like to run pulsating animations (25hz) in the led. Is this doable in (is there DMA capability) in kernel or user space side? What I've understood is that this isn't really suitable with embedded linux applications nor I did find any dma to pwm examples. Is the led driver only option?

 

Any comments regarding this would be appreciated as I'm pretty new to IMX7 and yocto.

Outcomes