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