There are four ECU trouble codes related to the VTEC system
21 - front solenoid
22 - front oil pressure switch
51 - rear solenoid
52 - rear oil pressure switch
The service manual is not explicit about this; but, my speculation is that if the VTEC solenoid goes open circuit (failed) then the ECU will generate a 21 or 51 code. If the ECU generates a control signal to the VTEC solenoid and the oil pressure switch (normally closed) does not go open (lack of oil pressure) then I am also speculating that the ECU generates a 22 or 52 code. Since you are not generating any codes (did you use the service check connector to look for stored codes?) the VTEC solenoids
MIGHT be OK.
So two possible things to consider:
First
The ECU will probably not generate VTEC error codes if the conditions to engage VTED that @
SWFL_NSX mentioned are not being met
Temp > 60C
RPM>5800
Speed > 5 km/hr
Load ????
I would assign a higher probability to the possibility that coolant sensor has gone out of spec or that a bad connection at the sensor is tricking the ECU into reading a low coolant temperature. The FSM test procedure is to run the engine up to normal operating temperature, stop the engine and measure the resistance of the sensor. If the sensor resistance is between 200 and 400 ohms then the sensor is probably OK and you should be meeting the temperature requirements for VTEC operation. Check the wiring at the plug to make sure that it is OK. It is possible that the VSS might be causing a problem (any codes). A problem with the RPM signal or the load signal would likely render the engine in operable so those are likely not the cause of the problem.
Second
It is possible that everything is working just fine with the ECU and the VTEC solenoids and the oil pressure switches are working as designed. However, you are not getting enough oil pressure to activate the pistons in the rockers. There are screens / filters at the interface between the solenoid assembly and the cylinder head. If these get gummed up, they can result in loss of pressure and failure to activate the pistons in the rockers. Sticking of the spool valves might result in similar loss of oil pressure. Without looking at the physical arrangement of the VTEC solenoid assembly or knowing the set points on the switches, I don't know whether pressure loss caused by a plugged screen or sticky spool valve would cause a 22 or 52 error code. There are threads on Prime discussing the cleaning / replacement of the VTEC screens and cleaning of the VTEC solenoids.
In summary:
It would seem odd that both VTEC solenoids would run into low pressure problems all of a sudden. I would expect a clogged oil screen problem to have some prior symptoms and not show up on both solenoids at exactly the same time. As such, I would put a lower probability on the solenoids as a cause. The fact that this is accompanied by RPM limiting (is it a hard fuel cut?) makes me think that it is likely that the input conditions for VTEC operation are not being met. Check the temperature sensor and the VSS just because it is probably easier to rule those out first. If the temperature sensor and VSS are OK, then you have no choice but to get into the VTEC solenoids. Electrical tests and checking connections on the solenoids is not too bad; however, I would expect electrical problems to result in error codes. All the rest of the solenoid / spool valve inspection is definitely more work, messier (the oil pressure test) and potentially more expensive.