原来没流控
This commit is contained in:
@@ -32,13 +32,18 @@ DIY Meshtastic node variant based on the RF-BM-ND05 nRF52840 module.
|
||||
| GPS_TX (MCU) | P0.08 | Data from MCU to GNSS |
|
||||
| UART_TX | P0.14 | Serial2 |
|
||||
| UART_RX | P0.15 | Serial2 |
|
||||
| UART_RTS | P0.12 | Serial2 flow control |
|
||||
| UART_CTS | P0.13 | Serial2 flow control |
|
||||
| UART_RTS | P0.12 | Serial2 flow control (see note) |
|
||||
| UART_CTS | P0.13 | Serial2 flow control (see note) |
|
||||
|
||||
Silkscreen GPS_TX/GPS_RX labels are from the GPS module perspective; Meshtastic
|
||||
macros (`GPS_TX_PIN` / `GPS_RX_PIN`) are from the MCU perspective, so they are
|
||||
swapped relative to the silkscreen.
|
||||
|
||||
Note: P0.12/P0.13 are physically wired as RTS/CTS, but the Adafruit nRF52 core's
|
||||
`Serial2` singleton uses the 4-argument constructor (`uc_hwFlow = 0`), so
|
||||
hardware flow control is not enabled by firmware. These pins are unused unless
|
||||
the core is patched.
|
||||
|
||||
## Build
|
||||
|
||||
```sh
|
||||
|
||||
@@ -88,7 +88,8 @@ MOONSHINE NRF52 PIN ASSIGNMENT (RF-BM-ND05)
|
||||
#define PIN_SERIAL1_TX GPS_TX_PIN
|
||||
#define PIN_SERIAL1_RX GPS_RX_PIN
|
||||
|
||||
// Serial2 (with hardware flow control: P0.12=RTS, P0.13=CTS)
|
||||
// Serial2 (P0.12/P0.13 are wired to RTS/CTS, but HW flow control is not enabled
|
||||
// by the Adafruit nRF52 core Serial2 singleton - these pins are unused by firmware)
|
||||
#define PIN_SERIAL2_RX (0 + 15) // P0.15
|
||||
#define PIN_SERIAL2_TX (0 + 14) // P0.14
|
||||
|
||||
|
||||
Reference in New Issue
Block a user