56F8367 and software control of the PWM

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

56F8367 and software control of the PWM

ソリューションへジャンプ
2,207件の閲覧回数
Charlie
Contributor III
I am using the MC56F8367EVME board.

Because I am building on top of something someone in my company has already made, I have shied away from using the processor expert.  However, I have had no problem controlling much of the rest of the chip.

What I am trying to do now is nothing more than simply turning on the PWMA0 and PWMA1 LEDs. . . I want to use them almost as if they are just GPIO output pins.

However, I cannot figure out how to do it.  What is the bear minimum I need to achieve to control these pins?

In the PWMA registers, I have set the respective OUTCTL bits (OUTCTL0 = 1, OUTCTL1 = 1), I have set the PAD_EN = 1, I have made the channels independent (INDEP01 = 1).  I have even tried to do it by letting the PWM module create the outputs but I have been unable to see anything.  I have tried fiddling around with the LDOK bit and the PWMEN bits.

Anyone have an idea what I might be missing?

Thanks,

Charlie
0 件の賞賛
返信
1 解決策
1,553件の閲覧回数
Charlie
Contributor III
I solved my problem.  I just disabled all of the fault masks so that nothing was getting masked.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,554件の閲覧回数
Charlie
Contributor III
I solved my problem.  I just disabled all of the fault masks so that nothing was getting masked.
0 件の賞賛
返信