Part Number: MSP430FR2355
Hi,
I use a MSP430FR2355 for frequency measurement and temperature measurement/control. The MSP is connected to a master CPU via UART. I observed that, after some minutes or sometimes even seconds, the MSP was not responding via UART any more. So I attached a debugger and tried to understand what was going on. After several minutes of flawless operation, the MSP stopped responding.
When stopping program execution, I saw that the GIE bit in the Status Register (SR) was cleared, but the program continued to run in my main loop and all other functions (except ISRs). When stopping program execution during "normal" operation, GIE remains set, so the "clearing" of the GIE bit is not because of the debugger. I did some research on this topic, in the device datasheets and on the internet, but there was not much to find about my issue. I found an E2E Forum post about GIE being cleared when step debugging, but as I mentioned, I don't think my debugger clears the GIE bit (I am just halting program execution, not step debugging).
Could it be that is has something to do with FRAM access faults? I am operating at 8 MHz, so inserting FRAM wait states didn't seem necessary to me. Nevertheless, I inserted two FRAM wait states (as recommended for operations at clock frequencies more than 8 MHz), and it seems to me that the MSP now works without Errors. But an FRAM access fault should result in a PUC, if I understand the device family user's guide correctly, which in turn would lead to a device reset (which does not happen in my case).
Any ideas/thoughts on this topic?