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.

TMS320F28379D: TZDCSEL Has A Confusing Name....Maybe

Part Number: TMS320F28379D
Other Parts Discussed in Thread: SYSCONFIG

Hello,

Regarding event qualification in the EPWM DC sub-module depicted below...

...if I've understood it correctly it appears that it is configured by a register called TZDCSEL, is that the case?

If so, I'm curious to know why the register name begins with the letters TZ?

I have inferred a convention for all the other ePWM registers: That the first two letters of the register indicate the sub-module container. This seems to work well for all registers except for TZDCSEL because this register appears to reside in the DC sub-module and not in the TZ module. Perhaps a more accurate name in future implementations is DCEVTSEL.

I make this point because the ePWM is non-trivial and anomalies like this don't aid understanding.

Thank you.

  • Hi Kier,

    ...if I've understood it correctly it appears that it is configured by a register called TZDCSEL, is that the case?

    Yes, you are correct in your understanding.

    If so, I'm curious to know why the register name begins with the letters TZ?

    I don't actually have the history for why this register name was chosen to start with TZ, this notation goes back for more than a decade. 

    I have inferred a convention for all the other ePWM registers: That the first two letters of the register indicate the sub-module container. This seems to work well for all registers except for TZDCSEL because this register appears to reside in the DC sub-module and not in the TZ module. Perhaps a more accurate name in future implementations is DCEVTSEL.

    I completely understand why this would be confusing and will discuss with our design team but future devices, thank you!

    I make this point because the ePWM is non-trivial and anomalies like this don't aid understanding.

    Thank you for voicing this out Kier. Have you configured EPWM through our SysConfig tool? I think it helps with these circumstances since you don't have to know the registers or driverlib functions. 

    Best Regards,

    Marlyn

  • Many thanks for the response.

    Have you configured EPWM through our SysConfig tool?

    Not yet but that is on our to do list.