Set PWM output(using CTimer) to LOW when stopped

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

Set PWM output(using CTimer) to LOW when stopped

ソリューションへジャンプ
1,560件の閲覧回数
hemanthvasista
Contributor IV

Hello ,

I am using LPC54606 controller with PWM using CTimer.

When I stop the PWM using "CTIMER_StopTimer", occasionally the PWM output still remains HIGH.

Is there a way I can force the PWM output to go LOW when stopped?

 

regards,

Hemanth

タグ(1)
0 件の賞賛
返信
1 解決策
1,531件の閲覧回数
hemanthvasista
Contributor IV

The issue got solved when I call below APIs

"CTIMER_Reset" & "CTIMER_Deinit". After these, the pin output goes LOW.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,545件の閲覧回数
FelipeGarcia
NXP Employee
NXP Employee

Hi Hemanth,

I don’t think so because PWM outputs follow certain rules as you can see in 17.7.1 Rules for single edge controlled PWM outputs section of the UM. An option is that you change alternative of the pin and manually change the output to low using GPIO.

Best regards,

Felipe

0 件の賞賛
返信
1,532件の閲覧回数
hemanthvasista
Contributor IV

The issue got solved when I call below APIs

"CTIMER_Reset" & "CTIMER_Deinit". After these, the pin output goes LOW.

0 件の賞賛
返信