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.

msp430 disabling the UART interrupt

hi,

 

I have a sensor which is connected to the UART Rx of the MSP430 (EZ 430 RF 2500). The  sensor  provides an interrupt via the UART interrupt. The sensor is continuously sending out data to the msp430. Hence, msp430 continuously receives an interrupt.  

Due to power constrains, I want to use the LPM avaliable in the msp430.

I could like to disable the UART interrupt for a certain about of time, say 2 minutes, and again enable the interrupt provided to the msp430 from the sensor. 

Someone please tell me how to do this.

  • Hi,

     

    One solution will be not to use UART interrupt. Instead, you can configure a timer to wakeup the uP each two minutes and read the data transmitted by the sensor using polling. After that, the uP can enter in LPM again.

     

    Best regards,

    AES

     

**Attention** This is a public forum