Configure PWM signal on Generic GPIO (i.MX8 mini)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Configure PWM signal on Generic GPIO (i.MX8 mini)

1,109件の閲覧回数
EmbeddedDev
Contributor I

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.  

タグ(3)
0 件の賞賛
返信
1 返信

1,093件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

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.

0 件の賞賛
返信