On the bike, it used to “crash” and return to zero mph, until I fitted a suppressor spark plug cap.
Then recently it started the crashing to zero again. Turns out the HT side of the ignition coil was failing, going open circuit. In about 70 miles, the bike went from an occasional misfire, to crazy spluttering and banging.
Interesting. It could almost serve as a crude onboard diagnostic