S32K344's Emios

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32K344's Emios

跳至解决方案
3,283 次查看
luyq
Contributor III

Hello,

When I use the "Emios_Mcl_Ip_Init()" function, I use Emios_0 channel 23 as the time base. But at this time I cannot set Emios_0's 23 channel to OPWMB mode to output PWM, and S32DS generates this error:
"EMIOS_0_CH_23 channel cannot be used by MCL driver. Channel locked by other driver".

I would like to ask why there is such an error? Is S32K344 not allowed to be used in this way?
Hope to get your reply, thank you!

标记 (1)
0 项奖励
回复
1 解答
3,271 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if ch23 is configured as time base, i.e running obviously in MCB mode, then this channel cannot be set for PWM mode (in your case OPWMB) at the same time.

BR, Petr

在原帖中查看解决方案

1 回复
3,272 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if ch23 is configured as time base, i.e running obviously in MCB mode, then this channel cannot be set for PWM mode (in your case OPWMB) at the same time.

BR, Petr