Medical diagnosis based on the differences in tissue elasticity increasingly become of great interest to doctors in related fields. Magnetic resonance elastography (MRE) is one of the most promising technologies to get the tissue elasticity distribution rapidly and noninvasively. The key point of MRE research is to impose an appropriate shear wave incite to samples. In this research, a shear wave drive device with high electromagnetic compatibility was designed with the principle of direct digital frequency synthesis. The device could receive the sequence of the NMR and could adjust the frequency, initial phase and incite time. A phantom experiment with this device was done on the platform of MRE, the results showed that the wavelength of the shear wave traveled through the phantom was directly with the concentration of phantom. Reliable phase diagram of particle displacement can be obtained when using this shear wave drive device, and this is an effective device for MRE research.