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.

TMS570LS0714: Is it possible to use the AD1EVT pin as an interrupt source?

Part Number: TMS570LS0714

I would like to use this pin as an interrupt source.

I don't want it to trigger an actual ISR but I instead to poll the interrupt flag to see if there has been an event.

The reason is that the external signal is very spurious/short and can not reliably be read by sw. Reaction speed is on the other hand not critical.

  • Hi Thomas,

    No, it is not possible to generate any interrupt for AD1EVT.

    The only way we can identify the occurrence of an event interrupt is by monitoring busy flag, if this flag is SET means we got the external event and conversion was started.

    You can do one more thing that, you can short this external event pin (AD1EVT) with any other GIO in hardware, if you do that then you can enable the interrupt to the GIO to find out the event interrupt on the AD1EVT.

    You can do one more thing also, that is you can just monitor the status of the ADEVT_IN bit in the ADEVTIN register because this bit reflects the status of the AD1EVT pin. So, for example, if you configured to trigger this pin to trigger ADC conversion on raising edge then you can monitor this register to find out whether the 0 to 1 transaction happens or not.

    --
    Thanks & Regards,
    Jagadish.