For those that are interested, my problem has been solved:
I fixed the stationary gear, applied a joint to the ring gear (and selected the stationary gear as the base), made a 3D contact between the components, and applied a torque vector to the ring gear in the z axis.