afry-south / dragonfly-fcb

ÅF Dragonfly Quadrotor UAV Project
Other
7 stars 3 forks source link

PVD Brownout detection #56

Closed stenbergd closed 9 years ago

stenbergd commented 9 years ago

Configure the PVD to trigger on some MCU voltage drop level to trigger an interrupt. If the interrupt is triggered, take safety actions.

I think the MCU VDD is regulated at ~3.3V, but it should be measured.

Also, the factory calibrated VDD should be present some where in flash

stenbergd commented 9 years ago

Implemented this so that a PVD callback function is now present in main.c. However, appropriate action should be taken if this occurs.

Closing this.