Apollo2 EVB

The Apollo2 EVB is a board by Ambiq featuring their ultra-low power Apollo2 SoC.

Hardware

The Ambiq Apollo2 SoC provides the following hardware features:

  • ARM® Cortex® M4F core with a Floating Point Unit

  • Up to 48 MHz operating frequency

  • 16 kB 2-way Associative Cache

  • Up to 1 MB of flash memory for code/data

  • Up to 256 KB of low leakage RAM for code/data

For more information about the Apollo2 SoC and a potential Apollo2 EVB board:

Supported Features

The apollo2_evb board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

apollo2_evb/apollo2 target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M4F CPU1

arm,cortex-m4f

Clock control

on-chip

Generic fixed-rate clock provider2

fixed-clock

Debug

on-chip

ARMv7 instrumentation trace macrocell1

arm,armv7m-itm

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

MTD

on-chip

Flash node1

soc-nv-flash

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

Pin control

on-chip

The Ambiq Apollo2 pin controller is responsible for controlling pin function selection and pin properties such as routing UART0 TX to a specific pin and enabling pull-ups1

ambiq,apollo2-pinctrl

Serial controller

on-chip

Ambiq UART controller (PL011 compatible)1 1

ambiq,pl011-uart

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

Programming and Debugging

Flashing an application

Connect your device to your host computer using the JLINK USB port. The sample application Hello World is used for this example. Build the Zephyr kernel and application, then flash it to the device:

# From the root of the zephyr repository
west build -b apollo2_evb samples/hello_world
west flash

Note

west flash requires SEGGER J-Link software and pylink Python module to be installed on you host computer.

Open a serial terminal (minicom, putty, etc.) with the following settings:

  • Speed: 115200

  • Data: 8 bits

  • Parity: None

  • Stop bits: 1

Reset the board and you should be able to see on the corresponding Serial Port the following message:

Hello World! apollo2_evb