Skip to content

Commit d4cf3f2

Browse files
greg-ferrlubos
authored andcommitted
doc: make serial port mentions OS neutral
Removed Windows-only information about locating serial port. Added a shortcut with information how to list serial ports for Nordic devices using nRF Util. Edited documents that mention COM ports and tty devices. Added cross links for default baud rate mentions. NCD-685. Signed-off-by: Grzegorz Ferenc <[email protected]>
1 parent 6c765ac commit d4cf3f2

File tree

28 files changed

+125
-96
lines changed

28 files changed

+125
-96
lines changed

applications/connectivity_bridge/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Testing
7070
After programming the sample to your kit, test it by performing the following steps:
7171

7272
1. Connect the kit to the host using a USB cable.
73-
#. Observe that the CDC ACM devices enumerate on the USB host (COM ports on Windows, /dev/tty* on Linux and Mac).
73+
#. Observe that the CDC ACM devices enumerate to serial ports on the USB host (COM ports on Windows, /dev/tty* on Linux and Mac).
7474
#. Use a serial client on the USB host to communicate over the kit's UART pins.
7575

7676

applications/connectivity_bridge/boards/thingy91_nrf52840_readme.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,21 @@ https://nordicsemi.com/thingy91
77

88
This USB interface has the following functions:
99
* Disk drive containing this file and others
10-
* COM ports for nRF91 debug, trace, and firmware update
10+
* Serial ports for nRF91 debug, trace, and firmware update
1111
* CMSIS-DAP 2.1 compliant debug probe interface for accessing the nRF91 SiP
1212

13-
COM Ports
14-
=========
13+
Serial ports
14+
============
1515

16-
This USB interface exposes two COM ports mapped to the physical UART interfaces between the nRF91 Series and nRF52840 devices.
17-
When opening these ports manually (without using the nRF Connect Serial Terminal), be aware that the USB COM port baud rate selection is applied to the UART.
16+
This USB interface exposes two serial ports mapped to the physical UART interfaces between the nRF91 Series and nRF52840 devices.
17+
Serial ports are referred to as COM ports on Windows, /dev/ttyACM devices on Linux, and /dev/tty devices on macOS.
18+
When opening these ports manually (without using the Serial Terminal app), be aware that the USB serial port baud rate selection is applied to the UART.
1819

1920
Bluetooth® LE Central UART Service
2021
==================================
2122

2223
This device advertises as configured in BLE_NAME in Config.txt, default being "Thingy:91 UART".
23-
Connect using a Bluetooth LE Central device, for example a phone running the nRF Connect app:
24+
Connect using a Bluetooth LE Central device, for example a phone running the nRF Connect for Mobile app:
2425
https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-mobile/
2526

2627
NOTE: The Bluetooth LE interface is unencrypted and intended to be used during debugging.

applications/connectivity_bridge/boards/thingy91x_nrf5340_cpuapp_readme.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@
44

55
This USB interface has the following functions:
66
* Disk drive containing this file and others
7-
* COM ports for nRF91 debug, trace, and firmware update
7+
* Serial ports for nRF91 debug, trace, and firmware update
88
* CMSIS-DAP 2.1 compliant debug probe interface for accessing the nRF91 SiP
99

10-
COM Ports
11-
=========
12-
This USB interface exposes two COM ports mapped to the physical UART interfaces between the nRF91 Series and nRF5340 devices.
13-
When opening these ports manually (without using the nRF Connect Serial Terminal), be aware that the USB COM port baud rate selection is applied to the UART.
10+
Serial ports
11+
============
12+
13+
This USB interface exposes two serial ports mapped to the physical UART interfaces between the nRF91 Series and nRF5340 devices.
14+
When opening these ports manually (without using the Serial Terminal app), be aware that the USB serial port baud rate selection is applied to the UART.
1415

1516
Bluetooth® LE Central UART Service
1617
==================================
1718

1819
This device advertises as configured in BLE_NAME in Config.txt, default being "Thingy:91 X UART".
19-
Connect using a Bluetooth LE Central device, for example a phone running the nRF Connect app:
20+
Connect using a Bluetooth LE Central device, for example a phone running the nRF Connect for Mobile app:
2021
https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-mobile/
2122

2223
NOTE: The Bluetooth LE interface is unencrypted and intended to be used during debugging.

applications/nrf_desktop/doc/ble_qos.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ The thread is used to periodically perform the following operations:
131131
* Submit the suggested channel map as ``ble_qos_event``.
132132
* If the device is a Bluetooth central, update the used Bluetooth LE channel map.
133133

134-
If the :ref:`CONFIG_DESKTOP_BLE_QOS_STATS_PRINTOUT_ENABLE <config_desktop_app_options>` Kconfig option is set, the module prints the following information through the virtual COM port:
134+
If the :ref:`CONFIG_DESKTOP_BLE_QOS_STATS_PRINTOUT_ENABLE <config_desktop_app_options>` Kconfig option is set, the module prints the following information through the virtual serial port:
135135

136136
* HID report rate
137-
The module counts the number of HID input reports received through Bluetooth LE and prints the report rate through the virtual COM port every 100 packets.
137+
The module counts the number of HID input reports received through Bluetooth LE and prints the report rate through the virtual serial port every 100 packets.
138138
The report rate is printed with a timestamp.
139139

140140
Example output:

applications/serial_lte_modem/doc/PPP_linux.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Configuration
3232
To build the SLM application, use the :file:`overlay-ppp-cmux-linux.conf` configuration overlay.
3333

3434
You can adjust the serial port baud rate using the devicetree overlay file.
35-
By default, the baud rate is set to 115200.
35+
The :ref:`baud rate is set to 115200 <test_and_optimize>` by default.
3636
If you change the baud rate, set the same rate in the :file:`scripts/slm_start_ppp.sh` and :file:`scripts/slm_stop_ppp.sh` scripts.
3737

3838
.. note::

applications/serial_lte_modem/doc/slm_description.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ Use the following UART devices:
612612
* nRF52 or nRF53 Series DK - UART0
613613
* nRF91 Series DK - UART2
614614

615-
Use the following UART configuration:
615+
Use the following UART configuration, which is different from the :ref:`default serial port connection settings <test_and_optimize>`:
616616

617617
* Hardware flow control: enabled
618618
* Baud rate: 115200

doc/nrf/app_dev/device_guides/nrf53/logging_nrf5340.rst

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,29 @@ Getting logging output with nRF5340 DK
77
:local:
88
:depth: 2
99

10-
When connected to a computer, the nRF5340 DK emulates virtual COM ports.
11-
The number of COM ports depends on the DK version you are using.
10+
When connected to a computer, the nRF5340 DK emulates virtual serial ports.
11+
The number of serial ports depends on the DK version you are using.
1212

13-
nRF5340 DK v2.0.0 COM ports
14-
***************************
13+
|serial_port_number_list|
1514

16-
When connected to a computer, the nRF5340 DK v2.0.0 emulates two virtual COM ports.
15+
nRF5340 DK v2.0.0 serial ports
16+
******************************
17+
18+
When connected to a computer, the nRF5340 DK v2.0.0 emulates two virtual serial ports.
1719
In the default configuration, they are set up as follows:
1820

19-
* The first COM port outputs the log from the network core (if available).
20-
* The second COM port outputs the log from the application core.
21+
* The first serial port outputs the log from the network core (if available).
22+
* The second serial port outputs the log from the application core.
2123

22-
nRF5340 DK v1.0.0 COM ports
23-
***************************
24+
nRF5340 DK v1.0.0 serial ports
25+
******************************
2426

2527
When connected to a computer, the nRF5340 DK v1.0.0 emulates three virtual COM ports.
2628
In the default configuration, they are set up as follows:
2729

28-
* The first COM port outputs the log from the network core (if available).
29-
* The second (middle) COM port is routed to the **P24** connector of the nRF5340 DK.
30-
* The third (last) COM port outputs the log from the application core.
30+
* The first serial port outputs the log from the network core (if available).
31+
* The second (middle) serial port is routed to the **P24** connector of the nRF5340 DK.
32+
* The third (last) serial port outputs the log from the application core.
3133

3234
To use the middle COM port in the nRF5340 DK v1.0.0, complete the following steps:
3335

doc/nrf/app_dev/device_guides/nrf54h/ug_nrf54h20_logging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ To read the dictionary-based STM log output, do the following:
161161
When using several domains, use a comma (`,`) to separate each domain in the list.
162162
* ``<app_name>`` is the application name.
163163
* ``<port>`` is the serial port used for output.
164-
Use ``nrfutil device list`` to identify the serial ports exposed by the development kit.
164+
|serial_port_number_list|
165165
* The output can be either the console (``--stdout ascii``) or a file (the :file:`out.txt` file if ``--output-ascii out.txt``).
166166

167167
#. Capture and decode the logs.

doc/nrf/app_dev/device_guides/thingy91/thingy91_connecting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Thingy:91 uses the following UART baud rate configuration:
3535
* - UART Interface
3636
- Baud Rate
3737
* - UART_0
38-
- 115200
38+
- 115200 (:ref:`default <test_and_optimize>`)
3939
* - UART_1
4040
- 1000000
4141

doc/nrf/libraries/shell/shell_bt_nus.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ The script requires the following parameters:
5555

5656
* ``com`` - the COM port of the development kit used by the script
5757

58+
.. note::
59+
|serial_port_number_list|
60+
5861
Additionally, following parameters are option:
5962

6063
* ``snr`` - the SEGGER board ID

0 commit comments

Comments
 (0)