Skip to main content
ongth60
Associate III
August 24, 2005
Question

Interrupt routines.

  • August 24, 2005
  • 2 replies
  • 787 views
Posted on August 25, 2005 at 01:04

Interrupt routines.

This topic has been closed for replies.

2 replies

ongth60
ongth60Author
Associate III
August 16, 2005
Posted on August 16, 2005 at 10:00

Hi,

I would like to ask regarding interrupt routine handling. Currently Im using a GPIO pin to control the power of a gsm module as well as UART 2 receive and transmit pin to handle the data that is received from the gsm module. The problem is that the gsm module sends a load of data at a 1s interval such as that I can't possible execute the next statement in my main program after I have turn on the power for the gsm module. This problem I think is due to receive interrupt of the UART2 that is being kept interrupted so much so that it doesn't have enuf time to go back to the main program. Any suggestions to handle this type of situation?

Rgrds,

ongth60

ongth60
ongth60Author
Associate III
August 24, 2005
Posted on August 25, 2005 at 01:04

Hello RISC,

I've managed to solved the problem by disabling and enabling the uart receiving so that it is not that taxing on my side. Thanks for the concern.

Rgrds,

ongth60