boards/adi/max32680evkit/doc/index.rst
.. zephyr:board:: max32680evkit
Overview
The MAX32680 evaluation kit (EV kit) provides a platform for evaluation capabilities of the MAX32680 microcontroller, which is an advanced system-on-chip (SoC) designed for industrial and medical sensors. Power regulation and management is provided by a single-inductor multiple-output (SIMO) buck regulator system and contains the latest generation Bluetooth® 5.2 Low Energy (LE) radio.
The Zephyr port is running on the MAX32680 MCU.
Hardware
MAX32680 MCU:
Ultra-Low-Power Wireless Microcontroller
Bluetooth 5.2 LE Radio
Timing-Critical Bluetooth Processing
Smart Integration Reduces BOM, Cost, and PCB Size
Power Management Maximizes Battery Life
Robust Security and Reliability
External devices connected to the MAX32680 EVKIT:
.. zephyr:board-supported-hw::
+-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | Name | Name | Settings | Description | +===========+===============+===============+==================================================================================================+ | JP1 | VREGI | | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects 3.3V power from the MAX32680 SIMO. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Connects 3.3V power to the MAX32680 SIMO. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP2 | REF0P | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-1 | | | Connects the external high-precision voltage reference to REF0P. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-3 | | | Connects the internal voltage reference to REF0P. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP3 | REF0N | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects REF0N from ground. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Connects REF0N to ground. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP4 | VDDIO_AUX | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects VDDIO_AUX from pull-ups and reference voltages. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Connects VDDIO_AUX to pull-ups and reference voltages. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP5 | VDDIOH | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Connects VREGO_A to VDDIOH. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Connects the 3.3V from the estrenal LDO to VDDIOH. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP6 | REF1P | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-1 | | | Connects the external high-precision voltage reference to REF1P. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-3 | | | Connects the internal voltage reference to REF1P. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP7 | REF1N | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects REF1N from ground. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Connects REF1N to ground. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP8 | I2C0_SDA | +-----------+ | +-------------------------------------------------------------------------------+ | | | I2C0_SCL | | 2-1 | | | Connects I2C0 pullups to VDDIO_AUX (1.8V). | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-3 | | | Connects I2C0 pullups to 3.3V. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP9 | I2C1_SDA | +-----------+ | +-------------------------------------------------------------------------------+ | | | I2C1_SCL | | 2-1 | | | Connects I2C1 pullups to VDDIO_AUX (1.8V). | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-3 | | | Connects I2C1 pullups to 3.3V. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP10 | P0_24 | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects red LED D1 from P0_24. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Connects red LED D1 to P0_24. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP11 | P0_25 | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects green LED D2 from P0_25. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Connects green LED D2 to P0_25. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP12 | FSK_IN | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects FSK_IN from HART analog circuitry. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Connects FSK_IN to HART analog circuitry. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP13 | RCV_FSK | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects RCV_FSK from CC LOOP. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Connects RCV_FSK to CC LOOP. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP14 | FSK_OUT | +-----------+ | +--------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects FSK_OUT from HART analog circuitry. | | | | | +-----------+ | +--------------------------------------------------------------------------------+ | | | | | Closed | | | Connects FSK_OUT to HART analog circuitry. | | | | | +-----------+ | +--------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP15 | RCV_FSK | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects RCV_FSK from XFMR LOOP. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Connects RCV_FSK to XFMR LOOP. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP16 | RLOAD | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects 249 ohm resistor shunt from CC LOOP. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Connects 249 ohm resistor shunt to CC LOOP. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP17 | FSK AMP GAIN | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Enables FSK variable amp gain. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Disables FSK variable amp gain. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP18 | AMP BYPASS | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-1 | | | Enables FSK amp. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-3 | | | Bypasses FSK amp. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP19 | FSK AMP GAIN | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Enables FSK fixed amp gain. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Disables FSK fixed amp gain. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP20 | HART_RTS | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Enables HART_RTS optical transceiver. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Bypasses HART_RTS optical transceiver. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP21 | RLOAD | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects 249 ohm resistor shunt from XFMR LOOP. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Closed | | | Connects 249 ohm resistor shunt to XFMR LOOP. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP22 | UART0_RX | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-1 | | | Disconnects the USB - serial bridge from UART1_RX (P0.12). | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-3 | | | Connects the USB - serial bridge to LPUART_RX (P2.6). | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP23 | UART0_TX | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-1 | | | Disonnects the USB - serial bridge from UART1_TX (P0.13). | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-3 | | | Connects the USB - serial bridge to LPUART_TX (P2.7). | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP24 | +-----------+ | +-----------+ | +-------------------------------------------------------------------------------+ | | | | HART_IN | | | Open | | | Disconnects TX of USB - serial bridge from HART_IN (P0.1) | | | | +-----------+ | +-----------+ | +-------------------------------------------------------------------------------+ | | | | HART_IN | | | 1-2 | | | Connects TX of USB - serial bridge to HART_IN (P0.1). | | | | +-----------+ | +-----------+ | +-------------------------------------------------------------------------------+ | | | | HART_OUT | | | Open | | | Disconnects RX of USB - serial bridge from HART_OUT (P0.0). | | | | +-----------+ | +-----------+ | +-------------------------------------------------------------------------------+ | | | | HART_OUT | | | 2-3 | | | Connects RX of USB - serial bridge to HART_OUT (P0.0). | | | | +-----------+ | +-----------+ | +-------------------------------------------------------------------------------+ | | | | HART_RTS | | | Open | | | Disconnects RTS of USB - serial bridge from HART_RTS (P0.3). | | | | +-----------+ | +-----------+ | +-------------------------------------------------------------------------------+ | | | | HART_RTS | | | 3-4 | | | Connects TX of USB - serial bridge to HART_RTS (P0.3). | | | | +-----------+ | +-----------+ | +-------------------------------------------------------------------------------+ | | | | HART_OCD | | | Open | | | Disconnects RTS of USB - serial bridge from HART_OCD (P0.2). | | | | +-----------+ | +-----------+ | +-------------------------------------------------------------------------------+ | | | | HART_OCD | | | 4-5 | | | Connects TX of USB - serial bridge to HART_OCD (P0.2). | | | | +-----------+ | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | JP25 | RSTN | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects DUT_3V3_RSTN from RSTN. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Close | | | Connects DUT_3V3_RSTN to RSTN. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+
Programming and Debugging
.. zephyr:board-supported-runners::
The MAX32680 MCU can be flashed by connecting an external debug probe to the SWD port. SWD debug can be accessed through the Cortex 10-pin connector, JH10. Logic levels are set to 1.8V (VDDIO_AUX).
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.
Please refer to the Flashing_ section and run the west debug command
instead of west flash.
References
MAX32680EVKIT web page_.. _MAX32680EVKIT web page: https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/max32680evkit.html#eb-overview