A resident gearhead who owned two CBs (both turbo) said there's a sensor in the gauge assembly that sends a speed signal to the ECU. You might want to start there.

The crank angle sensor can also trip a CEL but it looks like it's not related.