view 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
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-dac-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