1) Turn the ignition switch to ON.
2) Measure the voltage between camshaft position sensor and engine ground.
Connector & terminal
(E36) No. 1 (+) — Engine ground (−):
Is the voltage 10 V or more?
Repair the open or ground short circuit between main relay connector and camshaft position sensor connector.