boards/adi/apard32690/doc/index.rst
.. zephyr:board:: apard32690
Overview
The AD-APARD32690-SL is a platform for prototyping intelligent, secure, and connected field devices. It has an Arduino Mega-compatible form factor and two Pmod-compatible connectors. The system includes the MAX32690 ARM Cortex-M4 with FPU-Based Microcontroller and Bluetooth LE 5.2. The MCU is coupled with external RAM (2 x 512 Mb) and Flash (64 Mb) memories to meet the requirements of the most demanding applications. The MAXQ1065 security coprocessor enables state of the art security features such as for root-of-trust, mutual authentication, data confidentiality and integrity, secure boot, and secure communications. A 10 Mbps single-pair Ethernet link using the ADIN1110 10BASE-T1L MAC/PHY, enables remote data acquisition and system configuration. The 10BASE-T1L interface also supports Single-pair Power over Ethernet (SPoE) and be used for powering the system via an Arduino shield implementing the required power circuitry.
The Zephyr port is running on the MAX32690 MCU.
Hardware
MAX32690 MCU:
Ultra-Efficient Microcontroller for Battery-Powered Applications
Bluetooth 5.2 LE Radio
Multiple Peripherals for System Control
Security and Integrity
External devices connected to the APARD32690:
.. zephyr:board-supported-hw::
+-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | Name | Name | Settings | Description | +===========+===============+===============+==================================================================================================+ | P55 | SWD TX | | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 1-2 | | | Connects the SWD UART TX to the (UART) RX port of the U-Blox Nina W102. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-3 | | | Connects the SWD UART TX to the UART0 TX pin of the MAX32690. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | P50 | SWD RX | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 1-2 | | | Connects the SWD UART RX to the (UART) TX port of the U-Blox Nina W102. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-3 | | | Connects the SWD UART RX to the UART0 RX pin of the MAX32690. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | P51 | SWD POW | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 1-2 | | | Connects the SWD Vcc pin to 3.3V. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 2-3 | | | Connects the SWD Vcc pin to 1.8V. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | P38 | UART RX WIFI | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 1-2 | | | Connect the U-Blox Nina W102 UART RX to the UART2A TX pin of the MAX32690 | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects the U-Blox Nina W102 UART RX from the UART2A TX pin | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | P58 | UART TX WIFI | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | 1-2 | | | Connect the U-Blox Nina W102 UART TX to the UART2A RX pin of the MAX32690. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Open | | | Disconnects the U-Blox Nina W102 UART TX from the UART2A RX pin. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | S4 | SW1 | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | On | | | Pulls the ADIN1110's SWPD_EN pin to 3.3V through a resistor. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Off | | | Leaves the ADIN1110's SWPD_EN pin floating. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | S4 | SW2 | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | On | | | Pulls the ADIN1110's CFG0 pin to 3.3V through a resistor. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Off | | | Leaves the ADIN1110's CFG0 pin floating. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+ | S4 | SW3 | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | On | | | Pulls the ADIN1110's CFG1 pin to 3.3V through a resistor. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | Off | | | Leaves the ADIN1110's CFG1 pin floating. | | | | | +-----------+ | +-------------------------------------------------------------------------------+ | | | | | | +-----------+---------------+---------------+--------------------------------------------------------------------------------------------------+
Programming and Debugging
.. zephyr:board-supported-runners::
The MAX32690 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, P9. Logic levels are either 1.8V or 3.3V (based on P51 selection).
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 (P9) using an
appropriate adapter board and cable.
Please refer to the Flashing_ section and run the west debug command
instead of west flash.
References
AD-APARD32690-SL solution center_.. _AD-APARD32690-SL solution center: https://developer.analog.com/solutions/max32690