Hello all
I have a MSP-EXT430G2 launchpad with a g2432 uC. I am writing a program where it’s possible to communicate using RXD & TXD. Furthermore it's at the moment possible to step into different modes, depending on the received bytes. One of the modes sends continuously 24 bytes every 32ms, controlled by the WD-timer. Unfortunate I can’t interrupt with typing (in terminal), because the program is busy transmitting using TimerA0 interrupt.
It’s not a problem to communicate when the program doesn’t transmit even though the watchdog interrupts every 32 ms. The WDinterrupt rutine consists:
if (BreakEnd == true && State == 1)
{
InitWDT(); //Starts WD again
SendData();//24 bytes
}
The Timers are driven by Systemclock 12MHz, and I use a Baudrate at 115200
Any suggestions what to do to get in contact with RX-rutine to save RX-byte and keep transmitting?
Have a nice weekend!
/Simon