boards/nuvoton/numaker_m3334ki/doc/index.rst
.. zephyr:board:: numaker_m3334ki
Overview
The NuMaker M3334KI is a microcontroller platform with comprehensive peripheral integration specially developed by Nuvoton. The NuMaker-M3334KI is based on the NuMicro® M3331 series MCU with ARM® -Cortex®-M33 core.
More information about the board can be found at the NuMaker M3334KI User Manual_.
.. zephyr:board-supported-hw::
The on-board 12-MHz crystal allows the device to run at its maximum operating speed of 180MHz.
More details about the supported peripherals are available in M3331 TRM_
Building and Flashing
.. zephyr:board-supported-runners::
Here is an example for the :zephyr:code-sample:hello_world application.
On board debugger Nu-link2 can emulate UART0 as a virtual COM port over usb, To enable this, set ISW1 DIP switch 1-3 (TXD RXD VOM) to ON. Connect the NuMaker-M3334KI to your host computer using the USB port, then run a serial host program to connect with your board. For example:
.. code-block:: console
$ minicom -D /dev/ttyACM0
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: numaker_m3334ki :goals: flash
Here is an example for the :zephyr:code-sample:hello_world application.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: numaker_m3334ki :goals: debug
Step through the application in your debugger.
Here is to go through VS Code instead of command line.
Please install Nuvoton NuMicro Cortex-M Pack and follow getting start guide of this pack. This pack is a complete development toolkit for Nuvoton’s NuMicro Cortex-M microcontrollers in Visual Studio Code. URL of this pack is https://marketplace.visualstudio.com/items?itemName=Nuvoton.nuvoton-numicro-cortex-m-pack
References
.. target-notes::
.. _NuMaker M3334KI User Manual: https://www.nuvoton.com/products/microcontrollers/arm-cortex-m33-mcus/m3331-series/ .. _M3331 TRM: https://www.nuvoton.com/products/microcontrollers/arm-cortex-m33-mcus/m3331-series/