# HG changeset patch # User Mychaela Falconia # Date 1514574032 0 # Node ID 614230dd6b4bb6836359c1d1ef5ce6c954ea7bf2 # Parent c9b859e994cf0359176dbf31e4cbdee4c3906163 charging/pirelli/manual: first test config for FCHG v2 diff -r c9b859e994cf -r 614230dd6b4b charging/pirelli/manual --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/charging/pirelli/manual Fri Dec 29 19:00:32 2017 +0000 @@ -0,0 +1,29 @@ +# This charging config is intended for those usage scenarios in which your +# Pirelli phone runs FreeCalypso fw only occasionally, with manual loading +# via fc-xram for every session, and when you desire to have the ability +# to charge when running FC fw, but not have charging happen automatically +# on every fc-xram run. With this config charging will only happen when +# explicitly requested via AT@CHG=1. + +start-threshold never +restart-threshold 3900 # mV + +# Constant Voltage charging magic following Pirelli's fw + +ci2cv-threshold 4250 # mV +cv-initial-setpoint 4220 # mV +cv-ctrl-loop-high 4236 # mV +cv-ctrl-loop-low 4170 # mV, bumped up from Pirelli's 4160 +cv-dac-max-incr 8 # DAC units +cv-dav-max-decr 50 # DAC units +cv-ctrl-loop-sample-count 6 # our logic is simpler than Pirelli's +overvoltage 4280 # mV, bumped up from Pirelli's 4270 + +# current settings, all in ADC/DAC native units + +ci-current 610 # DAC units +end-current 122 # ADC units +ichg-max-spike 35 # ADC units +ichg-low-samples-needed 30 + +i2v-offset 0x18 # register setting