# Using with CubePilot Controller

<div><figure><img src="https://2367252986-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLIgtGDAvVGkCKGOJb1bR%2Fuploads%2FCJf2q0f5Ub1oVfKPYN0J%2FH-RTK_ZED-F9P_Rover_6pin.jpg?alt=media&#x26;token=7e692bd0-02df-4d7c-b8cc-7497fbe075d2" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="https://2367252986-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLIgtGDAvVGkCKGOJb1bR%2Fuploads%2FCYKYs1PsBB2ExPuv8xoE%2FH-RTK_ZED-F9P_Rover_CAN.jpg?alt=media&#x26;token=dfb00a28-f73e-41b6-8a4a-4ec0e6f8bf86" alt="" width="375"><figcaption></figcaption></figure></div>

If you are using the Cubepilot flight controller, you can select the ***DroneCAN version*** or the ***UART*** ***6-pin version.***\
The CAN version will be connected to the CAN1 or CAN2 port, and the UART 6-pin can be connected to the GPS2 port.

### **UART** **6 Pin version**

If using the UART 6-pin version with Cubepilot flight controller and Ardupilot, set **`Serial3_Protocol` to -1** so that Ardupilot will read the GPS2 port for GPS data if there is nothing connected on the GPS1 port.

{% hint style="info" %}
**Note:** This GPS does not have an external safety switch; you should disable the safety switch function on the ground control station application.
{% endhint %}
