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.

F29H850TU: EPWM Trigger Mixed events

Part Number: F29H850TU
Other Parts Discussed in Thread: SYSCONFIG

I am using SysConfig V1.27.1 with SDK V26.0.0 to set up an ePWM triggered Interrupt. I wanted to use the Mixed Event Signal to use 2 different Events to trigger an Interrupt. As "Mixed Interrupt Event Sources" I set "Time-base counter equal to CMPA when the timer is incrementing" and "Time-base counter equal to zero".

While doing this, I noticed, that the ENTMIXEN register already sets the bits for PRD (Time-base counter equal to Period) and ZRO (Time-base counter equal to zero) set to 1 by default after a reset. See also the TRM:

grafik.png

The settings in SysConfig then only add more Event sources to the Mixed Event.

That means, that even if I would set no "Mixed Interrupt Event Sources" in SysConfig, I would still trigger Interrupts if the Time-base counter reaches zero or period. This seems counterintuitive to me.

  • Hi,

    ENTMIXEN register already sets the bits for PRD (Time-base counter equal to Period) and ZRO (Time-base counter equal to zero) set to 1 by default after a reset. See also the TRM:

    Yes, these are hardware defaults.

    The settings in SysConfig then only add more Event sources to the Mixed Event.

    Yes

    That means, that even if I would set no "Mixed Interrupt Event Sources" in SysConfig, I would still trigger Interrupts if the Time-base counter reaches zero or period. This seems counterintuitive to me.

    Yes, since these are hardware defaults software is agnostic of it. User would need to disable these hardware defaults separately if not needed.

    Thanks