boards/adi/max32662evkit/doc/index.rst
.. zephyr:board:: max32662evkit
Overview
The MAX32662 evaluation kit (EV kit) provides a platform for evaluating the capabilities of the MAX32662 microcontroller, which is a cost-effective, ultra-low power, highly integrated 32-bit microcontroller designed for battery-powered edge devices.
The Zephyr port is running on the MAX32662 MCU.
Hardware
MAX32662 MCU:
High-Efficiency Microcontroller for Low-Power High-Reliability Devices
Flexible Clocking Schemes
Power Management Maximizes Uptime for Battery Applications
Optimal Peripheral Mix Provides Platform Scalability
Benefits and Features of MAX32662EVKIT:
.. zephyr:board-supported-hw::
+-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | Name | Name | Settings | Description | +===========+===============+===============+==================================================================================================+ | JP1 | VREF EN | | | | | | +-----------+ | +-------------------------------------------------------------------------------------------+ | | | | | 1-2 | | | Connects the external voltage reference to the VREF pin; must be enabled in the software. | | | | | | | | | See the External Voltage Reference (VREF) section for additional information. | | | | | +-----------+ | +-------------------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects the external voltage reference. | | | | | +-----------+ | +-------------------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP2 | I2C1_SCL_PU | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 1-2 | | | Connects the pull-up to I2C1A_SCL (P0.6); sourced by V_AUX. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects the pull-up from I2C1A_SCL (P0.6); sourced by V_AUX. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP3 | N/A | N/A | Does not exist. | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP4 | I2C1_SDA_PU | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 1-2 | | | Connects the pull-up to I2C1A_SDA (P0.9); sourced by V_AUX. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects the pull-up from I2C1A_SDA (P0.9); sourced by V_AUX. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP5 | LED0 EN | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 1-2 | | | Enables LED0. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disables LED0. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP6 | CTS0A EN | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 1-2 | | | Connects the USB-to-serial bridge to UART0A_CTS (P0.20). | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects the USB-to-serial bridge from UART0A_CTS (P0.20). | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP7 | RX0A EN | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 1-2 | | | Connects the USB-to-serial bridge to UART0A_RX (P0.11). | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects the USB-to-serial bridge from UART0A_RX (P0.11). | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP8 | TX0A EN | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 1-2 | | | Connects the USB-to-serial bridge to UART0A_TX (P0.10). | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects the USB-to-serial bridge from UART0A_TX (P0.10). | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP9 | RTS0A EN | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 1-2 | | | Connects the USB-to-serial bridge to UART0A_RTS (P0.19). | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects the USB-to-serial bridge from UART0A_RTS (P0.19). | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP10 | VCORE EN | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 1-2 | | | Connects 1V1 to VCORE. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects 1V1 from VCORE. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP11 | VDDIO/VDDASEL | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-1 | | | Connects 1V8 to V_AUX, VDDIO EN (JP12), and VDDA EN (JP13) jumpers. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-3 | | | Connects 3V3 to V_AUX, VDDIO EN (JP12), and VDDA EN (JP13) jumpers. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP12 | VDDIO EN | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 1-2 | | | Connects the JP11 selected voltage to VDDIO. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects the voltage from VDDIO. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+
Programming and Debugging
.. zephyr:board-supported-runners::
An Arm® debug access port (DAP) provides an external interface for debugging during application development. The DAP is a standard Arm CoreSight® serial wire debug port, uses a two-pin serial interface (SWDCLK and SWDIO), and is accessed through 10-pin header (J3). Logic levels are set to V_AUX (1V8 or 3V3), which is determined by the shunt placement on JP11. In addition, the UART1A port can also be accessed through J3.
Once the debug probe is connected to your host computer, then you can simply run the
west flash command to write a firmware image into flash. To perform a full erase,
pass the --erase option when executing west flash.
.. note::
This board uses OpenOCD as the default debug interface. You can also use
a Segger J-Link with Segger's native tooling by overriding the runner,
appending --runner jlink to your west command(s). The J-Link should
be connected to the standard 2*5 pin debug connector (J3) using an
appropriate adapter board and cable.
Please refer to the Flashing_ section and run the west debug command
instead of west flash.
References
MAX32662EVKIT web page_.. _MAX32662EVKIT web page: https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/max32662evkit.html