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.

Query-Trip functionality in Timers in TMS320F2812

 

Hi All,

I could see that the EventManager manual describes two pins namely External compare-output trip inputs & External timer-compare trip inputs.

I understand that these pins could be used for driving a power amplifier or an actuator.However,I am not very much sure about the functionality of these pins.Hence,I would be glad if you could help me in describing me the functionality of these pins so that it would help me in writing the software that drives these pins.

Thanks,

Shilpa


  • The pins "Compare-Output Trip" (C1TRIP...C6TRIP) and "Timer-Compare-Trip" (T1CTRIP...T4CTRIP)  are Input - Pins, you cannot use them to drive actuators.

    The purpose of these pins is to connect them to over - current sensors. If the Trip-Signal goes active (low), the correspondiong Output line (compare 1-6, timer 1-4) are forced into Hi-Z state.  

  • Hi Frank,

    If you see on page 21 of TMS320x281x DSP Event Manager (EV) Reference Guide,it indicates that 

    "Trip enable bit for each trip pin. These changes allow the outputs of each compare to be enabled and disabled independently so that each compare can control a separate power stage, actuator, or drive."

    Can you please provide me your comments on these inputs?

    Thanks,

    Shilpa

     

  • If EXTCON-Bit 0 is set to 1,  then you can control the compare output lines (CMPR1..3 and CMPR4..6) independently of each other. This includes also the trip features, e.g. each output CMPR1...6 has its own over current input line. With the trip enable bits you can enable (or disable) this over current feature.

     

  • Hi Frank,

    A little confusion over here is ,I understand that when EXTCON bit 0 is 1 then only this trip functionality will be enabled which will disable the Compare control outputs then I am not understanding why you are saying that when you are using the output lines it also enables trip functionality,

    One more thing is I am connecting an actuator to these C1TRIP,C2TRIP and C3TRIP pins,so I was wondering to what configuration I have to make in software inorder to drive the actuator.

    I am sorry if my understanding is wrong.

    Thanks,

    Shilpa

     

  • Ok let me try to simplify it for EV-A:

    (1) We have 6 PWM output lines (PWM1...PWM6)  at Event Manager EVA- which can be used to drive actuators.

    (2) For EVA we have 3 over current protection input lines (C1TRIP...C3TRIP), which can be used as input lines for over current sensors.

    (3) We have 3 Bits in Register COMCONA (/C1TRIPE to /T3TRIPE) to enable the over current input lines as alarm input signals.

    (4) If Register EXTCONA- Bit 0 is set to 1, the 3 trip input lines (C1TRIP...C3TRIP) will be uses as individual over current input lines. C1TRIP for PWM1 and PWM2, C2TRIP for PWM3 and PWM4 and C3TRIP for PWM5 and PWM6.

    (5) If Register EXTCONA- Bit 0 is set to 0, the 3 trip input lines (C1TRIP...C3TRIP) are not used. Instead, the signal /PDPINTA is used as over current input signals for all six PWM signals PWM1...PWM6

    See Also Attachment.

    Power Drive Protection.ppt
  • Hi Frank,

    Thanks for the detailed explanation. Please refer to my below comments.

    "(2) For EVA we have 3 over current protection input lines (C1TRIP...C3TRIP), which can be used as input lines for over current sensors.

    (3) We have 3 Bits in Register COMCONA (/C1TRIPE to /T3TRIPE) to enable the over current input lines as alarm input signals."

    This means I will be able to connect an alarm to these signals?Also a current sensor to these signals?

    I am sorry if my question looks too silly!

    Regards,

    Shilpa