__ __ \ \ / / \ V / > < / . \ /_/ \_\
##### ## ## ## ## ##
## ## ## ## ## ## ## ## #####
_ | | | | _ | | | |__| | \____/
|\ /| | ) ( | | | | | | | | | | | | | | (___) | (_______)
IMPORTANT: enter the case-INsensitive alphabetic (no numbers) code AND WRITE SOME SHORT summary of changes (below) if you are saving changes. (not required for previewing changes). Wiki-spamming is not tolerated, will be removed, so it does NOT even show up in history. Spammers go away now. Visit Preferences to set your user name Summary of change: '''Firmware config for trigger''' family, '''where we sync on the short gap''' (instead of the missing tooth bigger gap): The '''fiatstilo bit must be enabled for both primary_trigger and secondary_trigger'''. Worked with an earlier firwmare with fiatstilo style cam. Totally reworked so basically any reasonably cam pattern is supported (setting another_trigger_tooth) Tested with 1.0.68 firmware, 4 cyl wasted spark subaru trigger setup. examples: * InputTrigger/SubaruTrigger 55 + 93 + 32 degrees * MembersPage/FiatStilo 60 + 90 + 30 * MembersPage/AttilaSzucs As you see, we neglect longer gaps (150 .. 200% relative), and trigger on the shorter gap (appr 30 .. 34% relative). '''Primary trigger settings''' * primary_trigger=29 (decimal 41) that is: ** multitooth (bit1=0) ** multitooth advanced filter ON ** fiatstilo ON bit5=1 ** rising edge * multitooth advanced filter (you can tweak these advanced filter tresholds): ** toothrel_normal=01 ** toothrel_missing=F0 # or in megatune words: ** normal tooth: 16 .. 100% ** missing tooth: 125 .. 300% * tooth_wheel=02 '''secondary_trigger''' If you have a distributer, disable (secondary_trigger=02). Without distributer, camsync is needed! GenBoard/Manual/InputTriggerCamSync but there is something special about the implementation, so it is easiest to set at least the missing tooth toothwidth to 0. (there can be several working setup). * reset_engphase_after=04 * tooth_wheel_twidth1=00 * tooth_wheel_twidth2=00 '''secondary_trigger=59''' (decimal 89) that is enabled, strig_camsync, coil type, rising edge * enabled (bit1=0) * filter OFF * fiatstilo ON bit6=1 <code> uint8_t secondary_trigger; // trigger2, bit0 0:falling/1:rising, bit1 0:enable/1:disable, bit2 1:filtering, bit3 0:toothwheel/1:coil, bit4 0:alien advance/1:cam sync, bit5 1:both edge at cranking bit6:fiatstilo </code> '''Tricks:''' * trigger_tooth=00 # currently neglected, use 00 for compatibility * another_trigger_tooth=03 # for subarutrigger The another_trigger_tooth refers to the cam_counter, that is we cam_sync after the 3 consecutive camtooth seen (see InputTrigger/SubaruTrigger). Set to 01 if you only have 1 camtooth. ---- '''No surprise (4 cyl)''': * ignchmax=03 # for 4cyl * Wasted spark is recommended, eg h[2]=02 03 02 03 .., * rpmk[0]=0b # for 4cyl * rpmk[1]=b8 # for 4cyl ---- '''Other trigger wheels that fall in this category''' Someone pasted this link on irc: http://vemscdi.narod.ru/VR.jpg This looks like a variant of the "short-gap-trigger", should be possible to make it work with proper configuration and benchtesting. We won't waste time until he makes his MembersPage. Optional: Add document to category: Wiki formatting: * is Bullet list ** Bullet list subentry ... '''Bold''', ---- is horizontal ruler, <code> preformatted text... </code> See wiki editing HELP for tables and other formatting tips and tricks.