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-F28379D: Configuring trip-zone interrupt

Part Number: LAUNCHXL-F28379D

Hi,

I'm trying to configure a one-shot trip-zone event that pulls my pwm outputs low when triggered. The interrupt should be generated via software and not through a pin. Could you please tell me the steps to configure such operation please?

Kind regards,

Ludovico

  • Ludovico,

    this feature is available by writing to the TZFRC.OST bit.

    1. Configure the OST trip for your desired trip action.
    2. Write to the TZFRC.OST bit.

    Please ensure that you set all other trip and digital-compare actions to "do nothing". They default to "high-impedance" and could take priority over your intended trip action.

    Also please ensure that you have not accidentally configured a GPIO to link to the OST trip mechanism, as that could cause unintended trip actions.

    Regards,
    Cody