1.. zephyr:board:: npcx7m6fb_evb
2
3Overview
4********
5
6The NPCX7M6FB_EVB kit is a development platform to evaluate the
7Nuvoton NPCX7 series microcontrollers. This board needs to be mated with
8part number NPCX796FB.
9
10Hardware
11********
12
13- ARM Cortex-M4F Processor
14- 256 KB RAM and 64 KB boot ROM
15- ADC & GPIO headers
16- UART0 and UART1
17- FAN PWM interface
18- Jtag interface
19- Intel Modular Embedded Controller Card (MECC) headers
20
21Supported Features
22==================
23
24The following features are supported:
25
26+-----------+------------+-------------------------------------+
27| Interface | Controller | Driver/Component                    |
28+===========+============+=====================================+
29| NVIC      | on-chip    | nested vector interrupt controller  |
30+-----------+------------+-------------------------------------+
31| UART      | on-chip    | serial port-polling;                |
32|           |            | serial port-interrupt               |
33+-----------+------------+-------------------------------------+
34| PINMUX    | on-chip    | pinmux                              |
35+-----------+------------+-------------------------------------+
36| GPIO      | on-chip    | gpio                                |
37+-----------+------------+-------------------------------------+
38| CLOCK     | on-chip    | reset and clock control             |
39+-----------+------------+-------------------------------------+
40
41Other hardware features are not currently supported by Zephyr (at the moment)
42
43The default configuration can be found in the defconfig file:
44:zephyr_file:`boards/nuvoton/npcx7m6fb_evb/npcx7m6fb_evb_defconfig`
45
46
47Connections and IOs
48===================
49
50Nuvoton to provide the schematic for this board.
51
52System Clock
53============
54
55The NPCX7M6FB MCU is configured to use the 90Mhz internal oscillator with the
56on-chip PLL to generate a resulting EC clock rate of 15 MHz. See Processor clock
57control register (chapter 4 in user manual)
58
59Serial Port
60===========
61
62UART1 is configured for serial logs.
63
64
65Programming and Debugging
66*************************
67
68This board comes with a Cortex ETM port which facilitates tracing and debugging
69using a single physical connection.  In addition, it comes with sockets for
70JTAG only sessions.
71
72Flashing
73========
74
75If the correct IDC headers are installed, this board supports both J-TAG and
76also the ChromiumOS servo.
77
78To flash using Servo V2, μServo, or Servo V4 (CCD), see the
79`Chromium EC Flashing Documentation`_ for more information.
80
81To flash with J-TAG, install the drivers for your programmer, for example:
82SEGGER J-link's drivers are at https://www.segger.com/downloads/jlink/
83
84.. zephyr-app-commands::
85   :zephyr-app: samples/hello_world
86   :board: npcx7m6fb_evb
87   :maybe-skip-config:
88   :goals: build flash
89
90Debugging
91=========
92
93Use JTAG/SWD with a J-Link
94
95References
96**********
97.. target-notes::
98
99.. _Chromium EC Flashing Documentation:
100   https://chromium.googlesource.com/chromiumos/platform/ec#Flashing-via-the-servo-debug-board
101