From fb3251b88a29dbc086c402918432bd5d77b83f1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20J=C3=A4ger?= Date: Fri, 5 Jun 2020 17:11:07 +0200 Subject: [PATCH] Add HS MOSFET fail-safe protection Kconfig The function already existed since a while, but was accidentally not activated. This is fixed by this commit. --- boards/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/boards/Kconfig b/boards/Kconfig index d9e1e56..9e67ab0 100644 --- a/boards/Kconfig +++ b/boards/Kconfig @@ -19,6 +19,14 @@ config LIBRE_SOLAR_TYPE_ID help Numeric Libre Solar hardware type ID +config HS_MOSFET_FAIL_SAFE_PROTECTION + bool + default y + help + If enabled, the DC/DC control function will will detect if the high-side MOSFET has failed + short and trip the fuse by switching the low-side MOSFET continuously on. This will prevent + accidental overcharging of the battery. + # # Visible (user-configurable) Kconfig symbols #