Implementing Phase Shift Change Along with Switching Frequency in eMIOS OPWFMB Mode

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

Implementing Phase Shift Change Along with Switching Frequency in eMIOS OPWFMB Mode

ソリューションへジャンプ
3,550件の閲覧回数
abdul_rahman
Contributor IV

Hi team,

I am currently working on a project that involves using the eMIOS in the OPWFMB mode. My goal is to implement a control strategy where both the phase shift and the switching frequency can be dynamically adjusted based on real-time system requirements.

While I have successfully configured the eMIOS module in OPWFMB mode for basic PWM generation, I am finding it challenging to synchronise and control the phase shift along with switching frequency variation. How can I dynamically introduce phase shift adjustments in OPWFMB mode while maintaining PWM synchronisation? Are there any recommended techniques or examples for implementing both these adjustments in a microcontroller with eMIOS capabilities?

Thanks in advance!

タグ(5)
0 件の賞賛
返信
1 解決策
2,426件の閲覧回数
abdul_rahman
Contributor IV

Solution for frequency + phase shift of PWM pulses:-

1. Set the eMIOS mode in OPWMB mode.

2. Use the eMIOS_Mcl function "Emios_Mcl_Ip_SetCounterBusPeriod" to change the frequency. Using the "Emios_Pwm_Ip_SetPeriod" to control the frequency will not work in OPWMB mode.

3. Use the eMIOS_Pwm function "Emios_Pwm_Ip_SetPhaseShift" to change the phase shift.

 

 

 

元の投稿で解決策を見る

0 件の賞賛
返信
9 返答(返信)
2,427件の閲覧回数
abdul_rahman
Contributor IV

Solution for frequency + phase shift of PWM pulses:-

1. Set the eMIOS mode in OPWMB mode.

2. Use the eMIOS_Mcl function "Emios_Mcl_Ip_SetCounterBusPeriod" to change the frequency. Using the "Emios_Pwm_Ip_SetPeriod" to control the frequency will not work in OPWMB mode.

3. Use the eMIOS_Pwm function "Emios_Pwm_Ip_SetPhaseShift" to change the phase shift.

 

 

 

0 件の賞賛
返信
3,415件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

Phase shift capability is not supported in OPWFMB. If you require phase shift feature you need to implement OPWMCB, OPWMB or OPWMT modes.

For reference:

Example S32K344 eMIOS DS3.5 RTD500

Hope it helps you.

Have a nice day!

0 件の賞賛
返信
3,395件の閲覧回数
abdul_rahman
Contributor IV

Hi @_Leo_ 

Then how do I implement frequency modulation along with phase delay/shifting in the OPWMCB, OPWMB or OPWMT modes, that you mentioned?

0 件の賞賛
返信
3,318件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Frequency modulation is only possible in OPWFMB. You could refer to the following training presentation to see how eMIOS modes work.

0 件の賞賛
返信
3,300件の閲覧回数
abdul_rahman
Contributor IV

Hi @_Leo_ 

Thank you for the reply. 

But I require dual control of frequency as well as phase shift modulation of PWM signals. Can you please suggest any other peripheral apart from eMIOS that can achieve this type of control? 

Or else, can you suggest me any microcontroller from NXP which is compatible for this type of dual control?

タグ(3)
0 件の賞賛
返信
3,085件の閲覧回数
abdul_rahman
Contributor IV

Hi @_Leo_ 

Its been more than 2 weeks since I've asked about this. Please reply.

 

0 件の賞賛
返信
3,426件の閲覧回数
abdul_rahman
Contributor IV

@VaneB @joanxie @Senlent Please reply.

0 件の賞賛
返信
3,485件の閲覧回数
abdul_rahman
Contributor IV

@VaneB @Julián_AragónM @Senlent or anyone else from NXP, please reply. This is really urgent.

0 件の賞賛
返信
3,509件の閲覧回数
abdul_rahman
Contributor IV

@VaneB @Julián_AragónM or anyone else from NXP, please reply. This is really urgent.

0 件の賞賛
返信