Hi All
Processor used MSP430F249.
IDE --> IAR .
I am working on a project where my processor is continuously communicating with GUI at every 500ms.
Clk source is XT2 -- 16Mhz
ADC CLk is 5Mhz
ADC CLK source is MCLK.
My ADC sampling is 12Khz.
For UART & Timer the clock source is SMCLK 2MHZ.
Uart baudrate is 112500bPS, timer A is 2ms.
The issue is when i continuously communicate with MSP at every 500ms, after 20 to 30min of continuous communication my MSP stops communicating. When i put it in debug mode, at power on after Oscillator is stabilized my OFIFG flag is cleared but when i enable global interrupt the OFIFG flag is set but still my code work fine.
At the same instant my ADC is enabled but sill it does not hit ISR, the break point cursor does not come to while loop, only my timer ISR and receive ISR is working. The Uart TX interrupt is disabled which i am not disabling any where in the code.
Also after my processor hangs and i restart the unit it does not work, i have to reprogram. what could be the issue. why is my OFIFG flag set.
Kindly please suggest.