P0340 fault code
Assuming you have a 1996 328i convertible based on your photo as there were no US 96 328is.
It is located at the left front end of the the engine cylinder head under the plastic cover behind the VANOS solenoid next to the top of the oil filter housing. In addition to the new sensor, you will need new metal o-rings for the VANOS line, a new rubber o-ring for the camshaft sensor and perhaps a new socket head cap screw if you round out the internal hex trying to loosen this Loctited screw.
See Figures 1 & 3 at the following Pelican Parts link.
http://www.pelicanparts.com/bmw/techarticles/101-Projects-14-Cam-Sensor/101-Projects-14-Cam-Sensor.htm
×