Isn't a code 22 the vtec oil pressure code?
I don't think the H22 has a pressure sensor on the head.
So what happens, is that at x rpm, the ecu wants to engage vtec, does not see the needed pressure signal, throws a code, and drops into safe mode.
You'll need to modify the ECU to fix this.
Either with software, or by soldering a wire connecting 2 points on the back of the board, to fake the signal.
I don't think the H22 has a pressure sensor on the head.
So what happens, is that at x rpm, the ecu wants to engage vtec, does not see the needed pressure signal, throws a code, and drops into safe mode.
You'll need to modify the ECU to fix this.
Either with software, or by soldering a wire connecting 2 points on the back of the board, to fake the signal.