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.

CC2640R2F: Can I have two sources of external interrupt (GPIO) using Sensor controller unit?

Part Number: CC2640R2F

Hi

Can I have two sources of external interrupt (GPIO) using Sensor controller unit?

I have two sensors which I am going to sensor controller on CC2640R2F to read sensor data based on interrupt events.

I want to define two interrupt GPIO to call one interrupt event handler.

Thanks

  • Hi majid,

    There are no straightforward way to do this with the CC2640R2F. Since the Sensor Controller in CC2640R2F only supports one Event Trigger effectively means that you are able to only setup one GPIO Event Trigger at a time. This means you won't be able to setup two simultaneous GPIO Event Trigger, one for each interrupt.

    I can identify two ways to solve this:
    * You poll the sensors rather than using interrupts.
    * Or, you combine both interrupt signals into one interrupt signal, essentially having a single GPIO interrupt pin. This must be done in your HW design, either by OR-ing the signals before connecting them to the GPIO pin, or something alike.