Just tested the previous version of the code with lower cadence, results as follows:
1. Power on the bike, no errors.
2. Run throttle, no errors, release throttle approx 3secs later error 22 displayed.
Below is the code just for reference the error may have been caused by the pedalon code...