WARNING: This page is about a different car, the 2003 Nissan Altima. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: Wiring Diagram - AT - 1ST
Courtesy of NISSAN MOTOR CO., U.S.A.
Fig 2: TCM Terminals And Reference Value Chart (A/T 1St Gear Function)