Closed aliphys closed 2 months ago
Cross check with values over FTDI
Reproduction issue. Given that the USB protocol should negotiate the power draw, it could be that the USB hub is part of the issue.
Retest with the Joulescope.
Tested multiple times over several devices. And directly connected to laptop, USB hub and monitor hub.
Likely, a fix in Arduino_PowerManagement, Arduino_LowPowerPortentaC33 or the renesas core has fixed this issue, so closing.
While running the sketch below, during test case the Serial Monitor stalls and no further output is given while battery charging is in progress (replicated across two different Windows PCs with two Portenta C33 boards)-
TPL-ARD-PWRM-001-C33-ChargingState08
``` /** * Test Scenario ID : TPL-ARD-PWRM-001-C33-ChargingState08 * * This sketch demonstrates the three charging states that can be applied to a battery. It does this by reading the voltage, * and then setting the charging voltage to be 2 steps (2*0.02V) above the battery voltage. * * Test Case IDs : * TPL-ARD-PWRM-001-C33-ChargingState08-Initialize -> Initialize the PMIC * TPL-ARD-PWRM-001-C33-ChargingState08-ReadBattery -> Read battery voltage and set charging voltage * TPL-ARD-PWRM-001-C33-ChargingState08-SetChargeParameters -> Set charging parameters * TPL-ARD-PWRM-001-C33-ChargingState08-ChargeStatus -> Switch status to done when charging complete * * NOTE: The battery voltage must be under 4.1V for the charging to start * * * Initial author: Ali Jahangiri @aliphys */ #include "Arduino_PowerManagement.h" /* #includeAdditional information