From f1b6ef3711af48799c854fc96496eda783e3acb9 Mon Sep 17 00:00:00 2001 From: Andrea Mura Date: Fri, 3 Mar 2023 09:01:41 +0100 Subject: [PATCH 1/3] alignement of the overcurrent thresholds to the new hardware revision --- emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c b/emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c index a3d9c39e0..04730e647 100644 --- a/emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c +++ b/emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c @@ -44,9 +44,9 @@ uint32_t blink_ds=100; uint8_t toggle_1s = 0; uint8_t toggle_100ms = 0; -uint16_t I_V12board_MAX = 9000; // threshold in mA -uint16_t I_V12motor_MAX = 6500; // threshold in mA -uint16_t I_HSM_MAX = 20000; +uint16_t I_V12board_MAX = 10000; // threshold in mA +uint16_t I_V12motor_MAX = 10000; // threshold in mA +uint16_t I_HSM_MAX = 40000; // threshold in mA uint16_t timer_fault_board = 0; uint16_t timer_fault_motors = 0; uint16_t timer_fault_HSM = 0; From cd1a67f0bf4cf7abadc6a4f14b9ee9a8ee00f334 Mon Sep 17 00:00:00 2001 From: Andrea Mura Date: Fri, 3 Mar 2023 09:18:57 +0100 Subject: [PATCH 2/3] Update BAT_B.c --- emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c b/emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c index 04730e647..b62ce8161 100644 --- a/emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c +++ b/emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c @@ -46,7 +46,7 @@ uint8_t toggle_100ms = 0; uint16_t I_V12board_MAX = 10000; // threshold in mA uint16_t I_V12motor_MAX = 10000; // threshold in mA -uint16_t I_HSM_MAX = 40000; // threshold in mA +uint16_t I_HSM_MAX = 36000; // threshold in mA uint16_t timer_fault_board = 0; uint16_t timer_fault_motors = 0; uint16_t timer_fault_HSM = 0; From 2072faff20c1ce6ab32476dadd796a2fad7c95e0 Mon Sep 17 00:00:00 2001 From: Andrea Mura Date: Fri, 3 Mar 2023 14:15:47 +0100 Subject: [PATCH 3/3] BAT firmware revision version updated to 1.1.0 (#354) --- emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c b/emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c index b62ce8161..a72184604 100644 --- a/emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c +++ b/emBODY/eBcode/arch-arm/board/bat/BAT_Rev_B/Src/BAT_B.c @@ -10,7 +10,7 @@ #include "BAT_B.h" char Firmware_vers = 1; -char Revision_vers = 0; +char Revision_vers = 1; char Build_number = 0; uint32_t vtol=100; // voltage tolerance for hysteresis