

SVN repository
Full archive
Schematic.pdf
Oshpark
ECS-40-20-5PX-TR CRYSTAL 4MHZ: XC1238CT-ND
IC REG LDO -5V 0.1A SOT89-3: 497-1219-1-ND
CAP ALUM 100UF 16V 20% SMD: EEE-FP1C101AP
CAP ALUM 10UF 16V 20% SMD: EEE-1CA100NR
Please let me know what size of hammer I should mail you to make this happenpuff wrote:... and a small hammer
Code: Select all
user configurable integration window in degrees (between what engine positions do you want to listen for knock)
at start-up send SPI configuration (prescaler, channel select, bandpass, enable advanced mode)
calculate Tc based on rpm
update Tc via SPI
calculate what gain value to use based on rpm and time constant (should make for more consistent integrator output, but I am still testing this)
update gain
Set INT/HOLD pin active based on engine position (integration window)
once integration window ends, get 10-bit integrator output
calculate Tc based on rpm
update Tc
calculate what gain value to use based on rpm and time constant (should make for more consistent integrator output, but I am still testing this)
update gain
Set INT/HOLD pin active based on engine position (integration window)
once integration window ends, get 10-bit integrator output
etc.
That must be https://github.com/spillymon/TPIC/blob/master/TPIC8101_V1_5A ?Spilly wrote:I very recently wrote a driver for another uC (Parallax Propeller)
I recall a lot of that was due to 3v<>5v magicpuff wrote:Are these pull-ups on spi line necessary? neither schemes I examined have them.