In the present work a transition from the spin-$0$ Duffin-Kemmer-Petiau equation to the Dirac equation is described. This transformation occurs when a crossed field changes into a certain longitudinal field. An experimental setup to carry out the transition is proposed.