I am working on i.MX8 mini processor which is having 4 PWMs. Now, I wanted to have more PWM signals. In this case, Can I use any generic GPIO / other PIN and configure it as software PWM using kernel PWM gpio driver (bit-banging) ?
If yes, then please provide some guideline for the same.
Thank you for contacting NXP support!
I think it is possible, but you can't obtain the same result as hardware.
You have to configure a gpio as output and configure manually the GPT (general purpose timer) and read the registers or configure the interrupts of the time.
You can obtain a PWM signal with that but I am not sure if is the best way to do it.