Fault codes
Dds: gear sensor diagnosis -> short circuit to ground or open circuit (s.C. Gnd or c.O.) - Short circuit to vdc (s.C. Vdc) - congruence (generic error - signal not correct).
Dashboard: the error "gear sensor" is shown on the service display. The eobd warning light activates.
Fault indication
If the dashboard receives the "gear" error information via the can line:
If the dashboard does not receive the gear or neutral engaged information via the can line:
If the dashboard receives incorrect gear engaged information (flashing dashes) via the can line with the engine running:
Warning
It is possible that the gear engaged or neutral engaged information is not being generated because the gear position self-acquisition procedure has not been performed (gear sensor not initialised).

Wiring diagram

Bbs bbs unit connection, s gear position sensor. Bbs 15 brown/red - br/r (5v), bbs 13 yellow/green y/g, bbs 10 black/blue - bk/b.
Location of connections and components

Location of gear sensor connection

Pin numbering of wiring harness side bbs unit connection.
Checks
The gear sensor is a hall effect unit. Ground is on pin 10 of the bbs unit, 5 v power is on pin 15 of the bbs unit, pin 13 of the bbs is the input for the signal generated by the sensor. Check that the sensor receives 5 v power.
Check the integrity of the electrical circuit and connections (short-circuits to ground, short-circuits to vdc, open circuits).
Perform the gear self-acquisition procedure.
If none of the aforementioned tests identify the problem, replace the gear sensor then perform the gear self-acquisition procedure. If the fault has not been resolved, replace the bbs unit.
Warning
The engine control unit uses the neutral engaged signal generated by the gear sensor, together with the clutch lever pulled signal, to manage idle speed.
Note
Check integrity of electric circuit - short-circuit to vdc = with dashboard on, using a voltmeter, a voltage is measured between the wire tested and ground.
Check integrity of electric circuit - short-circuit to ground = with the battery cables disconnected, using an ohmmeter, continuity is detected between the wire tested and ground.
Check integrity of electric circuit - open circuit = with the battery cables disconnected, using an ohmmeter, no continuity is detected between the two ends of the wire tested.
Gear self-acquisition procedure
The gear self-acquisition procedure must be launched from the dds instrument. This ensures that the data stored previously is deleted and enables the bbs to run a new gear acquisition procedure. With the engine running and the motorcycle in motion:

Resetting turn indicators not possible - accessing dashboard menu not
possible
Dashes shown instead of speed indication or indicated speed is incorrectAdjusting the throttle cable
The throttle grip in all steering positions must have free play, measured on
the periphery of the flange of the grip, of 1.5 -
2.0 Mm.
If necessary, adjust using the adjusters (1) and (2) located on the steering
tube on the right side of the motorcycle.
Adjuster (1) adjusts the throttle o ...
General maintenance indications
Useful tips
Ducati recommends that you follow the instructions below in order to prevent
problems and obtain the best end result:
When diagnosing faults, primary consideration should always be given to
what the customer reports about motorcycle
operation since this information can highli ...
Refitting the tail light
Fit the spacers with collar (3) into the rear vibration dampers (2) located
on the gloves compartment (23).
Note
Two spacers (3) must be inserted inside and outside on the right side and
two spacers (3) must be inserted inside and
outside on the left side.
Insert the split vibration damp ...