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.

TMS320F28034:ADC trigger source problem

Part Number: TMS320F28034
Other Parts Discussed in Thread: C2000WARE

How to output the trigger source of ADC in 28034 to the register? Or output through the IO port?

  • user6073996,

    There is no dedicated function to output the SOC trigger from the ADC to a pin, but if you trigger the ADC using an EPWM module, it can be configured to toggle its pins at the same time that the SOC trigger is generated. The EPWM SOC can also be output to a GPIO pin via SOCAO and SOCBO.

    -Tommy

  • Sorry i don't know waht's SOCAO and SOCBO. Can I have a look at the EPWM SOC output to GPIO code or reference materials if it is convenient?

  • The device features are documented in the TRM.

    You can find software examples in C2000Ware: ~\C2000Ware_XXXX\device_support\f2803x\examples\c28

    Good starting points are: adc_soc and epwm_up_aq

    This EPWM video may be useful if the TRM description is difficult to follow at first.