This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F2812,register Fcompoe will be set to 0 when running program,PWM1-6 closed(No PDPINTA interrupt)!please

Why!!!F2812,register Fcompoe will be set to 0 when running program,PWM1-6 of course are closed!

Program is almost same as the example PMSM3-1,build level is level 1.(No PDPINTA interrupt allowed).

EXCONA[1] =0 has been checked.The 400V inverter has been tested!

Is there anything else can result changing the register Fcompoe?Give me some advices,if possible!

  • Hi,

    According to SPRA647 - Power drive protection interrupt doc:

     

    Principle of Operation
    The PDPINT is typically connected to a current/voltage sensor or a temperature sensor to check
    for abnormalities in the system. Whenever the PDPINT interrupt is asserted (by an external
    active-low signal), the FCOMPOE bit in COMCON register changes to zero. This action puts the
    PWM outputs in a high impedance state. To enable the PWM outputs again, this bit must be
    changed to one. The PWM outputs can also be forced into a high impedance state by the user
    writing a zero to the FCOMPOE bit. Therefore, there are two ways to put the PWM outputs into
    high impedance. PDPINT has a clock independent path. This means that the PWM channels are
    put in the high impedance state the moment PDPINT is taken low and remains in this state as
    long as PDPINT is maintained low

    Regards,

    Gautam

  • Hi.Gautam

    Thanks for your attention.

    Part of my program is as follows:

    GpioMuxRegs.GPDMUX.bit.T1CTRIP_PDPA_GPIOD0=0;// Set the Pin T1CTRIP_PDPA_GPIOD0 to be GPIO

    EALLOW;

    EvaRegs.EVAIMRA.bit.PDPINTA = 0;// PDPINT interrupt is masked

    EDIS;

    ......

    I think the possible cause from PDPINT has been been excluded. 

    It seems to be something else happened that result in writting a zero to the FCOMPOE.

    I wish it not to be caused by EMI.

  • Naah... Jason, EMI should not be the issue. Do you observe any heavy ground noise? 

    Regards,

    Gautam