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;
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