Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples: peripheral: lpuart: Fix uart0 pins in nrf52840dk #18689

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 28 additions & 2 deletions samples/peripheral/lpuart/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,34 @@ The sample supports the following development kits:

The sample also requires the following pins to be shorted:

* TX (Arduino Digital Pin 10 (4 on nRF21540 DK)) with RX (Arduino Digital Pin 11 (5 on nRF21540 DK))
* Request Pin (Arduino Digital Pin 12 (6 on nRF21540 DK)) with Response Pin (Arduino Digital Pin 13 (7 on nRF21540 DK))
.. list-table:: Pin connections.
:widths: auto
:header-rows: 1

* - Development Kit
- nRF52 DK
- nRF52833 DK
- nRF52840 DK
- nRF21540 DK
- nRF5340 DK pins
- nRF54L15 DK pins
- nRF9160 DK pins
* - Request-Response Pins
- P0.24-P0.25
- P0.22-P0.23
- P1.14-P1.15
- P1.07-P1.08
- P1.14-P1.15
- P1.08-P1.09
- P0.12-P0.13
* - UART RX-TX Pins
- P0.22-P0.23
- P0.20-P0.21
- P1.12-P1.13
- P1.05-P1.06
- P1.12-P1.13
- P1.10-P1.11
- P0.10-P0.11

Additionally, it requires a logic analyzer.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
* observed on nRF21540 v2.0.0 only (~450 uA more than on v1.0.0).
*/
group1 {
psels = <NRF_PSEL(UART_TX, 0, 20)>,
psels = <NRF_PSEL(UART_TX, 0, 6)>,
<NRF_PSEL_DISCONNECTED(UART_RTS)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 22)>,
psels = <NRF_PSEL(UART_RX, 0, 8)>,
<NRF_PSEL_DISCONNECTED(UART_CTS)>;
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
* observed on nRF52840 v3.0.0 only (~450 uA more then on v2.1.0).
*/
group1 {
psels = <NRF_PSEL(UART_TX, 0, 20)>,
psels = <NRF_PSEL(UART_TX, 0, 6)>,
<NRF_PSEL_DISCONNECTED(UART_RTS)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 22)>,
psels = <NRF_PSEL(UART_RX, 0, 8)>,
<NRF_PSEL_DISCONNECTED(UART_CTS)>;
};
};
Expand Down
Loading