____ / ___| | | _ | |_| | \____|
___ / _ \ / /_\ \ | _ | | | | | \_| |_/
__ __ \ \ / / \ \ /\ / / \ V 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: For the Nissan CAS trigger (360 pulses) 3 possible solutions (one working, one should be easy and one hard) '''Current solution is a 24+1 slot trigger wheel''' as described here: VehicleFitment/Nissan We have a number of cars running on these trigger disks. ---- With '''leaving the 360 impulse disk, a hardware divby8 divider can help'''. We have divby8 implemented with HCF4024 circuit (originally for high toothcount ABS wheels). Since this circuit has (active-high) reset input, this can be useful to make a precise 45 pulse toothtrain from the 360 tooth. * '''TODO: find out if the length of the sync pulse''' accompanying the 360 teeth, and if it is mostly low (good) or mostly high state ** possibly another counter/divider chip is needed with edge-activated reset input ? ** is the sync pulse falling edge not racing with (the rising or falling edge of) one of the 360 pulses ? (I assume not, because that would be very stupid. This would make a nice counter-type implementation impossible, but a helper "assistant CPU" could still help) * TODO: actually try the resettable divby8 counter (on bench, and on engine) ** divby4 (360 => 90 pulses) is trivial to set up. Firmware could (should) be configured to divby3 or even divby15 (via divby-ANY setting) ** divby8 (360 => 45 pulses) for 4 cyl engines requires a small trick of 4 crankdegrees ignition trimming (because delaying by 23 teeth is not exactly the same as the required 22.5 teeth) ** according to MembersPage/JannoKusman/NissanTrigger a helper CPU is needed because of the 4 slot syncpulse ---- Alternative solution would be '''software divide by the main processor'''. The processor is definitely capable. But unfortunately we have some tasks in interrupt that would need to be rewritten. (not the trigger input capture interrupt, but other interrupts that could interfere). This has been evaluated but '''found to be too much work that would delay other developments unacceptably'''. ---- '''See also''' * guys interested in this ** MembersPage/FredrikJagenheim ** MembersPage/JannoKusman ** MembersPage/FredrikBruland ** MembersPage/MattiasSandgren/MattisNissan 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.