Hello all,
I'm trying to collect data samples on the 10-bit ADC, store them to the 16 KB FRAM Memory on my MSP430FR5739, calculate an RMS value when the various 'pages' of memory are full, then transmit those RMS values with the CC3000 (using experimenter's board). Code compiles, links, downloads without a problem, however, after I connect to the router, and then try to start collecting data to store to the FRAM, all my LEDs that indicated my device was connected to the router shut off and the following message pops up in IAR:
"The stack pointer for stack 'Stack' (currently Memory:0x20000) is outside the stack range (Memory:0x1E70 to Memory:0x2000)"
Does this mean I'm trying to write to memory out of the range or that I'm overwriting program code that is causing my entire device to malfunction?
Note this only happened once I started trying to assign ADC values to various 'pages' of the FRAM. Before if I just tried to instantly transmit ADC values from RAM (without storing values then recalling them to calculate RMS), it worked just fine.
Let me know if you have any thoughts or would like to see specific parts of the code.
Thanks!