We suggest a new pump-probe method for studying semiconductor spin dynamics based on pumping of carrier spins by a pulse of oscillating radiofrequency (rf) magnetic field and probing by measuring the Faraday rotation of a short laser pulse. We demonstrate this technique on n-GaAs and observe the onset and decay of coherent spin precession during and after the course of rf pulse excitation. We show that the rf field resonantly addresses the electron spins with Larmor frequencies close to that of the rf field. This opens the opportunity to determine the homogeneous spin coherence time T2, that is inaccessible directly in standard all-optical pump-probe experiments.Introduction. When a magnetic field B is applied to an ensemble of electron spins, they all precess with the Larmor frequency ω L = gµ B B/ , where g is the electron g factor, µ B is the Bohr magneton, and is the Planck constant. This ensemble precession is hardly detectable since the relative phases of the spins are random so that macroscopic spin polarization averages to zero. However, we can induce a common phase by applying a weak radiofrequency (rf) magnetic field oscillating with a frequency ω close to ω L . In analogy with a driven harmonic oscillator, the electron spins after some time will resume the frequency and phase of the rf field. As a result the in-phase spin precession motions form a macroscopic spin polarization that can be detected optically by measuring the Faraday/Kerr rotation of the linear polarization of a laser pulse which arrival time is synchronized with the rf field oscillation. By applying an rf field of finite duration and scanning the relative delay of the optical probe it is possible to measure the coherent electron spin dynamics.