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.

CC3200: Interrupt during calls to server

Part Number: CC3200

Hello,

We are using CC3200MOD for one of our IOT projects where we need to post some data to a server and at the same time, we could incur an interrupt on one of our pins and we need to capture the same (edge triggered). I have set the highest priority to the interrupt but still we observe that when the communication with server is going on, the interrupt is missed and ISR is not executed. If the interrupt occurs during any other time, then everything works fine. Am I missing something here? How can I ensure that an interrupt is captured even when a communication (essentially a GET command) with server is in progress?

Regards,

Shankar

  • Hi Shankar,

    There is no reason why will not be called interrupt handler during network communication. I think you have something wrong inside your application design. In case of RTOS usage make sure that you properly works with synchronization objects. Also do not forgot that sl_ API calls cannot be called from ISR context.

    Jan
  • Hello Jan,

    Thanks for the answer. I confirm two things

    1) Am not using RTOS
    2) My ISR is a pretty small routine only starting a timer and setting a flag and nothing elese.

    Will interrupt priority matter in this case?

    Regards,
    Shankar
  • Hi Shankar,

    IRS priority probably will not affect the missing interrupt, interrupt will be only delayed. But it depends on your ISR code...

    Make sure that you not disable interrupts by IntMasterDisable() or IntDisable(). For test just change your ISR routine to some other GPIO pin manipulation and look on interrupt pin and this new GPIO pin by logical analyser or oscilloscope.

    Jan