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,554 次查看
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,430 次查看
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,431 次查看
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,419 次查看
_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,399 次查看
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,322 次查看
_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,304 次查看
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,089 次查看
abdul_rahman
Contributor IV

Hi @_Leo_ 

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

 

0 项奖励
回复
3,430 次查看
abdul_rahman
Contributor IV

@VaneB @joanxie @Senlent Please reply.

0 项奖励
回复
3,489 次查看
abdul_rahman
Contributor IV

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

0 项奖励
回复
3,513 次查看
abdul_rahman
Contributor IV

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

0 项奖励
回复