Mtn bike spin out

I’ve got an old MTB permanently mounted on my trainer and was having the same problem, so I changed the crank for a road one with a 50T ring, it all works perfectly with the rest of the MTB drivetrain. Another option for you if you don’t plan to ride the bike outdoors again.