Skip to content

LG290P setCorrRadioExtPort on Torch X2 #824

@PaulZC

Description

@PaulZC

On Torch X2, LG290P UART3 is connected to the CH342 Channel A and is always accessible via USB. This is nicknamed the DATA port.

On Postcard, LG290P UART3 is connected to the JST Connector. This is the RADIO port.

The firmware always calls gnss->setCorrRadioExtPort , regardless of platform.

On the LG290P, setCorrRadioExtPort sets the input protocols on UART3 according to settings.enableExtCorrRadio. Always UART3, regardless of platform.

settings.enableExtCorrRadio defaults to false on LG290P platforms.

This means that input protocol UART3 on Torch X2 is set to NMEA (1) only.

I think this is preventing QGNSS from being able to reset the GNSS using PQTMSRR. To be able to update the firmware via CH342 Channel A and UART3, I have to use menuDebugHardware option 13 to generate the reset. The QGNSS reboot button doesn't seem to generate the required reset. Yet we know the reboot button works well on other hardware.

We need to have a think about how we implement setCorrRadioExtPort on Torch X2. Do we skip it entirely? Or do we set the input protocol to 5, or maybe even 7 (depending on LG290P firmware)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions