comparison charging/pirelli/manual @ 5:614230dd6b4b

charging/pirelli/manual: first test config for FCHG v2
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 29 Dec 2017 19:00:32 +0000
parents
children bcc8f3cf1bc1
comparison
equal deleted inserted replaced
4:c9b859e994cf 5:614230dd6b4b
1 # This charging config is intended for those usage scenarios in which your
2 # Pirelli phone runs FreeCalypso fw only occasionally, with manual loading
3 # via fc-xram for every session, and when you desire to have the ability
4 # to charge when running FC fw, but not have charging happen automatically
5 # on every fc-xram run. With this config charging will only happen when
6 # explicitly requested via AT@CHG=1.
7
8 start-threshold never
9 restart-threshold 3900 # mV
10
11 # Constant Voltage charging magic following Pirelli's fw
12
13 ci2cv-threshold 4250 # mV
14 cv-initial-setpoint 4220 # mV
15 cv-ctrl-loop-high 4236 # mV
16 cv-ctrl-loop-low 4170 # mV, bumped up from Pirelli's 4160
17 cv-dac-max-incr 8 # DAC units
18 cv-dav-max-decr 50 # DAC units
19 cv-ctrl-loop-sample-count 6 # our logic is simpler than Pirelli's
20 overvoltage 4280 # mV, bumped up from Pirelli's 4270
21
22 # current settings, all in ADC/DAC native units
23
24 ci-current 610 # DAC units
25 end-current 122 # ADC units
26 ichg-max-spike 35 # ADC units
27 ichg-low-samples-needed 30
28
29 i2v-offset 0x18 # register setting