(MCU:MPC5605B)How to set emios0_ch[9] for receive PWM signal

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

(MCU:MPC5605B)How to set emios0_ch[9] for receive PWM signal

969 Views
547416104
Contributor III

Dear friends,

I use MPC5605B for receiving PWM signal with emios0_ch[9], it can enter interrupt normally, but  EMIOSA[9] and EMIOSB[9] value is 0.

How to set the port, thanks!!!

the setting as below: 

EMIOS_0.CH[9].CADR.R = 0x00000000;

EMIOS_0.CH[9].CBDR.R = 0x00000000;

EMIOS_0.CH[9].CCR.R = 0x0E020685;

Labels (1)
0 Kudos
1 Reply

911 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

eMIOS ch9 belongs to type H group which does not have internal channel implemented, so once selected it will not work.

You should either use channel from type G or X group to have a possibility of internal channel usage or select another counter bus, i.e A (ch23)  or C (ch8).

BR, Petr

0 Kudos