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