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 incorrectIdentification data
All ducati motorcycles have two identification numbers, for
frame (fig. 1) And engine (fig. 2).
Note
These numbers indicate the motorcycle model and
should be quoted when ordering spare parts.
...
Inputs and outputs of engine control unit and connection to can network
The diagram illustrates the inputs and outputs for the engine control unit.
The signals from the brake buttons, the exhaust
by-pass valve command signal and the gear sensor signal are transmitted over the
can line.
1I emergency engine cutout switch
2I start button
4I side stand button
6 ...
Reassembly of the control unit
Insert the control unit (4) into the protecting sheath (5) and position it on
the airbox.
Position the relay supporting bracket (2) by starting and tightening the
screws (1) to a torque of 6 nm +/- 10% (sect. 3 -
3, Frame torque settings), and connect the control unit connectors (3).
...