1.. zephyr:board:: npcx9m6f_evb
2
3Overview
4********
5
6The NPCX9M6F_EVB kit is a development platform to evaluate the
7Nuvoton NPCX9 series microcontrollers. This board needs to be mated with
8part number NPCX996F.
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| ADC       | on-chip    | adc controller                      |
32+-----------+------------+-------------------------------------+
33| CLOCK     | on-chip    | reset and clock control             |
34+-----------+------------+-------------------------------------+
35| GPIO      | on-chip    | gpio                                |
36+-----------+------------+-------------------------------------+
37| I2C       | on-chip    | i2c port/controller                 |
38+-----------+------------+-------------------------------------+
39| PINMUX    | on-chip    | pinmux                              |
40+-----------+------------+-------------------------------------+
41| PM        | on-chip    | power management                    |
42+-----------+------------+-------------------------------------+
43| PSL       | on-chip    | power switch logic                  |
44+-----------+------------+-------------------------------------+
45| PWM       | on-chip    | pulse width modulator               |
46+-----------+------------+-------------------------------------+
47| TACH      | on-chip    | tachometer sensor                   |
48+-----------+------------+-------------------------------------+
49| UART      | on-chip    | serial port-polling;                |
50|           |            | serial port-interrupt               |
51+-----------+------------+-------------------------------------+
52| WDT       | on-chip    | watchdog                            |
53+-----------+------------+-------------------------------------+
54
55Other hardware features are not currently supported by Zephyr (at the moment)
56
57The default configuration can be found in the defconfig file:
58:zephyr_file:`boards/nuvoton/npcx9m6f_evb/npcx9m6f_evb_defconfig`
59
60
61Connections and IOs
62===================
63
64Nuvoton to provide the schematic for this board.
65
66System Clock
67============
68
69The NPCX9M6F MCU is configured to use the 90Mhz internal oscillator with the
70on-chip PLL to generate a resulting EC clock rate of 15 MHz. See Processor clock
71control register (chapter 4 in user manual)
72
73Serial Port
74===========
75
76UART1 is configured for serial logs.
77
78
79Programming and Debugging
80*************************
81
82This board comes with a Cortex ETM port which facilitates tracing and debugging
83using a single physical connection. In addition, it comes with sockets for
84JTAG-only sessions.
85
86Flashing
87========
88
89If the correct IDC headers are installed, this board supports both J-TAG and
90also the ChromiumOS servo.
91
92To flash using Servo V2, μServo, or Servo V4 (CCD), see the
93`Chromium EC Flashing Documentation`_ for more information.
94
95To flash with J-TAG, install the drivers for your programmer, for example:
96SEGGER J-link's drivers are at https://www.segger.com/downloads/jlink/
97
98.. zephyr-app-commands::
99   :zephyr-app: samples/basic/blinky
100   :board: npcx9m6f_evb
101   :maybe-skip-config:
102   :goals: build flash
103
104Debugging
105=========
106
107Use JTAG/SWD with a J-Link
108
109References
110**********
111.. target-notes::
112
113.. _Chromium EC Flashing Documentation:
114   https://chromium.googlesource.com/chromiumos/platform/ec#Flashing-via-the-servo-debug-board
115