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