This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Testing GNSS firmware on a custom device (with nRF9160)

We are trying to compare the accuracy of received coordinates and satellites using GNSS firmware on two devices:
1) nRF9160 DK with external antenna;
2) Our custom board with nRF9160 (with internal antenna).

Our microcontroller has a physical connection to the nRF9160 via pins:
- tx-pin = <0xa>;
- rx-pin = <0xb>;
- rts-pin = <0xc>;
- cts-pin = <0xd>;

This was originally done to use the "serial_lte_modem" firmware to be able to use AT commands and communicate with the nRF9160.

Actually, what is the question, can we somehow change the "GNSS" firmware in such a way that the trace from it goes to the specified UART pins? Or is it impossible to do?
Because otherwise we did not see another way to compare the performance of "GNSS" firmware on different devices.

Parents
  • Hello Stas,

    Actually, what is the question, can we somehow change the "GNSS" firmware in such a way that the trace from it goes to the specified UART pins? Or is it impossible to do?

    What do you exactly mean by trace? The application log output in a terminal or a modem trace?

    Anyhow, you can freely change the pin configuration of the UART peripherals using an .overlay file with the GNSS sample. For e.g. the nRF9160 DK, the naming would be: ../gnss/nrf9160dk_nrf9160_ns.overlay. As a devicetree reference for your board, I recommend you having a look at the file ../gnss/<your_build_folder>/zephyr/zephyr.dts.

    Regards,

    Markus

     

Reply
  • Hello Stas,

    Actually, what is the question, can we somehow change the "GNSS" firmware in such a way that the trace from it goes to the specified UART pins? Or is it impossible to do?

    What do you exactly mean by trace? The application log output in a terminal or a modem trace?

    Anyhow, you can freely change the pin configuration of the UART peripherals using an .overlay file with the GNSS sample. For e.g. the nRF9160 DK, the naming would be: ../gnss/nrf9160dk_nrf9160_ns.overlay. As a devicetree reference for your board, I recommend you having a look at the file ../gnss/<your_build_folder>/zephyr/zephyr.dts.

    Regards,

    Markus

     

Children
Related