AnsweredAssumed Answered

Can't pass float variables between A5 and M4 core using MCC

Question asked by Swapnil V on Aug 4, 2015
Latest reply on Aug 6, 2015 by Swapnil V



I have MQX 4.0.1 installed on my pc.

I tried to flash the sample pingpong example given for MCC demo for twrvf65gs10 tower board on Vybrid evaluation kit.

I am able to see the desired output on terminal.

But when I try to pass float variable value  between A5 and M4 core; those values are not getting passed.

Even simple printf is not showing the float variable value.

I tried to declare simple float variable in main_task in file mcc.c and print the variable value on terminal as explained below:


float myTemp = 50.00;

printf("Test flt Variable: %f \n",myTemp);


But the float variable values are not shown on terminal window.

Output of print command is as shown below on terminal window:

Test flt Variable: f


Expected output is:

Test flt Variable: 50.000000;


Kindly look into it and let me know the solution.


Thanks & Regards,