This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Serial interrupt

We need to receive a data frame as an acknowledge from an XBEE which comes as a serial interrupt.We tried using the "ASSIGN" command to give a dynamic serial interrupt, with no sucesses Can you please elaborate how to dynamically give a serial interrupt.

Parents
  • A serial interrupt is not something you send to a device. You can configure the device itself to generate an interrupt based on a number of conditions.

    Some possible conditions could be:
    - there are (at least) one character received and available to read.
    - there are (at least) one empty space in the outgoing register/fifo, allowing more data to be sent to the UART.
    - there has been a parity error.
    - there has been an overrun.
    - a break has been detected.
    - a handshake signal has changed state
    - ...

    In this case, you must figure out exactly what your acknowledge looks like. Is it data, or movement of any handshake signal or what? First then is it possible to figure out if the ASSIGN command can help you or not.

Reply
  • A serial interrupt is not something you send to a device. You can configure the device itself to generate an interrupt based on a number of conditions.

    Some possible conditions could be:
    - there are (at least) one character received and available to read.
    - there are (at least) one empty space in the outgoing register/fifo, allowing more data to be sent to the UART.
    - there has been a parity error.
    - there has been an overrun.
    - a break has been detected.
    - a handshake signal has changed state
    - ...

    In this case, you must figure out exactly what your acknowledge looks like. Is it data, or movement of any handshake signal or what? First then is it possible to figure out if the ASSIGN command can help you or not.

Children
No data