Hello,
I am still unable to power the B-Som with only the USB and the battery disconnected.
When I execute the following lines of code in loop(),
PMIC power(true);
Serial1.println("Current PMIC settings:");
Serial1.printf("VIN Vmin: %u", power.getInputVoltageLimit());
Serial1.printf("VIN Imax: %u", power.getInputCurrentLimit());
Serial1.printf("Ichg: %u", power.getChargeCurrentValue());
Serial1.printf("Iterm: %u", power.getChargeVoltageValue());
int powerSource = System.powerSource();
int batteryState = System.batteryState();
float batterySoc = System.batteryCharge();
In my output window I get the following:
Current PMIC settings:
VIN Vmin: 3880 Imax: 900 Ichg: 896 Iterm: 4112 Power source: vin Battery state: charging Battery charge: 3.351562.
This clearly shows that the microcontroller is communicating with the PMIC and the max input current is 900mA. Also the power source is vin, not battery.
When I unplug USB and leave the battery plugged in, Power source changes to battery, so that part is working.
However, when I unplug the battery with USB plugged in, the 3V3, 3V7, and breathing B-Som LEDs turn off. With only the USB plugged in, the 3V7 test point is 2.2V and the 3V3 test point is 1.4V.
My suspicion is that I chose the wrong inductor. I used a 2.2 µH Shielded Multilayer Inductor 1 A 195mOhm Max 0805 (2012 Metric). MLP2012H2R2MT0S1 TDK Corporation | Inductors, Coils, Chokes | DigiKey
If I did use the wrong inductor, can you please recommend a good one in an 0805 footprint?
Or could my issue be a problem with the output capacitance? I have two 10uF capacitors in parallel from SYS to ground. Please see the below schematic.
Thanks in advance!
Sincerely,
Erik