Firmware versions 1.1.xx
The following cofigurations are for 12 crank (24cam) tooth primary trigger, single cam tooth secondary trigger.
As found in Toyota, Honda, Mazda, and Nissan with CAS converter disk ( VehicleFitment/Nissan )
4 Cylinder
In config.txt
- primary_trigger=07 # coil type, filtering, rising edge.
- secondary_trigger=19 # camsync, rising edge.
- tooth_wheel=18 # decimal 24 tooth (between cam pulses)
- trigger_tooth=01 # or upto 05
- ign_tdcdelay=B4 # 90/0.5 = 180 (half degrees)
- another_trigger_tooth=06 # 24 tooth/4 cylinders
- tooth_wheel_twidth2=00 # No missing tooth
- tooth_wheel_twidth1=78 # decimal 120 (30deg / 0.25)
- rpmk[0]=0b
- rpmk[1]=b8 #RPM constant for 4 cyl = 3000 (=0x0bb8)
- alternate=13 # injgroups 3..0 (fire all banks during cranking)
- ignchmax=03 # ignition 3..0
- cam_sync_r_edge_phase=33
- cam_sync_f_edge_phase=46
- reset_engphase_after=40 # since 720/0.25 = 2880%256 = 64
In tables.txt
h[1]=00 12 0C 06 00 12 0C 06 # another_trigger_tooth=06
h[2]=10 30 20 00 10 30 20 00 # Firing order: 1, 3, 4, 2
6 Cylinder
In config.txt
- primary_trigger=07 # coil type, filtering, rising edge. Alternatively 06 would be falling edge (could be suitable for HALL, but not for VR)
- secondary_trigger=19 # camsync, rising edge; alternatively 1d is same, but with filtering
- tooth_wheel=18 # decimal 24 tooth (between cam pulses)
- trigger_tooth=01 # or upto 03
- ign_tdcdelay=C4 # 98 crankdegrees
- another_trigger_tooth=04 # 24 tooth / 6 cylinders
- tooth_wheel_twidth2=00
- tooth_wheel_twidth1=78 # decimal 120, that is 30 crankdeg per tooth
- rpmk[0]=07
- rpmk[1]=d0 # RPM constant for 6 cyl = 2000 (=0x07d0)
- alternate=15 # injgroups 5 .. 0 (fire all banks during cranking)
- ignchmax=05 # ignition 5..0
- reset_engphase_after=40 # since camsync is used
In tables.txt
h[1]=00 14 10 0C 08 04 .. ..
h[2]=10 60 50 40 30 20 .. ..
8 Cylinder
In config.txt
- primary_trigger=07 # coil type, filtering, rising edge.
- secondary_trigger=19 # camsync, rising edge.
- tooth_wheel=18 # decimal 24 tooth (between cam pulses)
- trigger_tooth=01 # or upto 05
- another_trigger_tooth=03 # 24 tooth/8 cylinders
- tooth_wheel_twidth2=00 # No missing tooth
- tooth_wheel_twidth1=78 # decimal 120 (30deg / 0.25)
- cam_sync_r_edge_phase=33
- cam_sync_f_edge_phase=46
- rpmk[0]=03
- rpmk[1]=e8 #RPM constant for 4 cyl = 3000 (=0x03E8)
- ign_tdcdelay=B4 # 90/0.5 = 180 (half degrees)
- alternate=17 # injgroups 7...0 (fire all banks during cranking)
- ignchmax=07 # ignition 7...0
- reset_engphase_after=40
In tables.txt
h[1]=15 12 0F 0C 09 06 03 00
h[2]= <depends on firing order>