WARNING: This page is about a different car, the 2002 Nissan Sentra. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: Automatic Transaxle Main Wiring Diagram And Identifying Connectors
Courtesy of NISSAN MOTOR CO., U.S.A.
Fig 2: Transmission Control Module Terminals Reference Value Chart