Notices
Speeduino Discussion about Speeduino.

NBFL with stock triggers (CKP/CMP)

Thread Tools
 
Search this Thread
 
Old Nov 2, 2025 | 10:01 AM
  #1  
Wolve's Avatar
Thread Starter
Newb
 
Joined: Nov 2025
Posts: 5
Total Cats: 0
Default NBFL with stock triggers (CKP/CMP)

Hello everyone,

I have a '03 NBFL miata (or mk2.5 in Europe) with a pnp speeduino having random rpm spikes up to 13k+ (mostly during high load) causing frustrating hiccups. With the developer of the board we tried every software trick there is. Nothing. Seems to come back to the ckp/cmp triggers of a NBFL (4tooth on the crank and 3 uneven on the cam) being a noisy and sensitive solution foor the arduino.

So i started wondering with all those pnp speeduino mx5 kits around. Is everyone running a aftermarket crank wheels and other means to cure this? Or is everyone running fine on the stock triggers and is my pnp board faulty by design? This board works perfectly everywhere other then the rpm spikes, but i would hate to buy another and have the same issue again.

So my question is: are there people out there with a NBFL running perfectly fine on stock triggers/wheels (ckp/cmp) and wich pnp speeduino are you running? Or what have you done to make the stock triggers working?

I am forever grateful for your input

Old Nov 2, 2025 | 10:30 AM
  #2  
SimBa's Avatar
Elite Member
iTrader: (1)
 
Joined: Oct 2022
Posts: 1,766
Total Cats: 271
From: Idaho
Default

As far as I know the NB2 and NB1 (or however you want to refer to them) use the same trigger setup. IIRC in the Speeduino, that's referred to as Mazda 4+3 Trigger or something similar.

I ran a speeduino, specifically the SpeedyEFI PNP, on my NB1 with stock triggers for 6 months or so without issues. I actually ran 2 different physical ECU's and they were both fine. I swapped to a 36-2 trigger wheel after that, and that became a big headache that required custom firmware to support. There was supposed to be a firmware update to support that, but I'm not sure if that's happened.

Posting your tune here might help. Have you tried adjusting the trigger filter settings?
Old Nov 2, 2025 | 11:52 AM
  #3  
Wolve's Avatar
Thread Starter
Newb
 
Joined: Nov 2025
Posts: 5
Total Cats: 0
Default

Originally Posted by SimBa
As far as I know the NB2 and NB1 (or however you want to refer to them) use the same trigger setup. IIRC in the Speeduino, that's referred to as Mazda 4+3 Trigger or something similar.

I ran a speeduino, specifically the SpeedyEFI PNP, on my NB1 with stock triggers for 6 months or so without issues. I actually ran 2 different physical ECU's and they were both fine. I swapped to a 36-2 trigger wheel after that, and that became a big headache that required custom firmware to support. There was supposed to be a firmware update to support that, but I'm not sure if that's happened.

Posting your tune here might help. Have you tried adjusting the trigger filter settings?
Goor to hear the speedyefi worked solid. It's indeed the 4 (ckp) + 3(cmp) trigger. What made you want to switch to a 36-2 wheel?

I tried every trigger filter setting i could find (from off to aggressive) and all combinations of trigger edge settings (rising/falling). I'll go get my tune and some datalogs
Attached Files
File Type: mlg
hiccup with r999 removed.mlg (39.9 KB, 14 views)
File Type: mlg
hiccup 5th.mlg (31.6 KB, 11 views)
File Type: mlg
hiccup under load semiseq.mlg (24.3 KB, 14 views)
File Type: mlg
hiccup under load seq.mlg (24.3 KB, 15 views)
File Type: mlg
Hiccup under load.mlg (22.8 KB, 17 views)

Last edited by Wolve; Nov 2, 2025 at 11:58 AM. Reason: Tune/datalog
Old Nov 2, 2025 | 12:19 PM
  #4  
Wolve's Avatar
Thread Starter
Newb
 
Joined: Nov 2025
Posts: 5
Total Cats: 0
Default

This old thread https://www.msextra.com/forums/viewt...=28944#p192331 (from post 3 onwards) seems to point out the problem for megasquirt users back in 2008? Is this a miata specific trigger setup incorporated in most pnp boards or is there already a software fix for it in speeduino? The board i have had this setup for the ckp/cmp inputs (see the picture)


Last edited by Wolve; Nov 2, 2025 at 12:45 PM.
Old Nov 2, 2025 | 12:45 PM
  #5  
SimBa's Avatar
Elite Member
iTrader: (1)
 
Joined: Oct 2022
Posts: 1,766
Total Cats: 271
From: Idaho
Default

The 36-2 trigger wheel is a pretty common upgrade. It just gives you a bit more resolution the crank position. I think the wheel actually came with an aftermarket damper I ordered so I threw it on. I didn't even consider that Speeduino might not be able to control it because it's such a common upgrade for these cars.

Are you in the UK? Is this a 1.6 NB?

Looking at the logs, there's no sync loss that I'm seeing, so I don't think your trigger settings are the issue. What version of the Speeduino firmware are you running?

I know it's a pretty tired suggestion at this point, but I would probably be doing a sanity check on my grounds and wiring just to be safe. ETA - I noticed your AFR seems to have some significant spikes at times as well which is why I'd be looking over wiring/electrical health.

ETA - I've also found a couple threads on old Speeduino forums which suggest going to semi-sequential for an issue that sounds identical to what you've described. I know you've already tried semi-seq based on the datalog names, but I'd probably be trying that for now.

Old Nov 2, 2025 | 01:26 PM
  #6  
Wolve's Avatar
Thread Starter
Newb
 
Joined: Nov 2025
Posts: 5
Total Cats: 0
Default

Originally Posted by SimBa
Are you in the UK? Is this a 1.6 NB?

Looking at the logs, there's no sync loss that I'm seeing, so I don't think your trigger settings are the issue. What version of the Speeduino firmware are you running?

I know it's a pretty tired suggestion at this point, but I would probably be doing a sanity check on my grounds and wiring just to be safe.
I'm in holland and yes it's a 1.6.

Yes it's very strange to not see sync losses. But seeing the random 13k spikes (random in high load and not there when cruising) having tried different firmwares (currently the latest) and all filtering options.

I will be testing grounds, but seeing it's an pristine unmolested car with untouched wiring i did not expect anything. For piece of mind tough i will
Old Nov 2, 2025 | 01:55 PM
  #7  
SimBa's Avatar
Elite Member
iTrader: (1)
 
Joined: Oct 2022
Posts: 1,766
Total Cats: 271
From: Idaho
Default

Gotcha, that's a pretty important detail. I haven't done anything with the 1.6L NBs. Just based on what I've seen on forums and such I'd probably play around with semi-sequential more and see if that fixes it. @AlexE seems to pop up in a lot of places where issues like this are mentioned as well, so maybe he has some ideas.
Old Nov 4, 2025 | 06:05 AM
  #8  
Wolve's Avatar
Thread Starter
Newb
 
Joined: Nov 2025
Posts: 5
Total Cats: 0
Default

the 1.6 in the NBFL is almost identical to the 1.8 VVT, all the same sensors/wiring etc. minus the VVT and displacement ;-)

i found the semi-sequential suggestion of AlexE and tried it in multiple variants (see datalogs), not a single difference. The producer of my board is now making a small daughterboard with the suggestions of the above old thread for filtering out the miata specific noise present in our beloved cars/wiring.


Anyone else having good succes with PnP boards on a NBFL miata?
Old Jan 10, 2026 | 07:26 AM
  #9  
AlexE's Avatar
Newb
 
Joined: Jul 2024
Posts: 22
Total Cats: 3
Default

yes, it seems schmitt trigger on CKP and CMP inputs solves problem.

I based on circuit by Abe Mira, can be found in Megasquirt threads. This has some drawbacks, for instance using TL082 is not a good idea, LMV358 is better. It also inverts signal phase making engine terribly hard to start (but in case of mk2 NB mk2.5 NBfl you can switch trigger edges from rising to falling, then it works).



also I changed pullup resistors to 1k, and filtering to 1k / 4.7nF

on oscilloscope it still has some flaws but engine works well


finally designed another circuit based on 74HCT14 and incorporated it into latest revisions of my ECUs
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Cwin20
Speeduino
3
Mar 7, 2024 11:20 AM
SinistiR
MEGAsquirt
6
Jan 18, 2018 11:13 AM
slammedkouki
MEGAsquirt
3
Nov 18, 2013 03:29 PM
thirdgen
Miata parts for sale/trade
2
Dec 31, 2009 03:29 PM
compuatic
MEGAsquirt
9
May 25, 2008 10:56 AM




All times are GMT -4. The time now is 05:40 AM.