1.. zephyr:board:: max32670evkit
2
3Overview
4********
5The MAX32670 evaluation kit (EV kit) provides a platform for evaluation capabilities
6of the MAX32670. The MAX32670 is an ultra-low-power, cost-effective, highly reliable
732-bit microcontroller that enables designs with complex sensor processing without
8compromising battery life. It combines a flexible and versatile power management unit
9with the powerful Arm® Cortex®-M4 core with floating point unit (FPU).
10The MAX32670 also offers legacy designs an easy and cost optimal upgradepath
11from 8-bit or 16-bit microcontrollers.
12
13The Zephyr port is running on the MAX32670 MCU.
14
15Hardware
16********
17
18- MAX32670 MCU:
19
20  - High-Efficiency Microcontroller for Low-Power, High-Reliability Devices
21
22    - Arm Cortex-M4 Core with FPU up to 100MHz
23    - 384KB Flash Memory with Error Correction
24    - 160KB SRAM (128KB with ECC Enabled),Optionally Preserved in Lowest Power Modes
25    - 16KB Unified Cache with ECC
26
27    - UART Bootloader
28
29        - Dual- or Single-Supply Operation
30        - Ultra-Low 0.9V to 1.1V VCORE Supply Voltage
31        - Internal LDO Operation from 1.7V to 3.6V SingleSupply
32
33    - Wide Operating Temperature: -40°C to +105°C
34
35  - Flexible Clocking Schemes
36
37    - Internal High-Speed 100MHz Oscillator
38    - Internal Low-Power 7.3728MHz and Ultra-Low-Power 80kHz Oscillators
39    - 16MHz to 32MHz Oscillator (External CrystalRequired)
40    - 32.768kHz Oscillator (External Crystal Required)
41    - External Clock Input for the Core
42    - External Clock Input for the LPUART and LPTMR
43
44  - Power Management Maximizes Uptime for Battery Applications
45
46    - 44μA/MHz Active at 0.9V up to 12MHz
47    - 50μA/MHz Active at 1.1V up to 100MHz
48    - 2.6μA Full Memory Retention Power in BACKUPMode at VDD = 1.8V
49    - 350nA Ultra-Low-Power RTC at VDD = 1.8V
50    - Wake from LPUART or LPTMR
51
52  - Optimal Peripheral Mix Provides Platform Scalability
53
54    - Up to 31 General-Purpose I/O Pins
55    - Up to Three SPI Master/Slave (up to 50MHz)
56    - Up to Three 4-Wire UART
57    - One Low-Power UART (LPUART)
58    - Up to Three I2C Master/Slave 3.4Mbps High Speed
59    - 8-Channel Standard DMA Controller
60    - Up to Four 32-Bit Timers (TMR)
61    - Up to Two Low-Power 32-Bit Timers (LPTMR)
62    - Two Windowed Watchdog Timers
63    - One I2S Slave for Digital Audio Interface
64
65  - Security and Integrity
66
67    - Available Secure Boot
68    - AES 128/192/256 Hardware Acceleration Engine
69    - 32-Bit CRC Acceleration Engine
70
71- Benefits and Features of MAX32670EVKIT:
72
73  - USB 2.0 Micro B to Serial UART Bridge
74  - UART0 and UART3 Interface is Selectable Through On-Board Jumpers
75  - On-Board MAX32625PICO-Based Debugger
76  - Boot Load Enable Circuitry
77  - SPI and I2C Signals Accessed Through 0.1in Headers
78  - GPIOs and Miscellaneous Signals Accessed Through 0.1in Headers
79  - Board Power Provided by USB Port
80  - On-Board SIMO Regulator and LDO for IC and Peripherals
81  - Individual Power Measurement on all IC Rails Through Jumpers
82  - Two General-Purpose LED and One GeneralPurpose Pushbutton Switch
83
84Supported Features
85==================
86
87Below interfaces are supported by Zephyr on MAX32670EVKIT.
88
89+-----------+------------+-------------------------------------+
90| Interface | Controller | Driver/Component                    |
91+===========+============+=====================================+
92| NVIC      | on-chip    | nested vector interrupt controller  |
93+-----------+------------+-------------------------------------+
94| SYSTICK   | on-chip    | systick                             |
95+-----------+------------+-------------------------------------+
96| CLOCK     | on-chip    | clock and reset control             |
97+-----------+------------+-------------------------------------+
98| GPIO      | on-chip    | gpio                                |
99+-----------+------------+-------------------------------------+
100| UART      | on-chip    | serial                              |
101+-----------+------------+-------------------------------------+
102| TRNG      | on-chip    | entropy                             |
103+-----------+------------+-------------------------------------+
104| I2C       | on-chip    | i2c                                 |
105+-----------+------------+-------------------------------------+
106| DMA       | on-chip    | dma controller                      |
107+-----------+------------+-------------------------------------+
108| Watchdog  | on-chip    | watchdog                            |
109+-----------+------------+-------------------------------------+
110| SPI       | on-chip    | spi                                 |
111+-----------+------------+-------------------------------------+
112| Timer     | on-chip    | counter                             |
113+-----------+------------+-------------------------------------+
114| PWM       | on-chip    | pwm                                 |
115+-----------+------------+-------------------------------------+
116| Flash     | on-chip    | flash                               |
117+-----------+------------+-------------------------------------+
118
119Connections and IOs
120===================
121
122+-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+
123| Name      | Name          | Settings      | Description                                                                                      |
124+===========+===============+===============+==================================================================================================+
125| JP1       | P0_22         |               |                                                                                                  |
126|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
127|           |               | | Open      | |  | Disconnects red LED from P0_22.                                               |               |
128|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
129|           |               | | Close     | |  | Connects red to P0_22.                                                        |               |
130|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
131|           |               |               |                                                                                                  |
132+-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+
133| JP2       | P0_23         | +-----------+ |  +-------------------------------------------------------------------------------+               |
134|           |               | | Open      | |  | Disconnects green LED from P0_23.                                             |               |
135|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
136|           |               | | Close     | |  | Connects green LED to P0_23.                                                  |               |
137|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
138|           |               |               |                                                                                                  |
139+-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+
140| JP3       | P0_20         | +-----------+ |  +-------------------------------------------------------------------------------+               |
141|           | P0_26         | | 2-1       | |  | Connects the USB to serial port P0_8 (UART0_RX).                              |               |
142|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
143|           |               | | 2-3       | |  | Connects the USB to serial port P0_26 (LPUART0_RX).                           |               |
144|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
145|           |               |               |                                                                                                  |
146+-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+
147| JP4       | P0_9          | +-----------+ |  +-------------------------------------------------------------------------------+               |
148|           | P0_27         | | 2-1       | |  | Connects the USB to serial port P0_9 (UART0_TX).                              |               |
149|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
150|           |               | | 2-3       | |  | Connects the USB to serial port P0_27 (LPUART0_TX).                           |               |
151|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
152|           |               |               |                                                                                                  |
153+-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+
154| JP5       | VDD           | +-----------+ |  +-------------------------------------------------------------------------------+               |
155|           |               | | Open      | |  | Disconnects power to VDD.                                                     |               |
156|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
157|           |               | | Close     | |  | Connects power to VDD.                                                        |               |
158|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
159|           |               |               |                                                                                                  |
160+-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+
161| JP6       | VCORE         | +-----------+ |  +-------------------------------------------------------------------------------+               |
162|           |               | | Open      | |  | Disconnects power to VCORE.                                                   |               |
163|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
164|           |               | | Close     | |  | Connects power to VCORE.                                                      |               |
165|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
166|           |               |               |                                                                                                  |
167+-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+
168| JP7       | SIMO RSEL2    | +-----------+ |  +-------------------------------------------------------------------------------+               |
169|           |               | | 1-2       | |  | Sets output 2 of the SIMO regulator to 0.9V.                                  |               |
170|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
171|           |               | | 3-4       | |  | Sets output 2 of the SIMO regulator to 1.0V.                                  |               |
172|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
173|           |               | | 5-6       | |  | Sets output 2 of the SIMO regulator to 1.1V.                                  |               |
174|           |               | +-----------+ |  +-------------------------------------------------------------------------------+               |
175|           |               |               |                                                                                                  |
176+-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+
177
178Programming and Debugging
179*************************
180
181Flashing
182========
183
184The MAX32670 EVKIT integrates a MAX32625PICO based debugger for DAPLink functionality.
185
186
187Once the debug probe is connected to your host computer, then you can simply run the
188``west flash`` command to write a firmware image into flash.
189
190Debugging
191=========
192
193Please refer to the `Flashing`_ section and run the ``west debug`` command
194instead of ``west flash``.
195
196References
197**********
198
199- `MAX32670EVKIT web page`_
200
201.. _MAX32670EVKIT web page:
202   https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/max32670evkit.html
203