Changes by last author:
Changed:
Distributor Wiring |
Distributor Wiring for MembersPage/MichaelRichards/Projects/NicksGTX |
Triggering problem |
Trigger setup - trivial modifications, starting from MembersPage/Fero/SUPRA and verified from GenBoard/UnderDevelopment/FirmwareChanges TODO: needs testing (table-test first, with LEDs)
Note that MembersPage/MichaelRichards/TriggerTutorial/SimpleTrigger has a more detailed explanation. (btw, why duplicate?) |
trigger1, rising,coil,filtering
TODO: are you sure about rising edge? primary_trigger=07 trigger2, rising, enabled, filtering TODO: are you sure about rising edge? secondary_trigger=05 not used in coil type triggers trigger_tooth=FF another_trigger_tooth=FF tooth_wheel=FF |
trigger1, falling edge, coil,filtering
primary_trigger=06 trigger2, falling edge, enabled as camsync, no filtering secondary_trigger=18 trigger_tooth=00 another_trigger_tooth=01 tooth_wheel=04 |
crank_minper=B0 |
crank_minper=B0 - you can safely set this even lower |
The crank trigger occurs 80 degrees before TDC. Fero used 0xA2 which is 81 degrees. I assume this value is adjusted and found with a timing light once the engine is running. |
The crank trigger occurs 80 crankdegrees before TDC. Fero used 0xA2 which is 81 degrees. I assume this value is adjusted and found with a timing light once the engine is running. in MembersPage/MichaelRichards/TriggerTutorial/SimpleTrigger 66 crankdegrees (=0x84 halfdegrees) is suggested (measured), which is quite different, so you want to verify by measurement on your own engine, for sure |
I have no idea what a good ignition crank is for this engine. Fero used 13.25 degrees and so will I for now. |
I have no idea what a good ignition crank is for this engine. Fero used 13.25 degrees and so will I for now. (7..10 crankdegrees sounds best unless you know a reason to cheat: eg. because of compression related angular acceleration, compensation might be desirable) |
These are not used for coil setup
tooth_wheel_twidth1=FF tooth_wheel_twidth2=FF I believe this is how many trigger pulses before the phase is reset. In our case it should be 4 primary pulses for 720 degrees of revolution reset_engphase_after=04 TODO - need help with this one! rising edge is 18 camdegrees BTDC and falling edge is 57 camdegrees ATDC. The last pulse before TDC occurs a whopping 80 camdegrees before. Can you double-check polarity because it sounds like reversed. I'm uncertain how to turn these details into values. |
180 crankdegrees per tooth, that is 720 (*0.25 degrees) = 0x2D0
tooth_wheel_twidth1=D0 tooth_wheel_twidth2=02 (upper byte) Engphase modulus. N*tooth_wheel_twidth1 + M * tooth_wheel_twidth2 In our case it should be 4 primary pulses for 720 degrees of revolution. reset_engphase_after=40 # 0x40==64, since camsync is used * h[1]=00 03 02 01 .. .. .. .. # reftooth array * h[2]=20 30 20 30 .. .. .. .. # assuming ignch2 and ignch3 are used in wasted spark setup These "edge-phase" are not currently used: set h[2] according to relevant h[1]. campulse is not allowed to race crankpulse, so the first crankpulse after the campulse will always be the same predictable cylinder. |