Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. geiseri
    G
    • Continue chat with geiseri
    • Start new chat with geiseri
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    geiseri

    @geiseri

    0
    Reputation
    1
    Posts
    506
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    geiseri Follow

    Posts made by geiseri

    • AXP192 coulomb counter issues

      I am on a m5stickC and I a trying to use the coulomb counter registers to monitor the battery level. I started with https://github.com/m5stack/M5StickC/blob/master/examples/Advanced/AXP192/PowerWake/PowerWake.ino and added M5.Axp.EnableCoulombcounter(); at the end of setup. Then I tried to display the counter output from AXP192::GetCoulombchargeData() and AXP192::GetCoulombdischargeData(). The issue is that no matter what state the USB charger is in it only displays UINT32_MAX. This seems like it's wrong or something is not configured correctly. I was under the impression from the datasheet that you only needed to enable on that register and it was okay. Is there a step missing?

      posted in M5 Stick/StickC
      G
      geiseri