S32K344's Emios

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K344's Emios

Jump to solution
1,455 Views
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!

Tags (1)
0 Kudos
1 Solution
1,443 Views
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

View solution in original post

1 Reply
1,444 Views
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