Seeed provided me with XIAO nRF54LM20A samples. One unit is mounted on the GPIO breakout board for XIAO. I soldered the battery connections and the JLink wiring.
If you’re using it as a hobby project, you can start writing sketches right away in the Arduino IDE without having to go through the trouble of setting up a Zephyr development environment.
Using the nrf54-arduino-core currently under development by @Loren_Bufamu, I wrote a sketch that might serve as a useful reference.
200-Byte Bidirectional Communication via BLE Notify/Write Using codedPHY
This sketch performs bidirectional communication of up to 244 bytes using 1M PHY, 2M PHY, and codedPHY. It uses the nPM1300 to measure battery voltage.
Can’t wait to see the ship and sleep currents on this as well as some battery reading and estimating SOC. Would have been nice to have the second LDO available but maybe in the LM20B version.
Battery Charge/Discharge Monitor Using the Built-in nPM1300
The nrf54-arduino-core has been updated to v0.9.206, and the nPM1300 library has also become more stable. Taking advantage of the built-in nPM1300, one of the key features of the XIAO nRF54LM20, I built a battery charge/discharge monitor.
Using the XIAO Expansion Board, measured data can be displayed on an I2C-connected SSD1306 OLED display and logged to an SD card. A user button switches the display between the measured values and the configuration settings.
As an example, the graph below shows the charging and discharging characteristics of a 100 mAh battery. The battery was charged with a VBUS input current limit of 500 mA, a charging current of 100 mA, and a charging voltage of 4150 mV, and then discharged through a 33 Ω resistor.
Now we have REAL battery management on Xiao.
The PMIC is great!, I’m curious about the REAL sleep currents and the SHIP mode current (.33uA)
Then 2nd is the COIN Cell operation, 2032 or the larger one. LM20a should shine
I think we will finally have the Xiao that SLEEPS like a baby.
I look forward to your findings, Awesome as per your Standards
0.5 μA Sleep Current in Hibernate Mode Using the Built-in nPM1300
By utilizing the built-in nPM1300, one of the key features of the XIAO nRF54LM20, I measured a sleep current of 0.5 μA in hibernate mode. This matches the value specified in Table 4: System Electrical Specifications of the datasheet.
After spending time with this board, I could say that yes, we finally got our “ board that could work for years on a coin-cell battery“. Nice work Xiao, Nordic, and the community !