first error, you can't put 1 def after trigger tooth.
Try 0 or 1 for trigger tooth and delay 30 for start.
Ref totth table is empty
then you set sequencial spark but you didn't set sec. trigger.
ve, spark... all wrong
Maybee put default config?
Yes primary and secondary trigger settings are wrong in that test config, also reference table and ve/spark tables.
So don't pay attention to them.
Triggering itself works, but something else makes the spark advance drop to 18degrees.
This happens always, when you are driving on light load or high load.