I understand what field weakening is, and how it is applied. But it doesn’t use any information from a cadence sensor, that as I said is sensing pedal cadence after a reduction drive and one way clutch. I’m very familiar with the TSDZ2 OSF code, and can happily point you to the relevant lines...