The speedo does read from the front wheel on the 2017 on 650's and the 2014 on 1000's.
So remove the sensor, give it a clean, check the gap and check the abs ring.
On my 1000, nothing worked after replacing the front tyre, the fitter had bent the abs ring slightly but there was no code so yours might be a sensor fault.