Hello dear TI-Support Team,
I am using the new MSP432 P401R Launchpad and want to test the FPU. The given code composer studio 6.1 exampleproject from MSPWare "fpu_simple_floating_point_operation" in the DriverLibrary for MSP432xx shall show how efficient the FPU is.
Unfortunatelly I can't see any difference in the execution time with/without the FPU enabled by the Driverlib Function "MAP_FPU_enableModule();"
I used the LED on Port 1.0 to indicate the time for the large floatingpoiint calculation:
while(1)
{
for(ii=0;ii<200;ii++)
{
fCalculate = (sin(50.5) * (12.2f / 50.1f) * 10.22f / 3) * ii;
}
MAP_GPIO_toggleOutputOnPin(GPIO_PORT_P1, GPIO_PIN0); //should toggle faster when FPU is enabled
}
With the FPU enabled (by a button, like shown in the example) i expect a faster blinking... Is the project running correctly on the MPS432 Launchpad?
Thank you in advance,
Benjamin H.