ambiq micro Apollo4 Blue Plus User manual

QUICK START GUIDE
Apollo4 Plus EVB
(EVB Revision 1.0)
Ultra-low Power Apollo SoC Family
Doc. ID: QS-A4P-1p0
Document Revision 1.0, May 2022

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 2 2022 Ambiq Micro, Inc.
All rights reserved.
Legal Information and Disclaimers
AMBIQ MICRO INTENDS FOR THE CONTENT CONTAINED IN THE DOCUMENT TO BE ACCURATE AND RELI-
ABLE. THIS CONTENT MAY, HOWEVER, CONTAIN TECHNICAL INACCURACIES, TYPOGRAPHICAL ERRORS
OR OTHER MISTAKES. AMBIQ MICRO MAY MAKE CORRECTIONS OR OTHER CHANGES TO THIS CONTENT
AT ANY TIME. AMBIQ MICRO AND ITS SUPPLIERS RESERVE THE RIGHT TO MAKE CORRECTIONS, MODIFI-
CATIONS, ENHANCEMENTS, IMPROVEMENTS AND OTHER CHANGES TO ITS PRODUCTS, PROGRAMS AND
SERVICES AT ANY TIME OR TO DISCONTINUE ANY PRODUCTS, PROGRAMS, OR SERVICES WITHOUT
NOTICE.
THE CONTENT IN THIS DOCUMENT IS PROVIDED "AS IS". AMBIQ MICRO AND ITS RESPECTIVE SUPPLIERS
MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS CONTENT FOR ANY PURPOSE AND DIS-
CLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS CONTENT, INCLUDING BUT NOT LIM-
ITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT.
AMBIQ MICRO DOES NOT WARRANT OR REPRESENT THAT ANY LICENSE, EITHER EXPRESS OR IMPLIED, IS
GRANTED UNDER ANY PATENT RIGHT, COPYRIGHT, MASK WORK RIGHT, OR OTHER INTELLECTUAL PROP-
ERTY RIGHT OF AMBIQ MICRO COVERING OR RELATING TO THIS CONTENT OR ANY COMBINATION,
MACHINE, OR PROCESS TO WHICH THIS CONTENT RELATE OR WITH WHICH THIS CONTENT MAY BE USED.
USE OF THE INFORMATION IN THIS DOCUMENT MAY REQUIRE A LICENSE FROM A THIRD PARTY UNDER
THE PATENTS OR OTHER INTELLECTUAL PROPERTY OF THAT THIRD PARTY, OR A LICENSE FROM AMBIQ
MICRO UNDER THE PATENTS OR OTHER INTELLECTUAL PROPERTY OF AMBIQ MICRO.
INFORMATION IN THIS DOCUMENT IS PROVIDED SOLELY TO ENABLE SYSTEM AND SOFTWARE IMPLE-
MENTERS TO USE AMBIQ MICRO PRODUCTS. THERE ARE NO EXPRESS OR IMPLIED COPYRIGHT
LICENSES GRANTED HEREUNDER TO DESIGN OR FABRICATE ANY INTEGRATED CIRCUITS OR INTE-
GRATED CIRCUITS BASED ON THE INFORMATION IN THIS DOCUMENT. AMBIQ MICRO RESERVES THE
RIGHT TO MAKE CHANGES WITHOUT FURTHER NOTICE TO ANY PRODUCTS HEREIN. AMBIQ MICRO MAKES
NO WARRANTY, REPRESENTATION OR GUARANTEE REGARDING THE SUITABILITY OF ITS PRODUCTS FOR
ANY PARTICULAR PURPOSE, NOR DOES AMBIQ MICRO ASSUME ANY LIABILITY ARISING OUT OF THE
APPLICATION OR USE OF ANY PRODUCT OR CIRCUIT, AND SPECIFICALLY DISCLAIMS ANY AND ALL LIABIL-
ITY, INCLUDING WITHOUT LIMITATION CONSEQUENTIAL OR INCIDENTAL DAMAGES. “TYPICAL” PARAME-
TERS WHICH MAY BE PROVIDED IN AMBIQ MICRO DATA SHEETS AND/OR SPECIFICATIONS CAN AND DO
VARY IN DIFFERENT APPLICATIONS AND ACTUAL PERFORMANCE MAY VARY OVER TIME. ALL OPERATING
PARAMETERS, INCLUDING “TYPICALS” MUST BE VALIDATED FOR EACH CUSTOMER APPLICATION BY CUS-
TOMER’S TECHNICAL EXPERTS. AMBIQ MICRO DOES NOT CONVEY ANY LICENSE UNDER NEITHER ITS PAT-
ENT RIGHTS NOR THE RIGHTS OF OTHERS. AMBIQ MICRO PRODUCTS ARE NOT DESIGNED, INTENDED, OR
AUTHORIZED FOR USE AS COMPONENTS IN SYSTEMS INTENDED FOR SURGICAL IMPLANT INTO THE
BODY, OR OTHER APPLICATIONS INTENDED TO SUPPORT OR SUSTAIN LIFE, OR FOR ANY OTHER APPLICA-
TION IN WHICH THE FAILURE OF THE AMBIQ MICRO PRODUCT COULD CREATE A SITUATION WHERE PER-
SONAL INJURY OR DEATH MAY OCCUR. SHOULD BUYER PURCHASE OR USE AMBIQ MICRO PRODUCTS
FOR ANY SUCH UNINTENDED OR UNAUTHORIZED APPLICATION, BUYER SHALL INDEMNIFY AND HOLD
AMBIQ MICRO AND ITS OFFICERS, EMPLOYEES, SUBSIDIARIES, AFFILIATES, AND DISTRIBUTORS HARM-
LESS AGAINST ALL CLAIMS, COSTS, DAMAGES, AND EXPENSES, AND REASONABLE ATTORNEY FEES ARIS-
ING OUT OF, DIRECTLY OR INDIRECTLY, ANY CLAIM OF PERSONAL INJURY OR DEATH ASSOCIATED WITH
SUCH UNINTENDED OR UNAUTHORIZED USE, EVEN IF SUCH CLAIM ALLEGES THAT AMBIQ MICRO WAS
NEGLIGENT REGARDING THE DESIGN OR MANUFACTURE OF THE PART.

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 3 2022 Ambiq Micro, Inc.
All rights reserved.
Table of Content
Introduction ................................................................................................................. 6
Document Revision History......................................................................................... 6
Reference Documents and Software.......................................................................... 6
Quick Start .................................................................................................................. 6
Overview of the Apollo4 Plus EVB.............................................................................. 7
Debug Interface ........................................................................................................ 11
Software Development Tools.................................................................................... 13
Power Supply Options and Measuring Current......................................................... 14
Non-Power Solder Bridges ....................................................................................... 18
Ordering Information................................................................................................. 20

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 4 2022 Ambiq Micro, Inc.
All rights reserved.
List of Figures
Apollo4 Plus EVB........................................................................................................ 7
Apollo4 Plus EVB - Major Top Side Components....................................................... 7
Apollo4 Plus EVB - Major Bottom Side Components.................................................. 8
Apollo4 Plus EVB - Top Side Parts Location .............................................................. 8
Apollo4 Plus EVB - Bottom Side Parts Location ......................................................... 9
Apollo4 Plus EVB Using On-board J-Link Debugger ................................................ 11
Apollo4 Plus EVB’s DEBUG IN Header (J13)........................................................... 12
Apollo4 Plus EVB Power Supplies Solder Bridge Connection.................................. 14
Apollo4 Plus EVB USB Power Sequencing Circuit ................................................... 15
Apollo4 Plus EVB VDD18/MIPI Power Sequencing Circuit ...................................... 15
Apollo4 Plus EVB Voltage Selection on Header J2 .................................................. 16
Apollo4 Plus EVB Voltage Selection on Header J3 .................................................. 16
Audio Jack J18 and AUDADC Audio Source Selections .......................................... 19
Audio Header J17 ..................................................................................................... 19

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 5 2022 Ambiq Micro, Inc.
All rights reserved.
List of Tables
Document Revision History......................................................................................... 6
Peripherals Supporting Solder Bridge Connections.................................................. 18
EVB Ordering Information......................................................................................... 20
SoC Ordering Information......................................................................................... 20

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 6 2022 Ambiq Micro, Inc.
All rights reserved.
1. Introduction
This document provides guidance in setting up the Apollo4 Plus Evaluation Board (EVB), revision 1, part
number AMAP4PEVB, to get started executing code examples, measuring power consumption in various
configurations, and beginning software development.
2. Document Revision History
3. Reference Documents and Software
The following items may be useful in understanding and using the EVB.
▪ EVB Schematic
▪ Apollo4 Plus Datasheet
▪ Apollo4 Plus Programmer’s Guide
▪ Apollo4 Plus Errata List
▪ AmbiqSuite SDK
4. Quick Start
The EVB Kit comes with the following items:
▪ Apollo4 Plus Evaluation Board (EVB)
▪ USB Type C cable
▪ Four adhesive-backed rubber feet
▪ Extra jumpers
Caution: The EVB has components loaded on the back of the board. Care should be taken to not damage
these components. The included rubber feet should be applied to the bottom of the board to prevent direct
contact between the components and a desk surface.
The EVB comes with jumpers pre-configured for default operation. Also, it has been pre-programmed with
the Binary Counter example program. To start EVB program execution, connect the USB-C cable from a
USB port on a PC to the J-Link USB connector (J6) on the EVB, and turn on the power switch (SW4). The
blue LED under the power switch should illuminate.
Monitor the three LEDs on the bottom of the EVB (D3-D5). The LEDs should light in a binary count-up
pattern, and repeat.
The AmbiqSuite SDK provides many example programs that may be run on the EVB. To run these
examples, download the SDK via the link provided above and select any of the pre-built examples in the
SDK at /boards/apollo4p_bga_evb/examples.
Rev # Date Description
1.0 May 2022 Initial release for Apollo4 Plus EVB, board version 1
Table 1: Document Revision History

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 7 2022 Ambiq Micro, Inc.
All rights reserved.
5. Overview of the Apollo4 Plus EVB
The Apollo4 Plus EVB, features Arduino-compatible headers and an integrated J-Link debugger:
Figure 1. Apollo4 Plus EVB
Figure 2. Apollo4 Plus EVB - Major Top Side Components

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 8 2022 Ambiq Micro, Inc.
All rights reserved.
Figure 3. Apollo4 Plus EVB - Major Bottom Side Components
Figure 4. Apollo4 Plus EVB - Top Side Parts Location

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 9 2022 Ambiq Micro, Inc.
All rights reserved.
Figure 5. Apollo4 Plus EVB - Bottom Side Parts Location
The EVB has these features:
▪ Apollo4 Plus SoC in the BGA package (AMAP42KP-KBR)
▪ Low power reference design
▪ Multiple power/clock options
▪ USB Type C connector for power/download/debug
▪ USB Type C connector for power/data to Apollo4 Plus
▪ Segger J-Link debugger
▪ Debugger-in port (J13) (SWD or ETM)
▪ Three user-controlled LEDs
▪ Two push buttons for application use, plus a reset push button
▪ Power slide switch with LED power indicator
▪ Five Arduino-style headers (J7, J9-J12) for pin/power access to a shield board
▪ Test points for power measurements
▪ High-speed connector (J8 - QSH-030-01-L-D-A) for interfacing to displays and/or high-speed memory
▪ Multiple solder-bridge options for power supply flexibility and peripheral access options
▪ 3.5 mm audio jack (SJ-435107) for evaluating low-power analog audio interface
▪ CE Mark and RoHS compliant
5.1 Secure Boot on the Apollo4 Plus SoC
Apollo4 Plus SoC parts from the Ambiq factory are preprogrammed with a Secure Bootloader and an
uninitialized Customer Info Space, referred to as INFO0. Initial provisioning of the part would include
programming a valid INFO0 and programming the main firmware image in the flash. The Apollo4 Plus EVB
is shipped with the INFO0 configuration pre-programmed with optimal settings for the EVB layout:
1. Default boot to non-secure mode
2. Enable Boot Override to Push Button on GPIO18 (OTP setting) - BTN0/SW1
3. Enable wired updates over UART0
A. UART0 is mapped to J-Link (OTP Setting).
B. Baud rate is 115200 bps, no-parity, 8-bit data length, no flow control.

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 10 2022 Ambiq Micro, Inc.
All rights reserved.
C. Timeout is 3 seconds.
For your reference, the following settings are programmed into INFO0 on the SoC resident on the EVB:
▪ Simo Buck is NOT enabled.
▪ Secure Bootloader (SBL) interface is configured to UART using GPIO47 and GPIO60, which allows
secure boot to be performed over the J-Link COM interface of the EVB.
▪ SBL override pin is configured to GPIO18 which is BTN0/SW1 on the EVB.
▪ All Flash and Debugger protection features are disabled.
For information on changing the INFO0 settings as well as using the Secure Bootloader, please refer to the
README.txt file, which can be found in the tools\apollo4b_scripts folder of the latest SDK release
supporting the Apollo4 family. This folder contains a number of python scripts to demonstrate generation of
INFO0 settings, customer main images, and the creation of images for the Wired Update protocol over
UART.

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 11 2022 Ambiq Micro, Inc.
All rights reserved.
6. Debug Interface
Figure 6 shows the Apollo4 Plus EVB set up for standard debug using the on-board J-Link debugger and
on-board power supply. The on-board J-Link debugger is on the other side of the board and not shown in
the figure.
Figure 6. Apollo4 Plus EVB Using On-board J-Link Debugger
The debug interface is supported by standard J-Link drivers from Segger. Please refer to “Software
Development Tools” on page 13 for more details on J-Link debug support.
6.1 Use of External Debugger
This EVB also supports the use of an external Cortex SWD debug interface through a 20-pin debug header
(DEBUG IN - J13) as shown in Figure 7. See the EVB schematic for connector pinout.

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 12 2022 Ambiq Micro, Inc.
All rights reserved.
Figure 7. Apollo4 Plus EVB’s DEBUG IN Header (J13)
No jumper changes are required to use an external debug adapter. Simply connect the external debug
adapter with a ribbon cable connector to the “DEBUG IN” header.

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 13 2022 Ambiq Micro, Inc.
All rights reserved.
7. Software Development Tools
The standard Segger J-Link debug interface is used on the Apollo4 Plus EVB. Please install the latest
Segger J-Link software, and configure your preferred development IDE (Keil, IAR, or Eclipse) to use J-Link
debug interface.
Links to development tools that support Apollo4 Plus:
▪SEGGER J-Link Software (6.96 or later): https://www.segger.com/downloads/jlink
▪ KEIL uVision 5 (MDK5.34 or later): https://www.keil.com/demo/eval/arm.htm
▪ Latest Keil Pack (Also used by Eclipse): http://www.keil.com/dd2/pack/#/third-party-download-dialog
▪ IAR Version (8.42.2 or later): https://www.iar.com/iar-embedded-workbench/tools-for-arm/arm-cortex-m-
edition/
▪ GCC 5.3.1: https://gcc.gnu.org
Regardless of preferred IDE, please install the Segger J-Link software. All of the above development
environments support J-Link, but you must have the latest J-Link software installed. Most alternate
development environments also are supported by J-Link.
Please refer to the AmbiqSuite Getting Started Guide (AMSDKGS) provided with any SDK release for
more details on setting up development IDEs to use J-Link.

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 14 2022 Ambiq Micro, Inc.
All rights reserved.
8. Power Supply Options and Measuring Current
The Apollo4 Plus EVB is intended to operate off of a 5V supply, which is used to generate downstream
voltages.
There are two power supply options for the EVB SoC:
▪ Operate at 1.9V by default as provided by the on-board power supply (referred to as nominal
“VDD_1.8V”). This can be adjusted to 1.8V by shorting SB4 shown on the Power Supplies page of the
EVB schematic(1).
▪ Provide externally supplied power.
The EVB utilizes solder-bridges for connecting and disconnecting rails from power supplies, whether
generated on-board or off-board. Figure 8 shows the solder-bridge connection strategy between various
on-board power supplies and the SoC’s power rails.
Figure 8. Apollo4 Plus EVB Power Supplies Solder Bridge Connection
Figure 9 shows the USB power sequencing circuit producing the voltage supplied to VDDUSB33 and
VDDUSB0_9 through solder-bridges SB13 and SB11, respectively. These solder bridges are shorted by
default.
1. Refer to the EVB schematic and assembly drawing for purpose and location of all solder bridges on the
EVB.

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 15 2022 Ambiq Micro, Inc.
All rights reserved.
Figure 9. Apollo4 Plus EVB USB Power Sequencing Circuit
Similarly, Figure 10 shows the power sequencing circuit producing the voltage supplied to the MIPI VDD18
supply through solder-bridge SB9. This solder bridge is also shorted by default.
Figure 10. Apollo4 Plus EVB VDD18/MIPI Power Sequencing Circuit

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 16 2022 Ambiq Micro, Inc.
All rights reserved.
As shown in Figure 11 and Figure 12, headers J2 and J3 provide easy access to the various system and
chip-level power supplies present on the EVB. These can be used in conjunction with the above solder-
bridges to measure current, monitor voltage, or provide externally generated power to each specific rail.
Figure 11. Apollo4 Plus EVB Voltage Selection on Header J2
Figure 12. Apollo4 Plus EVB Voltage Selection on Header J3
8.1 Measuring Current
If the user wants to use a separate power supply for the EVB, then SB3 shown in Figure 8 should be cut,
and either SB5 should be shorted or pins 3 and 4 of J3 should be jumped. The external power rail can be
applied to VDD_EXT on J3, pin 3. Consult the electrical specifications in the Apollo4 Plus Datasheet for the
acceptable operating range for VDD_MCU.
Note: The J-Link I/O voltage should be set to the new VDD_IO of the chip, and therefore SB19 (not shown
in Figure 8) should be opened and SB20 should be shorted (soldered).
Current consumption of the Apollo4 Plus can be measured by connecting an ammeter between pins 1 and
2 of J3 after SB3 has been cut. For increased accuracy of this current measurement, especially when
measuring Deep Sleep current, SB76 also needs to be cut on revision 1 of the EVB - see Figure 4 for
location. This disconnects the RSTn line from the J-LINK controller to the MCU. J-LINK can still
communicate with and program the Apollo4 Plus, but cannot reset the device after reprogramming. To
prevent having to manually reset the device after reprogramming, SB76 can be re-shorted to allow J-LINK
to reset the device.

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 17 2022 Ambiq Micro, Inc.
All rights reserved.
Use of the EVB using the on-board SoC supply may be restored by disconnecting the external supply (if
connected) and either shorting SB3 once again or jumping between pins 1 and 2 of J3. The J-Link I/O
voltage also should be restored.

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 18 2022 Ambiq Micro, Inc.
All rights reserved.
9. Non-Power Solder Bridges
9.1 Solder Bridges for Reducing Trace Length to Optimize Performance
The following peripherals support solder-bridge connections, which allow for optimized performance by
reducing overall trace length at the cost of losing connectivity to their respective GPIO headers. Note that
these connections can be reset by applying solder across the solder-bridge.
Additionally, the LED indicators can be disconnected from GPIO30, GPIO60 and GPIO90 by opening their
respective solder-bridges (SB37, SB39, and SB38). GPIO47, GPIO58, GPIO59 and GPIO60 are used for
UART communication with the on-board J-Link. Opening SB26-SB29 frees these pins for exclusive use
with the standard GPIO headers J10 and J12.
9.2 Solder Bridges for Audio Selectivity
As shown in Figure 13, a single audio jack, J18, provides stereo audio input routed to AUDADC (also
referred to as LPADC) inputs on the SoC. Alternatively, up to 4 single-ended or 2 differential pair audio
signals as shown in Figure 14 can be input on connector J17 which is routed on the EVB as differential
pair(s) to AUDADC inputs. The default (shorted) solder bridge configuration enables either of these input
options.
Peripheral GPIO Description
Display Controller, MSPI0 37, 64-73 Opening solder-bridges connects these GPIO exclusively to J8, with
minimal trace stubs
ETM 50-54, 55 (open by default) Opening solder-bridges connect these GPIO exclusively to J13. SWO
is default connection to J13 (shared with GP55, SWTRCTL)
Table 2: Peripherals Supporting Solder Bridge Connections

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 19 2022 Ambiq Micro, Inc.
All rights reserved.
Figure 13. Audio Jack J18 and AUDADC Audio Source Selections
Figure 14. Audio Header J17

Apollo4 Plus EVB Quick Start Guide
QS-A4P-1p0 Page 20 2022 Ambiq Micro, Inc.
All rights reserved.
10. Ordering Information
Table 3: EVB Ordering Information
Table 4: SoC Ordering Information
Device Name Orderable
Part Number
EVB
Revision SoC SoC Package Temperature
Range
Apollo4 Plus EVB AMAP4PEVB 1 Apollo4 Plus 146-pin BGA –20 to 60°C
Device Name Orderable
Part Number MRAM RAM Package Packing Temperature
Range
Apollo4 Plus SoC AMAP42KP-KBR 2 MB 2.75
MB
5.0 x 5.0
146-pin BGA Tape and Reel –20 to 60°C
Other manuals for Apollo4 Blue Plus
3
This manual suits for next models
1
Table of contents
Other ambiq micro Single Board Computer manuals
Popular Single Board Computer manuals by other brands

Raspberry Pi
Raspberry Pi A quick start guide

Vantron
Vantron VT-SBC-I350 user manual

Penguin Edge
Penguin Edge MVME250 Series Installation and use manual

EEPD
EEPD PROFIVE NUCE V2718 Hardware reference manual

Acrosser Technology
Acrosser Technology AR-B1641 user guide

Vantron
Vantron VT-SBC-C3558R user manual