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.

MSP430FR2355: generating soft ISRs???

Part Number: MSP430FR2355


hello....

I have a UART which receives a command.  Main wakes up and processes/acts on the command.  I then need to circle back around to use a function at the beginning of main to put together a command packet to send.  The problem is after I act on the incoming UART and then circle back to the beginning of main I go into LPM3 and never get to the second function to build a packet because ISRs are not occurring at this time.  What is the best way to handle this?  Assuming I use an unused I/O and generate an IRQ, how do I do this when my uart rcv processing function lies somewhere in the middle of code?  If my function generates IRQ I will go off come back and still process commands before I get to the end of main at which point I am no better off because the first line of main is LPM3....

In short my rcv processing function AND the function I need to build messages are somewhere within main.  Main only wakes up after ISRs of which I will have none after rcv processing function.

After configuration beginning of main loop

    while(1)
    {
        LPM3;

**Attention** This is a public forum