changeset 0:5e84dc86a0bd

starting set of configs for the Pirelli
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 30 Nov 2017 01:15:29 +0000
parents
children 434a7e3e2174
files batteries/pirelli charging/pirelli/manual charging/pirelli/permausb charging/pirelli/userphone
diffstat 4 files changed, 73 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/batteries/pirelli	Thu Nov 30 01:15:29 2017 +0000
@@ -0,0 +1,25 @@
+# This table of battery millivolts to state-of-charge percentages
+# is assumed to be correct for Pirelli's battery, as it is used by
+# Pirelli's firmwares.  It may or may not be correct for other
+# FreeCalypso phone batteries.
+
+4170	100
+4120	95
+4070	90
+4030	85
+3964	80
+3930	75
+3900	70
+3882	65
+3847	60
+3805	55
+3786	50
+3771	45
+3759	40
+3750	35
+3745	30
+3737	25
+3719	20
+3688	15
+3663	10
+3539	5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/charging/pirelli/manual	Thu Nov 30 01:15:29 2017 +0000
@@ -0,0 +1,16 @@
+# 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@CHARGE=1.
+
+start-threshold		never
+restart-threshold	3900	# mV
+charge-to-voltage	4200	# mV
+overvoltage		4280	# mV
+
+ci-current		610	# DAC units
+end-current		122	# ADC units
+
+i2v-offset		0x18	# register setting
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/charging/pirelli/permausb	Thu Nov 30 01:15:29 2017 +0000
@@ -0,0 +1,17 @@
+# This charging config is intended for those usage scenarios in which the
+# phone is permanently connected to USB and cannot function at all without
+# this USB connection (pseudo-modem operation), and runs FreeCalypso fw
+# permanently as well, i.e., flashed rather than fc-xram.  This config
+# maintains the battery at a lower charge level in order to prolong its
+# life; on-battery runtime is not relevant when the phone cannot do anything
+# useful without being connected to a host computer via USB.
+
+start-threshold		3750	# mV
+restart-threshold	3750	# mV
+charge-to-voltage	3920	# mV
+overvoltage		4000	# mV
+
+ci-current		610	# DAC units
+end-current		122	# ADC units
+
+i2v-offset		0x18	# register setting
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/charging/pirelli/userphone	Thu Nov 30 01:15:29 2017 +0000
@@ -0,0 +1,15 @@
+# This charging config will be appropriate if we ever produce a FreeCalypso
+# fw version for the Pirelli DP-L10 that functions as an end user phone,
+# or if we produce our own Pirelli-like phone hardware with the same USB
+# arrangement for both charging and computer connection.
+
+start-delay		600	# ms
+start-threshold		3900	# mV
+restart-threshold	3900	# mV
+charge-to-voltage	4200	# mV
+overvoltage		4280	# mV
+
+ci-current		610	# DAC units
+end-current		122	# ADC units
+
+i2v-offset		0x18	# register setting