ETPU PWM - Interrupts

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

ETPU PWM - Interrupts

3,176件の閲覧回数
kylesch
Contributor I

Hey all,

 

So I am trying to integrate the ETPU PWM (from set1) into a basic structure to set a new duty cycle with an EMIOS mod counter. However, whenever I run the initialization function fs_etpu_init (which is included in the MPC55XX cookbook) an interrupt is generated continuously, nothing else can function. Specifically, it is the interrupt that corresponds to the Loss of Lock. However, I have disabled this option in the PLL config and when I monitor the PLL register it doesn't lose lock.

 

I am using the MPC5553 with CodeWarrior 5.9. Any help would be appreciated.

 

Thanks

0 件の賞賛
返信
3 返答(返信)

1,910件の閲覧回数
dayve
NXP Employee
NXP Employee

Hey,

 

Does your hardware run other applications without this issue? Can you use the PLL to gen system clock with out any issues without this code?

 

Regards, 

dayve

0 件の賞賛
返信

1,910件の閲覧回数
kylesch
Contributor I

Yes, I had a fully functional program that has just about every component, Clock / EMIOS / EQADC / ESCI / etc. All I did was initalize the ETPU and the ETPU PWM and set a duty cycle based on a change in ADC value and the error occured. 

0 件の賞賛
返信

1,910件の閲覧回数
dayve
NXP Employee
NXP Employee

Can you please create a Service Request and we should be able to get an eTPU expert to help you.

 

Thanks .

0 件の賞賛
返信