S32K3 EMIOS channel X usage

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

S32K3 EMIOS channel X usage

1,919件の閲覧回数
francescovico
Contributor III

Hello,

It's possible use a Channel X to generate counter bus and in the same time use the channel as input capture , output compare or pwm?

Regards, Francesco. 

 

 

 

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

1,896件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes, that is theoretically possible, but not used this way, I think. In this case internal counter (providing counter bus) is free running, so you cannot control counter bus period, except of OPWFMB mode.

BR, Petr

0 件の賞賛
返信

1,880件の閲覧回数
francescovico
Contributor III

Hi,

to use my hardware it's mandatory use ch 0, ch 8 and ch 16 to generate counter bus and at same time to generate a PWM.

Do you have an example how I can do this?

Regards, Francesco. 

0 件の賞賛
返信

1,868件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

does it mean ch0 need to generate PWM and serve counter bus B, similarly for other channels?
If yes you can simply config channel for OPWFMB mode and respective counter bus will count with period configured in OPWFMB mode.

BR, Petr 

0 件の賞賛
返信

1,818件の閲覧回数
francescovico
Contributor III

Hi,

I'm trying to configure EMIOS0 CH8 to generate PWM and counter bus C for CH9...CH15.

Using ConfigTools as your suggestion there is error below :

EMIOS_error.png

EMIOS_0_CH8.png

EMIOS_0_CH9.png

 

What is wrong?

Regards, Francesco.

 

 

 

0 件の賞賛
返信

1,806件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

what I wrote is the theoretical possibility of the HW, but config tool does not allow to config that.
For the error you need to select master bus from the one configured in MCL component, this offers only MC/MCB modes. But config tool does not allow you to use the same channel for 2 modes.

BR, Petr

0 件の賞賛
返信