Charging a Battery with Zephyr
summary
Zephyr now includes an upstreamed charger driver API with three handlers (get_property, set_property, charge_enable) plus a shared battery DT binding (battery.yaml), a sample charger sample application that runs a charging task loop and polls charger status, and an online notifier for interrupted chips. It programs concrete charge profiles (conditioning, CC, CV, termination), sets protections (OCL, OVL, temp), allows vendor extensions to properties, and supports limiting charge (e.g., 85%) in application code; future work targets a generic GPIO charger driver and charger telemetry.
AI-written summary · about
chapters (6)
- 0:00Battery charging with Zephyr
- 1:47Charger fundamentals overview
- 10:05Zephyr charger driver API
- 17:21Charger sample app walkthrough
- 21:39Future improvements
- 23:50Q&A on charge limiting
related talks
31mUsing Zephyr for Embedded Controllers
35mHow to Build Your Own High-Performance Charger with EVerest
43mOCPP: Zephyr RTOS as Electric Vehicle Supply Equipment(EVSE)
11mShort: Breaking the Charge: Exploiting State Manipulation in EV Charging
05mZephyr
30mProvisioning in Zephyr
40mDifferentiating Bluetooth Low Energy Products by Exploiting and Exploring Zephyr
35mEnd-to-end IoT Development with Zephyr
