We consider a differential equation with a random rapidly varying coefficient.The random coefficient is aGaussian process with slowly decaying correlations and compete with a periodic component. In theasymptotic framework corresponding to the separation of scales present in theproblem, we prove that the solution of the differential equationconverges in distribution to the solution of a stochastic differential equationdriven by a classical Brownian motion in some cases, by a fractional Brownianmotion in other cases. The proofs of these results are based on the Lyons theory ofrough paths. Finally we discuss applications in two physical situations.