Page 1 of 1

Dynamically turning on/off FPU

Posted: Thu Sep 27, 2018 11:05 pm
by dflogeras
Just wondering if anyone has played around with enabling/disabling the FPU on an STM32 on the fly.

AFAICT, currently it is either initialized at boot time, or not, but once on it is on. I was just wondering if an application could feasibly turn it off when not in use, and re-enable it as required. Would it save any appreciable amount of power, compared to being initialized but idle?

Dave

Re: Dynamically turning on/off FPU

Posted: Fri Sep 28, 2018 7:58 am
by Giovanni
Hi,

The OS would continue to try accessing FPU registers during context switch and crash.

Giovanni