view 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
line wrap: on
line source

# 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