TODO notes & gridCharger Tester

This commit is contained in:
doppelhub
2025-05-25 19:48:57 -04:00
parent ca3ee25d37
commit 4e57dbd90e
5 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1 @@
Two RMAd PCBs have oxidation-related trace failures, particularly on the back side traces corresponding to IC2 & IC3. Need to add kapton and/or conformal coating to prevent water ingress below the solder mask.

View File

@@ -41,6 +41,16 @@ void serialUSB_waitForAnyUserInput(void)
void bringupTester_gridcharger(void)
{
#ifdef RUN_BRINGUP_TESTER_GRIDCHARGER
if (gpio_isUserSwitchOn() == NO)
{
//user just installed LiBCM, but hasn't installed firmware yet
Serial.print(F("\nPlease install LiBCM firmware\nSee linsight.org/install/firmware"));
lcdTransmit_begin();
lcdTransmit_displayOn();
for (uint8_t ii = 0; ii < 4; ii++) { lcdTransmit_Warning(LCD_WARN_FW_EXPIRED); }
}
while (1) //this function never returns
{
Serial.print(F("\nRunning Grid Charger Test: "));

View File

@@ -117,6 +117,7 @@ void processChargerDisableReason(uint8_t canWeCharge)
/////////////////////////////////////////////////////////////////////////////////////////
//JTS2doLater: add timer/current logic to detect if grid charger isn't working
void chargerControlSignals_handler(void)
{
static uint8_t isChargingAllowed_previous = NO__UNINITIALIZED;

View File

@@ -622,7 +622,14 @@ void lcdTransmit_displayOff(void)
/////////////////////////////////////////////////////////////////////////////////////////
/*JTS2doLater: Add a keyOff powerup splash screen
********************
Welcome to LiBCM
V0.9.4d
*/
/*JTS2doLater: Add the following alert if LiBCM loses control
********************
LiBCM DETECTED A
DANGEROUS CONDITION.
TURN OFF IMA SWITCH
@@ -636,7 +643,7 @@ void lcdTransmit_Warning(uint8_t warningToDisplay)
if (warningToDisplay == LCD_WARN_KEYON_GRID)
{
// ********************
// ********************
if (whichRowToPrint == 0) { lcd2.print(F("ALERT: Grid Charger "));}
else if (whichRowToPrint == 1) { lcd2.print(F(" Plugged In!! "));}
else if (whichRowToPrint == 2) { lcd2.print(F("LiBCM sent P1648 to "));}