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/TMS320F28032: the counter of timer 2 based on rising edge or falling edge

Part Number: TMS320F28032
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hi All,

We used the TMS320F28032PNT in the stepper-motor drive,now I want to know the counter of timer 2 based on rising edge or falling edge?

if there is any PDF,please show on the attachment or supply the download path,thanks.

  • Hi John,

    You can use eCap module to get the above info. Refer to the eCAP userguide from device homepage. Here's the example code to get you started:
    C:\ti\controlSUITE\device_support\f2803x\v130\DSP2803x_examples_ccsv5\ecap_capture_pwm

    Regards,
    Gautam