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