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.

CCS/TMS320F28069M: logical operation on signals

Part Number: TMS320F28069M

Tool/software: Code Composer Studio

How to logically OR the signals from epwm module generated signals and random pulse and get the output in other epwm module output?

  • Mrudul,

    is my understanding correct?

    You want to output the 'or' of a PWM and an input signal?

    1. Have you considered simply using an 'or' chip off of the c2000 device?
    2. If you wanted to do this on the C2000 device you maybe able to write some code to read inputs and output an or of the two. If the signal is fast I expect this would take too many cycles to be practical.

    Regards,
    Cody

  • Not sure exactly what you want to do, but maybe your 'random pulse' can trigger interrupt_on_change and modify the output pin function? Set it to gpio_output_high on input_high, set it to pwm on input_low?