Tool/software:
I am trying to a small function to allow me to determine how much stack space my application is using during its run time.
One of the big issues I am coming across is that when I read SP/R1, the value does not make sense. It reports back >128k. When looking at all 32 bits, it displays values well in excess of 1M which is not correct for this part as it has 128KB of FRAM on board.
Code snippet in question
```