Codes P0521, P0340, P0341, and P0016, after replacing the rear main seal?

2006 GMC ENVOY
199,000 MILES • 5.3L • V8 • 4WD • AUTOMATIC
Avatar
SAELI SAELI
  • MEMBER
  • 1 POST
I replaced the rear main seal on my vehicle listed above xl Denali and now I have codes, P0521, P0340, P0341, and P0016.
Apr 24, 2025 at 7:04 PM
Advertisement
Avatar
STRAILER
  • ASE Certified Mechanic
  • 54,832 POSTS
  • ASE Certified Mechanic
So all of these codes can be because the engine oil is dirty or low. I would make sure the engine oil is in good shape and then clear the codes and drive it. Can I ask if you are hearing any noises from the engine at idle?

P0521 - Engine Oil Pressure Sensor/Switch Range/Performance

P0340 - Camshaft Position Sensor “A” Circuit Bank 1

P0341 - Camshaft Position Sensor Range/Performance

P0016 - Crankshaft Position - Camshaft Position Correlation (Bank 1 Sensor A)

Please upload pictures or videos in your response.
Apr 25, 2025 at 10:32 AM
Join 2CarPros for free, one of the most advanced car repair communities on the internet. From first-time drivers to seasoned mechanics, everyone is welcome to reply, share details, and get better answers. You can add a temporary image or video first; uploads are limited to 20 MB.
Ask a Free Question
Repair Safety Notice: This information is for general instructional purposes only. Vehicle repair can be dangerous. Verify all information, follow manufacturer service procedures, use proper tools and safety equipment, and consult a qualified repair shop when needed.