Hello,
I'm using Piccolo F28027 LaunchPad board to perform a control loop on a DC-DC converter.
The code was running fine with two loops, one loop of 500Hz to control the DC-DC and another loop of 1Hz just to blink a led and modify some variables.
I added a code to start sending the variable values to serial port inside the 1Hz loop, there is no errors during the compilation but just after the code starts executing the program stops with an error stack regarding the task of 1Hz.
The error is:
0x89c0 stack error, SP = 0x804a.
xdc.runtime.Error.raise: terminating execution
I already checked the tasks stack size and stackpeak size through RTOS Object View (ROV) and everything seems to be fine.
I noticed that, if I try to send to the port a character instead of a float value the code runs without problems.
Does anyone have any idea of what might be the problem?
Thanks in advance.
Mário Silva