You need to have the transmission codes scanned with a dealer level scanner, the generic P0715 code may not be what you think it is. Mazda very likely has their own definition for P0715 and there could be other codes in the transmission computer that you cannot read with a generic scan tool.
Also, P07xxx codes are almost always indicators of internal issues with the transmission. Very often it is one of the solenoids in the valve body, but never guess. Get is looked at as soon as possible, you are risking a bigger problem by not finding the real cause of codes.
Also, check the wiring to the speed sensor.
Also, P07xxx codes are almost always indicators of internal issues with the transmission. Very often it is one of the solenoids in the valve body, but never guess. Get is looked at as soon as possible, you are risking a bigger problem by not finding the real cause of codes.
Also, check the wiring to the speed sensor.