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.

LAUNCHXL-F280039C: ADC trigger source change at run time

Part Number: LAUNCHXL-F280039C

Tool/software:

Hello experts,

I want help to reconfigure ADC trigger source from one PWM to another PWM in run time.
Suggest me how can I do that.

If I reconfiguring both PWM for ADC trigger source changes then how can I test whether it is triggered from older PWM or newer one? Is there any provision to check this?
I checked in reference manual, but it is bit complex to understand.

Waiting for your feedback....

Mohit :)

  • Hello Mohit,

    The ADCSOCxCTL register can be updated at any time to change the trigger source. The new trigger change becomes effective immediately. If your new trigger sends an SOC signal before the current conversion is complete, that SOC is pending until the current conversion is complete and there are no other SOCs with higher priority that are pending. Once all pending conversions are complete then the new trigger is serviced.

    There is no mechanism to test which trigger source was used for a conversion.

    Best regards,
    Ibukun