Skip to content

RutronikSystemSolutions/RDK3_USB_UART_UM980

Repository files navigation

USB UART for UM980 RTK GNSS

This is a universal code example that enables the UM980 to communicate with a host PC over the USB. The Rutronik Development Kits RDK2, RDK3, or RDK4 may be used for this purpose together with the Rutronik Adapter Board the RAB4-RTK, and UPrecise software provided by Unicore Communications Inc.

This particular code example is optimized to work with the RDK3 platform. Since it acts as a USB UART Bridge, any software on a host side can be used to read the measurements or send the commands to any device that is interfaced with Arduino UART and communicates at 115200 bit/s of baud rate.

Requirements

  1. The Python has to be installed manually on Windows OS.
  2. Make sure the Python installation is added to the path variable.
  3. Use this command to install the cysecuretools package:
pip install cysecuretools

Supported toolchains (make variable 'TOOLCHAIN')

  • GNU Arm® Embedded Compiler v11.3.1 (GCC_ARM) - Default value of TOOLCHAIN

Using the code example

Create the project and open it using one of the following:

The Eclipse IDE for ModusToolbox™ software
  1. Click the New Application link in the Quick Panel (or, use File > New > ModusToolbox™ Application). This launches the Project Creator tool.

  2. Pick a kit supported by the code example from the list shown in the Project Creator - Choose Board Support Package (BSP) dialog.

    When you select a supported kit, the example is reconfigured automatically to work with the kit. To work with a different supported kit later, use the Library Manager to choose the BSP for the supported kit. You can use the Library Manager to select or update the BSP and firmware libraries used in this application. To access the Library Manager, click the link from the Quick Panel.

    You can also just start the application creation process again and select a different kit.

    If you want to use the application for a kit not listed here, you may need to update the source files. If the kit does not have the required resources, the application may not work.

  3. In the Project Creator - Select Application dialog, choose the example by enabling the checkbox.

  4. (Optional) Change the suggested New Application Name.

  5. The Application(s) Root Path defaults to the Eclipse workspace which is usually the desired location for the application. If you want to store the application in a different location, you can change the Application(s) Root Path value. Applications that share libraries should be in the same root path.

  6. Click Create to complete the application creation process.

For more details, see the Eclipse IDE for ModusToolbox™ software user guide (locally available at {ModusToolbox™ software install directory}/docs_{version}/mt_ide_user_guide.pdf).

Operation

  • Mount the RAB4-RTK Adapter Board on your RDK.

  • Please do not forget to connect the 2J7C01MC3F or 2J7C01MC2F antenna to the GNSS UM980 port P7.

  • Connect the PC to your RDK’s USB KitProg3 terminal.

  • Programm the firmware.

  • Load the UPrecise software.

    All the new UM980 modules do not send any NMEA information to the UART interface by default. To enable the NMEA sentences please send the commands as shown below:

    GNGGA 1
    GNRMC 1
    GNGSV 1
    GNGSA 1
    SAVECONFIG      %If you need to save the current commands configuration.
    

For the typical precision of GNSS measurements, the commands shown above are fully sufficient.

Legal Disclaimer

The evaluation board including the software is for testing purposes only and, because it has limited functions and limited resilience, is not suitable for permanent use under real conditions. If the evaluation board is nevertheless used under real conditions, this is done at one’s responsibility; any liability of Rutronik is insofar excluded.