The code P0502 is a difference in speed reading between the vehicle speed sensor (VSS) and the wheel speed sensors. I would install a new VSS sensor to fix the problem here is the location so you can do the repair and clear the codes. Check out the images (below). Please let us know if you need anything else to get the problem fixed.
Images (Click to enlarge)
Tuesday, October 25th, 2022 AT 12:28 PM