Code C0665 on the 2022 Mazda CX-30 indicates a malfunction in the front right ride height sensor circuit. The CX-30 uses ride height sensing primarily for headlight auto-leveling, ensuring proper beam aim regardless of vehicle loading.
Auto-Leveling Headlight System
The CX-30's headlight auto-leveling system uses ride height sensors to detect vehicle attitude changes from passenger and cargo loading. When the rear is loaded, the front rises - without correction, headlights would aim too high and blind oncoming drivers. The system adjusts headlight aim to maintain proper beam pattern.
Symptoms Present
With C0665 active, a headlight or suspension-related warning may illuminate. The auto-leveling function may be disabled, meaning headlights remain at a fixed aim position. In some markets, this is a safety or emissions inspection concern since proper headlight aim is required.
Diagnostic Investigation
The front right ride height sensor mounts near the suspension, typically on the control arm or subframe. Check the sensor link arm connection first - vibration can disconnect these over time. Inspect the sensor connector for corrosion or damage. Test sensor output by monitoring live data while moving the suspension up and down.
Repair Steps
Reconnect or replace the sensor link if disconnected or broken. If the sensor itself has failed, replacement requires accessing the front suspension area. After installation, verify sensor readings change appropriately with suspension movement. Some systems may require calibration to establish reference ride height.