It is normally Power, Gnd and Proportional feedback signal (power and signal voltage can vary across models due to type of ECU and sensor fitted).
Can you access live data with FAPlite or similar to see if there is a valid signal. 99 time out of 100 the sensor is shot as they get quite a hard life but check wiring loom near turbo and over gearbox .
Replaced the sensor. Was ok for a week, but thats how it was before i changed it to, could be ok for a week or two and then mailfunction. Sometime it goes in "limp" mode for 3-5 sec.
The errorcodes is.