Skip to content

[Bug]: The GPS serial port pins of the nrf module are disordered. #8743

Description

@Quency-D

Category

Serial

Hardware

Other

Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?

  • Meshtastic UI aka MUI colorTFT
  • InkHUD ePaper
  • OLED slide UI on any display

Firmware Version

2.7.16.5d7da6868e02521dc32d9df69c140abd2cdfd030

Description

In submission #8486, the GPS serial port pins of the new nrf module were repositioned.The code itself is fine, but it might not work for existing NRF systems because their serial port TX and RX are swapped. Perhaps a way to unify them is needed?

        _serial_gps->setPins(new_gps->rx_gpio, new_gps->tx_gpio);

The definition of some boards is as follows.

#define GPS_TX_PIN PIN_SERIAL1_RX // This is for bits going TOWARDS the CPU
#define GPS_RX_PIN PIN_SERIAL1_TX // This is for bits going TOWARDS the GPS

Other boards, however, are the opposite.Other boards, however, are the opposite.

#define GPS_RX_PIN PIN_SERIAL1_RX
#define GPS_TX_PIN PIN_SERIAL1_TX

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions