Motorcycle Questions? Ask a Mechanic.
Hi and welcome to JustAnswer,Thank you for the question and your patience. Should you still need assistance for information purposes only...Initially and to my recollection, error code 12 would be 'no signal from the crank position sensor' or more particularly, "low or missing pulsating voltage from the pulser coil". The pulser coil is co-located with the stator. With passive / resistance check, it would be around 500Ω and when attempting to start/cranking, it should produce a little less than 1 V.
In some other instances, it would be a wiring issue of the same part where possibly pinched to engine ground by the metal cable clamp holding the sub-harness from the stator.