Hello! Welcome to justanswer!
The sensor is located inside of the Timing Cover. See the picture below for the exact location:
P0322 is not the cam shaft sensor but the crank shaft sensor. It is called the engine speed sensor, it is in fact located next to the oil filter housing remove the bolt and the sensor will come out, Its fairly simple. The harness at times can be a little difficult to remove from the holder. This is done from under the vehicle.