Dynamically turning on/off FPU

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
dflogeras
Posts: 232
Joined: Tue Sep 03, 2013 8:16 pm
Has thanked: 8 times
Been thanked: 22 times

Dynamically turning on/off FPU

Post 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
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Dynamically turning on/off FPU

Post by Giovanni »

Hi,

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

Giovanni
Post Reply