1.. zephyr:board:: max32672fthr
2
3Overview
4********
5The MAX32672FTHR is a rapid development platform that helps engineers quickly implement complex
6sensor solutions using the MAX32672 Arm® Cortex®-M4. The board also includes the MAX8819 PMIC for
7battery and power management. The form factor is a small, 0.9in by 2.6in, dual row header footprint
8that is compatible with Adafruit® FeatherWing peripheral expansion boards. The board includes
9an OLED display, a RGB indicator LED, and a user pushbutton. The MAX32672FTHR provides
10a power-optimized flexible platform for quick proof-ofconcepts and early software development
11to enhance time to market.
12
13The Zephyr port is running on the MAX32672 MCU.
14
15.. image:: img/max32672fthr_img1.webp
16   :align: center
17   :alt: MAX32672FTHR Front
18
19.. image:: img/max32672fthr_img2.webp
20   :align: center
21   :alt: MAX32672FTHR Back
22
23Hardware
24********
25
26- MAX32672 MCU:
27
28  - High-Efficiency Microcontroller for Low-Power High-Reliability Devices
29
30    - Arm Cortex-M4 Processor with FPU up to 100MHz
31    - 1MB Dual-Bank Flash with Error Correction
32    - 200KB SRAM (160KB with ECC Enabled), Optionally Preserved in Lowest Power Modes
33    - EEPROM Emulation on Flash
34    - 16KB Unified Cache with ECC
35    - Resource Protection Unit (RPU) and MemoryProtection Unit (MPU)
36    - Dual- or Single-Supply Operation, 1.7V to 3.6V
37    - Wide Operating Temperature: -40°C to +105°C
38
39  - Flexible Clocking Schemes
40
41    - Internal High-Speed 100MHz Oscillator
42    - Internal Low-Power 7.3728MHz and Ultra-Low-Power 80kHz Oscillators
43    - 16MHz–32MHz Oscillator, 32.768kHz Oscillator(External Crystal Required)
44    - External Clock Input for CPU, LPUART, LPTMR
45
46  - Power Management Maximizes Uptime for Battery Applications
47
48    - 59.8μA/MHz ACTIVE at 0.9V up to 12MHz(CoreMark®)
49    - 56.6μA/MHz ACTIVE at 1.1V up to 100MHz(While(1))
50    - 3.09μA Full Memory Retention Power in BACKUPMode at VDD = 1.8V
51    - 350nA Ultra-Low-Power RTC at
52    - Wake from LPUART or LPTMR
53
54  - Optimal Peripheral Mix Provides Platform Scalability
55
56    - Up to 42 General-Purpose I/O Pins
57    - Up to Three SPI Master/Slave (up to 50Mbps)
58    - Up to Three 4-Wire UART
59    - Up to Three I2C Master/Slave 3.4Mbps High Speed
60    - Up to Four 32-Bit Timers (TMR)
61    - Up to Two Low-Power 32-Bit Timers (LPTMR)
62    - One I2S Master/Slave for Digital Audio Interface
63    - 12-Channel, 12-Bit, 1Msps SAR ADC with On-DieTemperature Sensor
64
65  - Security and Integrity
66
67    - Optional ECDSA-Based Cryptographic SecureBootloader in ROM
68    - Secure Cryptographic Accelerator for Elliptic Curve
69    - AES-128/192/256 Hardware Acceleration Engine
70
71- Benefits and Features of MAX32672FTHR:
72
73  - MAX8819 PMIC with Integrated Charger
74  - On-Board DAPLink Debug and Programming Interface for Arm Cortex-M4
75  - Breadboard-Compatible Headers
76  - Micro USB Connector
77  - RGB Indicator LED
78  - User Pushbutton
79  - OLED Display
80  - SWD Debugger
81  - Virtual UART Console
82
83Supported Features
84==================
85
86Below interfaces are supported by Zephyr on MAX32672FTHR.
87
88+-----------+------------+-------------------------------------+
89| Interface | Controller | Driver/Component                    |
90+===========+============+=====================================+
91| NVIC      | on-chip    | nested vector interrupt controller  |
92+-----------+------------+-------------------------------------+
93| SYSTICK   | on-chip    | systick                             |
94+-----------+------------+-------------------------------------+
95| CLOCK     | on-chip    | clock and reset control             |
96+-----------+------------+-------------------------------------+
97| GPIO      | on-chip    | gpio                                |
98+-----------+------------+-------------------------------------+
99| UART      | on-chip    | serial                              |
100+-----------+------------+-------------------------------------+
101| TRNG      | on-chip    | entropy                             |
102+-----------+------------+-------------------------------------+
103| I2C       | on-chip    | i2c                                 |
104+-----------+------------+-------------------------------------+
105| DMA       | on-chip    | dma controller                      |
106+-----------+------------+-------------------------------------+
107| Watchdog  | on-chip    | watchdog                            |
108+-----------+------------+-------------------------------------+
109| SPI       | on-chip    | spi                                 |
110+-----------+------------+-------------------------------------+
111| ADC       | on-chip    | adc                                 |
112+-----------+------------+-------------------------------------+
113| Timer     | on-chip    | counter                             |
114+-----------+------------+-------------------------------------+
115| PWM       | on-chip    | pwm                                 |
116+-----------+------------+-------------------------------------+
117| Flash     | on-chip    | flash                               |
118+-----------+------------+-------------------------------------+
119
120
121Connections and IOs
122===================
123
124J9 Pinout
125**********
126
127+---------+----------+-------------------------------------------------------------------------------------------------+
128| Pin     | Name     | Description                                                                                     |
129+=========+==========+=================================================================================================+
130| 1       | RST      | Master Reset Signal                                                                             |
131+---------+----------+-------------------------------------------------------------------------------------------------+
132| 2       | 3V3      | 3.3V Output. Typically used to provide 3.3V to peripherals connected to the expansion headers.  |
133+---------+----------+-------------------------------------------------------------------------------------------------+
134| 3       | 1V8      | 1.8V Output. Typically used to provide 1.8V to peripherals connected to the expansion headers.  |
135+---------+----------+-------------------------------------------------------------------------------------------------+
136| 4       | GND      | Ground                                                                                          |
137+---------+----------+-------------------------------------------------------------------------------------------------+
138| 5       | P0_11    | GPIO or Analog Input (AIN3 channel).                                                            |
139+---------+----------+-------------------------------------------------------------------------------------------------+
140| 6       | P0_12    | GPIO or Analog Input (AIN4 channel).                                                            |
141+---------+----------+-------------------------------------------------------------------------------------------------+
142| 7       | P0_13    | GPIO or Analog Input (AIN5 channel).                                                            |
143+---------+----------+-------------------------------------------------------------------------------------------------+
144| 8       | P0_22    | GPIO or ADC_TRIG signal.                                                                        |
145+---------+----------+-------------------------------------------------------------------------------------------------+
146| 9       | P0_27    | GPIO or QERR signal.                                                                            |
147+---------+----------+-------------------------------------------------------------------------------------------------+
148| 10      | P0_26    | GPIO or QDIR signal.                                                                            |
149+---------+----------+-------------------------------------------------------------------------------------------------+
150| 11      | P0_16    | GPIO or SPI1 clock signal.                                                                      |
151+---------+----------+-------------------------------------------------------------------------------------------------+
152| 12      | P0_15    | GPIO or SPI1 MOSI signal.                                                                       |
153+---------+----------+-------------------------------------------------------------------------------------------------+
154| 13      | P0_14    | GPIO or SPI1 MISO signal.                                                                       |
155+---------+----------+-------------------------------------------------------------------------------------------------+
156| 14      | P0_28    | GPIO or UART1 Rx signal.                                                                        |
157+---------+----------+-------------------------------------------------------------------------------------------------+
158| 15      | P0_29    | GPIO or UART1 Tx signal.                                                                        |
159+---------+----------+-------------------------------------------------------------------------------------------------+
160| 16      | GND      | Ground                                                                                          |
161+---------+----------+-------------------------------------------------------------------------------------------------+
162
163
164J7 Pinout
165**********
166
167+---------+----------+-----------------------------------------------------------------------------------------------------------+
168| Pin     | Name     | Description                                                                                               |
169+=========+==========+===========================================================================================================+
170| 1       | SYS      | SYS Switched Connection to the Battery. This is the primary system power supply and automatically         |
171|         |          | switches between the battery voltage and the USB supply when available.                                   |
172+---------+----------+-----------------------------------------------------------------------------------------------------------+
173| 2       | PWR      | In battery-powered mode, turns off the PMIC if shorted to ground.                                         |
174+---------+----------+-----------------------------------------------------------------------------------------------------------+
175| 3       | VBUS     | USB VBUS Signal. This can be used as a 5V supply when connected to USB. This pin can also be              |
176|         |          | used as an input to power the board.                                                                      |
177+---------+----------+-----------------------------------------------------------------------------------------------------------+
178| 4       | P0_5     | GPIO or HFX_CLK_OUT signal.                                                                               |
179+---------+----------+-----------------------------------------------------------------------------------------------------------+
180| 5       | P0_6     | GPIO or QEA signal.                                                                                       |
181+---------+----------+-----------------------------------------------------------------------------------------------------------+
182| 6       | P0_7     | GPIO or QEB signal.                                                                                       |
183+---------+----------+-----------------------------------------------------------------------------------------------------------+
184| 7       | P0_23    | GPIO or QEI signal.                                                                                       |
185+---------+----------+-----------------------------------------------------------------------------------------------------------+
186| 8       | P0_17    | GPIO or SPI1 slave select signal.                                                                         |
187+---------+----------+-----------------------------------------------------------------------------------------------------------+
188| 9       | P0_24    | GPIO or QES signal.                                                                                       |
189+---------+----------+-----------------------------------------------------------------------------------------------------------+
190| 10      | P0_25    | GPIO or QMATCH signal.                                                                                    |
191+---------+----------+-----------------------------------------------------------------------------------------------------------+
192| 11      | P0_18    | GPIO or I2C2 SCL signal.                                                                                  |
193+---------+----------+-----------------------------------------------------------------------------------------------------------+
194| 12      | P0_19    | GPIO or I2C2 SDA signal.                                                                                  |
195+---------+----------+-----------------------------------------------------------------------------------------------------------+
196
197Programming and Debugging
198*************************
199
200Flashing
201========
202
203The MAX32625 microcontroller on the board is flashed with DAPLink firmware at the factory.
204It allows debugging and flashing the MAX32672 Arm Core over USB.
205
206Once the debug probe is connected to your host computer, then you can simply run the
207``west flash`` command to write a firmware image into flash.
208
209Debugging
210=========
211
212Please refer to the `Flashing`_ section and run the ``west debug`` command
213instead of ``west flash``.
214
215References
216**********
217
218- `MAX32672FTHR web page`_
219
220.. _MAX32672FTHR web page:
221   https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/max32672fthr.html
222