I had exactly your symptoms. Very possibly the speed sensor located on the off side front wheel hub. It is a hollow bolt containing the electronic sensor. Easily broken when wiping away excess grease etc.
“Revotech” make the replacement for about £50+ or so; also available via suppliers like Demon Tweeks.
All about it in past posts on TM & in Dave’s book, as already mentioned.


Doug
2011 Plus 4 in Rich Maroon

1972 750 “ComDom” sprinter
1958 Triton 650
1992 Triumph Trophy 900