boards/st/nucleo_wl55jc/doc/nucleo_wl55jc.rst
.. zephyr:board:: nucleo_wl55jc
Overview
The NUCLEO-WL55JC STM32WL Nucleo-64 board provides an affordable and flexible way for users to try out new concepts and build prototypes with the STM32WL Series microcontroller, choosing from the various combinations of performance, power consumption, and features.
STM32WL55JC microcontroller multiprotocol LPWAN dual-core 32-bit (Arm® Cortex®-M4/M0+ at 48 MHz) in UFBGA73 package featuring:
3 user LEDs
3 user buttons and 1 reset push-button
32.768 kHz LSE crystal oscillator
32 MHz HSE on-board oscillator
Board connectors:
Delivered with SMA antenna
Flexible power-supply options: ST-LINK, USB VBUS, or external sources
On-board STLINK-V3 debugger/programmer with USB re-enumeration capability: mass storage, Virtual COM port, and debug port
Comprehensive free software libraries and examples available with the STM32CubeWL MCU Package
Suitable for rapid prototyping of end nodes based on LoRaWAN, Sigfox, wM-Bus, and many other proprietary protocols
Fully open hardware platform
More information about the board can be found at the Nucleo WL55JC website_.
Hardware
The STM32WL55JC long-range wireless and ultra-low-power devices embed a powerful and ultra-low-power LPWAN-compliant radio solution, enabling the following modulations: LoRa®, (G)FSK, (G)MSK, and BPSK It provides the following hardware capabilities:
Radio
Core
32-bit Arm® Cortex®-M4 CPU
32-bit Arm®Cortex®-M0+ CPU
Security and identification
Supply and reset management
Clock sources
Memories
Rich analog peripherals (down to 1.62 V)
System peripherals
Controllers
Up to 43 I/Os, most 5 V-tolerant
Development support
More information about STM32WL55JC can be found here:
STM32WL55JC on www.st.com_STM32WL55JC datasheet_STM32WL55JC reference manual_.. zephyr:board-supported-hw::
Nucleo WL55JC Board has 4 GPIO controllers. These controllers are responsible for pin muxing, input/output, pull-up, etc.
.. rst-class:: rst-columns
Nucleo WL55JC System Clock could be driven by internal or external oscillator, as well as main PLL clock. By default System clock is driven by HSE clock at 32MHz.
Nucleo WL55JC board has 2 (LP)U(S)ARTs. The Zephyr console output is assigned to LPUART_1. Default settings are 115200 8N1.
Programming and Debugging
.. zephyr:board-supported-runners::
Nucleo WL55JC board includes an STLINK-V3 embedded debug tool interface.
Applications for the nucleo_wl55jc board configuration can be built the
usual way (see :ref:build_an_application).
The board is configured to be flashed using west STM32CubeProgrammer_ runner,
so its :ref:installation <stm32cubeprog-flash-host-tools> is required.
Alternatively, OpenOCD can also be used to flash the board using
the --runner (or -r) option:
.. code-block:: console
$ west flash --runner openocd
Connect the Nucleo WL55JC to your host computer using the USB port.
Then build and flash an application. Here is an example for the
:zephyr:code-sample:hello_world application.
Run a serial host program to connect with your Nucleo board:
.. code-block:: console
$ minicom -D /dev/ttyUSB0
Then build and flash the application.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: nucleo_wl55jc :goals: build flash
You should see the following message on the console:
.. code-block:: console
Hello World! arm
.. Note:
Nucleo WL55JC board is provided with a stock firmware which demonstrates sleep mode. Unfortunately, default openocd configuration, which is debug compatible, doesn't allow flashing when SoC is in sleep mode. As a consequence, when flashing Nucleo WL55JC board over a stock firmware, please update board's openocd.cfg configuration file to select sleep mode compatible configuration.
You can debug an application in the usual way. Here is an example for the
:zephyr:code-sample:blinky application.
.. zephyr-app-commands:: :zephyr-app: samples/basic/blinky :board: nucleo_wl55jc :maybe-skip-config: :goals: debug
.. _Nucleo WL55JC website: https://www.st.com/en/evaluation-tools/nucleo-wl55jc.html
.. _STM32WL55JC on www.st.com: https://www.st.com/en/microcontrollers-microprocessors/stm32wl55jc.html
.. _STM32WL55JC datasheet: https://www.st.com/resource/en/datasheet/stm32wl55jc.pdf
.. _STM32WL55JC reference manual: https://www.st.com/resource/en/reference_manual/dm00451556-stm32wl5x-advanced-armbased-32bit-mcus-with-subghz-radio-solution-stmicroelectronics.pdf
.. _STM32CubeProgrammer: https://www.st.com/en/development-tools/stm32cubeprog.html