Hi!
I'm enthusiastically interested in using the MAX17263 in a design I'm working on, and I'm trying to wrap my head around the LED charlieplexing setup this fuel gauge features.
On page 28 of the datasheet, there's a small table that provides some rough guidelines for bias resistors to use in the setup. But the calculations used to arrive at these guidelines are unfortunately not obvious to me. I have a sense resistor picked out (10mΩ, for my system), but let's say I want to do something like have a multicolored spectrum of different LED colors - let's say green, yellow, orange, and a red Empty LED. I understand that I likely want to use a different bias resistor for each LED, but the table I mention makes it seem like a simple Ohm's Law calculation for R isn't quite correct. And the IC has some builtin logic to control the LEDs via PWM, I think.
So, I'm curious - if I have an LED of some arbitrary Vfwd - rather than a value listed in this table - how can I determine the proper value of R to use?
(I understand that R - in this case - controls not only the brightness of the LED, but also the IC's ability to auto-enumerate them. I'm ok falling back to a manual configuration via I2C if need be; I'm mostly interested in understanding the math/theory behind being able to accurately calculate an R value in a setup like this).
Thanks so much! This fuel gauge is pretty neato.