Diagnostic Aids
WARNING: This page is about a different car, the 2002 GMC Yukon XL, 2002 GMC Sierra, 2002 Chevrolet Suburban, and 2002 Chevrolet Silverado. However, it is still accessible from the selected car via links, so may be relevant.
DTC P0502 defaults to an elevated line pressure condition which may result in TCC partial apply. This may induce idle surge and engine stall.
Inspect wiring for poor connections. Check for bent, backed out or damaged terminals, or poor terminal tension. Check for chafed wire or broken wire inside insulation. When diagnosing intermittent condition, wiggle wiring harness while watching scan tool for change in value.