boards/st/stm32u083c_dk/doc/index.rst
.. zephyr:board:: stm32u083c_dk
Overview
The STM32U083C_DK board, featuring an ARM Cortex-M0+ based STM32U083MC MCU, provides an affordable and flexible way for users to try out new concepts and build prototypes by choosing from the various combinations of performance and power consumption features. Here are some highlights of the STM32U083C_DK board:
Ultra-low-power STM32U083MC microcontroller based on the Arm® Cortex®‑M0+ core, featuring 256 Kbytes of flash memory and 40 Kbytes of SRAM in an LQFP80 package.
Board connectors:
Flexible power-supply options:
4×24-segment LCD
Three user LEDs
Reset push-button
User joystick
Touchkey
Temperature sensor
More information about the board can be found at the STM32U083_DK website_.
Hardware
The STM32U083xC devices are an ultra-low-power microcontrollers family (STM32U0 Series) based on the high-performance Arm® Cortex®-M0+ 32-bit RISC core. They operate at a frequency of up to 56 MHz.
Includes ST state-of-the-art patented technology
Ultra-low-power with FlexPowerControl:
Core:
ART Accelerator:
Benchmarks:
Memories:
General-purpose input/outputs:
Clock management:
Security:
Up to 10 timers, 2 watchdogs and RTC:
Up to 20 communication peripherals:
Rich analog peripherals (independent supply):
LCD driver:
General-purpose inputs/outputs:
ECOPACK2 compliant packages
More information about STM32U083MC can be found here:
STM32U083MC on www.st.com_STM32U083 reference manual_.. zephyr:board-supported-hw::
STM32U083C_DK Board has 10 GPIO controllers. These controllers are responsible for pin muxing, input/output, pull-up, etc.
For more details please refer to STM32U083MC User Manual_.
STM32U083C_DK System Clock could be driven by internal or external oscillator, as well as main PLL clock. By default System clock is driven by PLL clock at 48MHz, driven by 4MHz medium speed internal oscillator.
STM32U083C_DK board has 7 U(S)ARTs. The Zephyr console output is assigned to USART2. Default settings are 115200 8N1.
Programming and Debugging
.. zephyr:board-supported-runners::
STM32U083C_DK board includes an ST-LINK/V3 embedded debug tool interface. This probe allows to flash the board using various tools.
The board is configured to be flashed using west STM32CubeProgrammer_ runner,
so its :ref:installation <stm32cubeprog-flash-host-tools> is required.
Alternatively, JLink or pyOCD can also be used to flash the board using
the --runner (or -r) option:
.. code-block:: console
$ west flash --runner pyocd $ west flash --runner jlink
For pyOCD, additional target information needs to be installed. This can be done by executing the following commands.
.. code-block:: console
$ pyocd pack --update $ pyocd pack --install stm32u0
Connect the STM32U083C_DK 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/ttyACM0
Then build and flash the application.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: stm32u083c_dk :goals: build flash
You should see the following message on the console:
.. code-block:: console
Hello World! stm32u083c_dk/stm32u083xx
Default flasher for this board is openocd. It could be used 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_u083rc :goals: debug
Note: Check the build/tfm directory to ensure that the commands required by these scripts
(readlink, etc.) are available on your system. Please also check STM32_Programmer_CLI
(which is used for initialization) is available in the PATH.
.. _STM32U083_DK website: https://www.st.com/en/evaluation-tools/stm32u083c-dk.html
.. _STM32U083MC User Manual: https://www.st.com/resource/en/user_manual/um3292-discovery-kit-with-STM32U083MC-MCU.pdf
.. _STM32U083MC on www.st.com: https://www.st.com/en/microcontrollers-microprocessors/stm32u083mc
.. _STM32U083 reference manual: https://www.st.com/resource/en/reference_manual/rm0503-stm32u0-series-advanced-armbased-32bit-mcus-stmicroelectronics.pdf
.. _STM32CubeProgrammer: https://www.st.com/en/development-tools/stm32cubeprog.html