Skip to content

Commit 296de7f

Browse files
committed
samples: sm_at_client_shell: Remove nrf52840dk, nrf5340dk, nrf7002dk
Remove support for nrf52840dk, nrf5340dk and nrf7002dk support in favor of using nrf54l15. Jira: SLM-154 Signed-off-by: Tommi Rantanen <tommi.rantanen@nordicsemi.no>
1 parent f889908 commit 296de7f

13 files changed

Lines changed: 74 additions & 480 deletions

app/src/sm_defines.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,4 @@ enum {
3333
#define SM_MAX_USERNAME 32 /** max size of username in login */
3434
#define SM_MAX_PASSWORD 32 /** max size of password in login */
3535

36-
#define SM_NRF52_BLK_SIZE 4096 /** nRF52 flash block size for write operation */
37-
#define SM_NRF52_BLK_TIME 2000 /** nRF52 flash block write time in millisecond (1.x second) */
38-
3936
#endif

doc/app/sm_description.rst

Lines changed: 33 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ Connecting with an external MCU
373373

374374
This section does not apply to Thingy:91 X.
375375

376-
If you run your user application on an external MCU (for example, an nRF52 Series development kit), you can control the |SM| application on an nRF91 Series device directly from the application.
377-
See the :ref:`sm_shell_sample` for a sample implementation of such an application.
376+
If you run your user application on an external MCU (for example, an nRF54 Series development kit), you can control the |SM| application on an nRF91 Series device directly from the application.
377+
See the :ref:`sm_at_client_shell_sample` for a sample implementation of such an application.
378378

379379
To connect with an external MCU using UART_2, include the :file:`overlay-external-mcu.overlay` devicetree overlay in your build.
380380
This overlay configures the UART_2 pins, DTR pin, and RI pin for the nRF9151 DK.
@@ -428,101 +428,43 @@ If you use a different setup, you can customize the :file:`overlay-external-mcu.
428428

429429
The following table shows how to connect selected development kit to an nRF91 Series development kit to be able to communicate through UART:
430430

431-
.. tabs::
432-
433-
.. group-tab:: nRF54L15 DK
434-
435-
.. list-table::
436-
:header-rows: 1
437-
438-
* - nRF54L15 DK
439-
- nRF91 Series DK
440-
* - UART TX P0.00
441-
- UART RX P0.11
442-
* - UART RX P0.01
443-
- UART TX P0.10
444-
* - UART CTS P0.03
445-
- UART RTS P0.12
446-
* - UART RTS P0.02
447-
- UART CTS P0.13
448-
* - DTR OUT P1.11
449-
- DTR IN P0.31
450-
* - RI IN P1.12
451-
- RI OUT P0.30
452-
* - GPIO GND
453-
- GPIO GND
454-
455-
.. note::
456-
You must disable the VCOM0 on the nRF54L15 DK to release the UART GPIO pins to use it with the :ref:`sm_shell_sample`.
457-
458-
* For nRF54L15 DK, you can use the `Board Configurator app`_ to disable the `Connect port VCOM0` setting.
459-
460-
.. note::
461-
The GPIO output levels on the nRF91 Series device and nRF54L15 DK must be the same.
462-
463-
* You can set the VDD voltages for both devices with the `Board Configurator app`_.
464-
465-
.. group-tab:: nRF52 DK
466-
467-
.. list-table::
468-
:header-rows: 1
469-
470-
* - nRF52 Series DK
471-
- nRF91 Series DK
472-
* - UART TX P1.02
473-
- UART RX P0.11
474-
* - UART RX P1.01
475-
- UART TX P0.10
476-
* - UART CTS P1.07
477-
- UART RTS P0.12
478-
* - UART RTS P1.06
479-
- UART CTS P0.13
480-
* - DTR OUT P0.11
481-
- DTR IN P0.31
482-
* - RI IN P0.13
483-
- RI OUT P0.30
484-
* - GPIO GND
485-
- GPIO GND
486-
487-
.. note::
488-
The GPIO output level on the nRF91 Series device side must be 3 V.
489-
490-
* For nRF9151 DK, you can set the VDD voltage with the `Board Configurator app`_.
491-
492-
.. group-tab:: nRF53 DK
493-
494-
.. list-table::
495-
:header-rows: 1
496-
497-
* - nRF53 Series DK
498-
- nRF91 Series DK
499-
* - UART TX P1.04
500-
- UART RX P0.11
501-
* - UART RX P1.05
502-
- UART TX P0.10
503-
* - UART CTS P1.07
504-
- UART RTS P0.12
505-
* - UART RTS P1.06
506-
- UART CTS P0.13
507-
* - DTR OUT P0.23
508-
- DTR IN P0.31
509-
* - RI IN P0.28
510-
- RI OUT P0.30
511-
* - GPIO GND
512-
- GPIO GND
513-
514-
.. note::
515-
The GPIO output level on the nRF91 Series device side must be 3 V.
516-
517-
* For nRF9151 DK, you can set the VDD voltage with the `Board Configurator app`_.
431+
.. list-table::
432+
:header-rows: 1
433+
434+
* - nRF54L15 DK
435+
- nRF91 Series DK
436+
* - UART TX P0.00
437+
- UART RX P0.11
438+
* - UART RX P0.01
439+
- UART TX P0.10
440+
* - UART CTS P0.03
441+
- UART RTS P0.12
442+
* - UART RTS P0.02
443+
- UART CTS P0.13
444+
* - DTR OUT P1.11
445+
- DTR IN P0.31
446+
* - RI IN P1.12
447+
- RI OUT P0.30
448+
* - GPIO GND
449+
- GPIO GND
450+
451+
.. note::
452+
You must disable the VCOM0 on the nRF54L15 DK to release the UART GPIO pins to use it with the :ref:`sm_at_client_shell_sample`.
453+
454+
* For nRF54L15 DK, you can use the `Board Configurator app`_ to disable the ``Connect port VCOM0`` setting.
455+
456+
.. note::
457+
The GPIO output levels on the nRF91 Series device and nRF54L15 DK must be the same.
458+
459+
* You can set the VDD voltages for both devices with the `Board Configurator app`_.
518460

519461
Use the following UART devices:
520462

521-
* nRF54, nRF52 or nRF53 Series DK - UART0
463+
* nRF54 Series DK - UART30
522464
* nRF91 Series DK - UART2
523465

524466
The UART configuration must match on both sides.
525-
By default the |SM| application and :ref:`sm_shell_sample` use the following settings:
467+
By default the |SM| application and :ref:`sm_at_client_shell_sample` use the following settings:
526468

527469
* Hardware flow control: enabled
528470
* Baud rate: 115200
@@ -554,7 +496,6 @@ Testing
554496
=======
555497

556498
The following testing instructions focus on testing the application with a PC client.
557-
If you have an nRF52 Series DK running a client application, you can also use this DK for testing the different scenarios.
558499

559500
|test_sample|
560501

doc/app/sm_dtr_ri.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ The following image illustrates the DTR and RI signal behavior in relation to th
6161

6262
DTR/RI signal diagram
6363

64-
The :ref:`sm_shell_sample` sample and :ref:`lib_sm_at_client` library show an example of how to use DTR and RI signals in an external MCU application.
64+
The :ref:`sm_at_client_shell_sample` sample and :ref:`lib_sm_at_client` library show an example of how to use DTR and RI signals in an external MCU application.

doc/links.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@
1515
.. _`Thingy91X`: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/thingy91x/index.html#ug-thingy91x
1616
.. _`nRF91 DK`: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf91/index.html#ug-nrf91
1717
.. _`nrf9151dk`: https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/boards/nordic/nrf9151dk/doc/index.html#nrf9151dk
18-
.. _`nRF7002dk`: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf70/index.html#ug-nrf70-developing
19-
.. _`nRF5340 DK`: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf53/index.html#ug-nrf5340
20-
.. _`nrf5340dk`: https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/boards/nordic/nrf5340dk/doc/index.html#nrf5340dk
21-
.. _`nRF52840_DK`: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf52/index.html#ug-nrf52
22-
.. _`nrf52840dk`: https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/boards/nordic/nrf52840dk/doc/index.html#nrf52840dk
2318
.. _`nRF9151 Product Specification`: https://docs.nordicsemi.com/bundle/ps_nrf9151/page/nRF9151_html5_keyfeatures.html
2419
.. _`Thingy91x_firmware_update`: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/thingy91x/thingy91x_updating_fw_programmer.html#updating_the_firmware_on_the_nrf5340_soc
2520
.. _`shared TF-M logging`: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf91/nrf91_snippet.html#tfm-enable-share-uart

doc/migration_notes.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,14 @@ This section lists features that have been removed from the |SM| compared to the
220220
If you need any of those features with this |SM|, please contact customer support and describe your use case.
221221
Removed features:
222222

223-
* Board support for the following chipsets: ``nrf9161dk/nrf9161/ns``, ``nrf9160dk/nrf9160/ns``, ``thingy91/nrf9160/ns`` and ``nrf9131ek/nrf9131/ns``.
224-
* Use ``nrf9151dk/nrf9151/ns`` instead.
223+
* Support for the ``nrf9161dk``, ``nrf9160dk``, ``thingy91``, and ``nrf9131ek`` boards.
224+
225+
* Use ``nrf9151dk`` instead.
226+
227+
* Support for the ``nrf5340dk``, ``nrf52840dk``, and ``nrf7002dk`` boards from the :ref:`sm_at_client_shell_sample`.
228+
229+
* Use ``nrf54l15dk`` instead.
230+
225231
* Native TLS support including ``overlay-native_tls.conf``.
226232
* TCP and UDP servers.
227233
This includes the removal of the following AT commands:
@@ -235,6 +241,7 @@ Removed features:
235241
There is no direct replacement for these commands.
236242

237243
In addition, the ``AT_SO_TCP_SRV_SESSTIMEO`` socket option has been removed.
244+
238245
* HTTP client functionality including ``AT#XHTTPCCON`` and ``AT#XHTTPCREQ`` commands, and ``#XHTTPCRSP`` notification.
239246
* FTP and TFTP clients including ``AT#XFTP`` and ``AT#XTFTP`` commands.
240247
* ``#XGPIO`` AT command.

doc/samples/sm_at_client_shell.rst

Lines changed: 31 additions & 128 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _sm_shell_sample:
1+
.. _sm_at_client_shell_sample:
22

33
|SM| AT Client Shell sample
44
###########################
@@ -16,7 +16,7 @@ Requirements
1616

1717
The |SM| application should be configured with :file:`app/overlay-external-mcu.overlay` on the nRF91 Series DK side.
1818

19-
The sample supports the following development kits:
19+
The sample supports the following development kit:
2020

2121
.. list-table::
2222
:widths: auto
@@ -30,137 +30,40 @@ The sample supports the following development kits:
3030
- PCA10156
3131
- `nrf54l15dk`_
3232
- ``nrf54l15dk/nrf54l15/cpuapp``
33-
* - `nRF7002 DK <nRF7002dk_>`_
34-
- PCA10143
35-
- `nRF7002dk <nRF7002dk_>`_
36-
- ``nrf7002dk/nrf5340/cpuapp``
37-
* - `nRF5340 DK <nRF5340 DK_>`_
38-
- PCA10095
39-
- `nrf5340dk`_
40-
- ``nrf5340dk/nrf5340/cpuapp``
41-
* - `nRF52840 DK <nRF52840_DK_>`_
42-
- PCA10056
43-
- `nrf52840dk`_
44-
- ``nrf52840dk/nrf52840``
4533

4634
Connect the DK pins that are defined in the board-specific overlay files :file:`samples/sm_at_client_shell/boards/*.overlay` to the corresponding pins in the nRF91 Series DK, which are defined in :file:`app/overlay-external-mcu.overlay`.
4735

4836
The following table shows how to connect UART, DTR and RI pins of the DK to the corresponding pins in the nRF91 Series DKs:
4937

50-
.. tabs::
51-
52-
.. group-tab:: nRF54L15 DK
53-
54-
.. list-table::
55-
:header-rows: 1
56-
57-
* - nRF54L15 DK
58-
- nRF91 Series DK
59-
* - UART TX P0.00
60-
- UART RX P0.11
61-
* - UART RX P0.01
62-
- UART TX P0.10
63-
* - UART CTS P0.03
64-
- UART RTS P0.12
65-
* - UART RTS P0.02
66-
- UART CTS P0.13
67-
* - DTR OUT P1.11
68-
- DTR IN P0.31
69-
* - RI IN P1.12
70-
- RI OUT P0.30
71-
* - GPIO GND
72-
- GPIO GND
73-
74-
.. note::
75-
You must disable the VCOM0 on the nRF54L15 DK to release the UART GPIO pins to use it with the :ref:`sm_shell_sample`.
76-
77-
* For nRF54L15 DK, you can use the `Board Configurator app`_ to disable the `Connect port VCOM0` setting.
78-
79-
.. note::
80-
The GPIO output levels on the nRF91 Series device and nRF54L15 DK must be the same.
81-
82-
* You can set the VDD voltages for both devices with the `Board Configurator app`_.
83-
84-
.. group-tab:: nRF52840 DK
85-
86-
.. list-table::
87-
:header-rows: 1
88-
89-
* - nRF52840 DK
90-
- nRF91 Series DK
91-
* - UART TX P1.02
92-
- UART RX P0.11
93-
* - UART RX P1.01
94-
- UART TX P0.10
95-
* - UART CTS P1.07
96-
- UART RTS P0.12
97-
* - UART RTS P1.06
98-
- UART CTS P0.13
99-
* - DTR OUT P0.11
100-
- DTR IN P0.31
101-
* - RI IN P0.13
102-
- RI OUT P0.30
103-
* - GPIO GND
104-
- GPIO GND
105-
106-
.. note::
107-
The GPIO output level on the nRF91 Series device side must be 3 V to work with the nRF52 Series DK.
108-
109-
* For nRF9151 DK, you can set the VDD voltage with the `Board Configurator app`_.
110-
111-
.. group-tab:: nRF5340 DK
112-
113-
.. list-table::
114-
:header-rows: 1
115-
116-
* - nRF5340 DK
117-
- nRF91 Series DK
118-
* - UART TX P1.04
119-
- UART RX P0.11
120-
* - UART RX P1.05
121-
- UART TX P0.10
122-
* - UART CTS P1.07
123-
- UART RTS P0.12
124-
* - UART RTS P1.06
125-
- UART CTS P0.13
126-
* - DTR OUT P0.23
127-
- DTR IN P0.31
128-
* - RI IN P0.28
129-
- RI OUT P0.30
130-
* - GPIO GND
131-
- GPIO GND
132-
133-
.. note::
134-
The GPIO output level on the nRF91 Series device side must be 3 V to work with the nRF53 Series DK.
135-
136-
* For nRF9151 DK, you can set the VDD voltage with the `Board Configurator app`_.
137-
138-
.. group-tab:: nRF7002 DK
139-
140-
.. list-table::
141-
:header-rows: 1
142-
143-
* - nRF7002 DK
144-
- nRF91 Series DK
145-
* - UART TX P1.04
146-
- UART RX P0.11
147-
* - UART RX P1.05
148-
- UART TX P0.10
149-
* - UART CTS P1.07
150-
- UART RTS P0.12
151-
* - UART RTS P1.06
152-
- UART CTS P0.13
153-
* - DTR OUT P0.31
154-
- DTR IN P0.31
155-
* - RI IN P0.30
156-
- RI OUT P0.30
157-
* - GPIO GND
158-
- GPIO GND
159-
160-
.. note::
161-
The GPIO output level on the nRF91 Series device side must be 1.8 V to work with the nRF7002 DK.
162-
163-
* For nRF9151 DK, you can set the VDD voltage with the `Board Configurator app`_.
38+
.. list-table::
39+
:header-rows: 1
40+
41+
* - nRF54L15 DK
42+
- nRF91 Series DK
43+
* - UART TX P0.00
44+
- UART RX P0.11
45+
* - UART RX P0.01
46+
- UART TX P0.10
47+
* - UART CTS P0.03
48+
- UART RTS P0.12
49+
* - UART RTS P0.02
50+
- UART CTS P0.13
51+
* - DTR OUT P1.11
52+
- DTR IN P0.31
53+
* - RI IN P1.12
54+
- RI OUT P0.30
55+
* - GPIO GND
56+
- GPIO GND
57+
58+
.. note::
59+
You must disable the VCOM0 on the nRF54L15 DK to release the UART GPIO pins to use it with the :ref:`sm_at_client_shell_sample`.
60+
61+
* For nRF54L15 DK, you can use the `Board Configurator app`_ to disable the ``Connect port VCOM0`` setting.
62+
63+
.. note::
64+
The GPIO output levels on the nRF91 Series device and nRF54L15 DK must be the same.
65+
66+
* You can set the VDD voltages for both devices with the `Board Configurator app`_.
16467

16568
References
16669
**********

samples/sm_at_client_shell/boards/nrf52840dk_nrf52840.conf

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)