Code 21 indicates a high voltage. Does anyone know if the voltage increases as the throttle is opened? If it does, that may be a good sign the stop tang position has changed.
Voltage to the tps should be 5 volts. You can test the voltage feed by probing the feed wire with positive lead on a meter and grounding the negative lead to the frame, not the engine. Ignition should be in the ON position.
I found this on testing for high voltage on a TPS.
I’m not sure why you are getting such a high voltage, but you are making one mistake when checking TPS voltage. The ECM sends a 5 volt reference voltage to the TPS which passes through a variable resistor of the sensing circuit. This of course is connected to your throttle pedal. When the 5 volts passes through the resistor of the TPS, the voltage will vary based on the position of the throttle plate. This is how the ECM knows what you are doing with the gas pedal.
You can test a TPS in two ways, You can simply test the resistance with an Ohm meter or you can test the voltage change that occurs in the reference circuit. The mistake you are making is connecting the multimeter to the negative battery post. You need to connect one end to the 5 volt reference sent to the TPS from the ECM and the other lead to the center wire coming out out of the TPS. This is what they mean by inline. While doing this, with the key on, move the throttle plate and the voltage should change smoothly. It is the smooth change in voltage or resistance we are looking for. If it glitches, jumps or just doesn’t change, you need a new TPS.
To add, a TPS won’t make a car not start. You need to check the fuel pressure, check for spark and injector pulse.