The FPU is not enabled after reset. www.ti.com/lit/pdf/slau356 Page 81 www.ti.com/.../slau356d.pdf In the CCS settings the variable is _FPU_USED is defined and in the system_ msp432p401r .c the FPU is enabled. void SystemInit(void) { // Enable FPU if used #if (__FPU_USED == 1) /* __FPU_USED is defined in core_cm4.h */ SCB->CPACR |= ((3UL << 10 * 2) | /* Set CP10 Full Access */ (3UL << 11 * 2)); /* Set CP11 Full Access */ #endif I hope this provides some insight. Regards, Chris
↧