1.. zephyr:board:: npcm400_evb 2 3Overview 4******** 5 6The NPCM400_EVB kit is a development platform to evaluate the 7Nuvoton NPCM4 series microcontrollers. This board needs to be mated with 8part number NPCM400 Satellite Management Controller (SMC). 9 10Hardware 11******** 12 13- ARM Cortex-M4F Processor 14- Core clock up to 100 MHz 15- 1MB Integrated Flash 16- 32KB cache for XIP and Data 17- 768 KB RAM and 64 KB boot ROM 18- ADC & GPIO headers 19- UART0 and UART1 20- I2C/I3C 21- RMII 22- USB2.0 Device 23- USB1.1 Host 24- Secure Boot is supported 25 26Supported Features 27================== 28 29The following features are supported: 30 31+-----------+------------+-------------------------------------+ 32| Interface | Controller | Driver/Component | 33+===========+============+=====================================+ 34| NVIC | on-chip | nested vector interrupt controller | 35+-----------+------------+-------------------------------------+ 36| ADC | on-chip | adc controller | 37+-----------+------------+-------------------------------------+ 38| CLOCK | on-chip | reset and clock control | 39+-----------+------------+-------------------------------------+ 40| GPIO | on-chip | gpio | 41+-----------+------------+-------------------------------------+ 42| I2C | on-chip | i2c port/controller | 43+-----------+------------+-------------------------------------+ 44| I3C | on-chip | i3c port/controller | 45+-----------+------------+-------------------------------------+ 46| PINMUX | on-chip | pinmux | 47+-----------+------------+-------------------------------------+ 48| UART | on-chip | serial port-polling; | 49| | | serial port-interrupt | 50+-----------+------------+-------------------------------------+ 51| WDT | on-chip | watchdog | 52+-----------+------------+-------------------------------------+ 53 54The default configuration can be found in the defconfig file: 55:zephyr_file:`boards/nuvoton/npcm400_evb/npcm400_evb_defconfig` 56 57Connections and IOs 58=================== 59 60Nuvoton to provide the schematic for this board. 61 62Serial Port 63=========== 64 65UART0 is configured for serial logs. The default serial setup is 115200 8N1. 66 67Programming and Debugging 68************************* 69 70This board comes with a Cortex ETM port which facilitates tracing and debugging 71using a single physical connection. In addition, it comes with sockets for 72JTAG-only sessions. 73 74Flashing 75======== 76 77If the correct headers are installed, this board supports J-TAG. 78 79To flash with J-TAG, install the drivers for your programmer, for example: 80SEGGER J-link's drivers are at https://www.segger.com/downloads/jlink/ 81 82Here is an example for the :zephyr:code-sample:`hello_world` application. 83 84.. zephyr-app-commands:: 85 :zephyr-app: samples/hello_world 86 :board: npcm400_evb 87 :goals: flash 88 89Open a serial terminal, and you should see the following message in the terminal: 90 91.. code-block:: console 92 93 Hello World! npcm400_evb/npcm400 94 95Debugging 96========= 97 98Use JTAG/SWD with a J-Link 99 100References 101********** 102