When the DTC P0365 OBD2 code is set, it means that a lack of voltage was detected in the Camshaft Position Sensor (CMP) “B” of bank 1. This fault is recognized by the PCM (Powertrain Control Module) within the first few seconds of engine start-up.
The function of the CMP sensor is to measure the speed at which the camshaft rotates. Thus, it helps the PCM control fuel injection as well as engine timing. The “B” designation indicates that this sensor is located in the exhaust cylinder head.