This user’s guide describes how to use the SAMA5D2 Industrial Connectivity Platform (SAMA5D2-ICP) kit.
The SAMA5D2-ICP is a hardware and software platform that demonstrates the rich wired and wireless connectivity
solutions around Microchip's SAMA5D2 Arm Cortex-A based microprocessors. It offers customers a starting point for
their applications that include either EtherCAT, Ethernet 10/100 and 10/100/1000, CAN, Wi-Fi®, Bluetooth® or USB
communications, or any combination of these. The board also features three mikroBUS™ click interface headers to
support over 450 MikroElektronika Click boards™.
6.1.Rev. A - 02/2020.........................................................................................................................58
The Microchip Website.................................................................................................................................59
The SAMA5D2 Industrial Connectivity Platform (SAMA5D2-ICP) provides a versatile Total System Solutions platform
that highlights Microchip’s MPU and connectivity ICs for industrial networking applications.
The board features three mikroBUS click interface headers to support over 450 MikroElektronika Click boards and
provisions to solder a Microchip ATWILC3000-MR110CA or a ATWILC3000-MR110UA WiFi/BT module.
2.1 SAMA5D2-ICP Features
Table 2-1. SAMA5D2-ICP Features
CharacteristicsSpecificationsComponents
ATSAMA5D2-ICP
Product Overview
Processor
External Clocks
Memory
SD/MMCOne standard SD card interfaceSD card connector
USB
CANTwo CAN interfacesMicrochip MCP2542FDT
Ethernet
Wi-Fi/BT
Debug port
SAMA5D27-CU (289-ball BGA), 14x14 mm body, 0.8 mm
pitch
MPU: 12 MHz, 32.768 kHz
Misc osc: 12, 24, 25 MHz
Two 16-bit, 2-Gbit DDR3L (total of 512 Mbytes)
One QSPI Flash
Three EEPROMs
One USB host switch 4 ports with power switch
One USB device type Micro-AB
One Gigabit Ethernet PHY through HSIC
One ETH switchport
One EtherCAT interface
Footprint for IEEE® 802.11 b/g/n Wi-Fi plus Bluetooth
Module (Wi-Fi/BT), suitable for Microchip WILC3000MR110CA or WILC3000-MR110UA
One J-Link-OB/J-Link-CDC
One JTAG interface
_
Oscillators and optional crystal
Winbond® W632GU6MB
Microchip SST26VF064B
Microchip 24AA025E48
Microchip USB2534
Microchip LAN7850T-I/8JX
Microchip KSZ8563RNXI
Microchip LAN9252I/ML
–
Embedded J-Link-OB and J-LinkCDC (ATSAM3U4C TFBGA100)
This section covers the specifications of the SAMA5D2-ICP and provides a high-level description of the board’s major
components and interfaces. This document is not intended to provide a detailed documentation about the processor
or about any other component used on the board. For detailed device documentation, refer to Reference Documents.
3.1 Board Overview
The fully-featured SAMA5D2-ICP board integrates multiple peripherals and interface connectors as shown in the
figure below. J2, indicated in red below, offers current measurement connectivity. J19 and J20, indicated in blue, are
configuration items.
Figure 3-1. Board Overview
ATSAMA5D2-ICP
Board Components
3.1.1 Default Jumper Settings
The following table shows the default jumper settings.
3.2.1 Power Supply Topology and Power Distribution
3.2.1.1 Input Power Options
Two options are available to power up the SAMA5D2-ICP board:
1.an external AC to DC +5V wall adapter connected via a 2.1 mm center-positive plug into the board’s power
jack (J1). The recommended output voltage of the power adapter is 5V at 2A.
2.the USB J-Link-OB port (J16)
The +5V from the wall adapter is protected through an NCP349 positive overvoltage controller switch. The controller
is able to disconnect the system from its output pin when incorrect input operating conditions are detected (5.83V
max).
The USB-powered operation comes from the USB J-Link-OB port connected to a PC or a 5V DC supply. The USB
supply is sufficient to power the board in most applications. It is important to note that when the USB supply is used,
the USB port has limited power. If the USB host port is required for the application, it is recommended to use the
external DC supply.
The red D3 ON LED indicates the presence of a 5V power supply from the wall adapter or from USB.
The figure below shows the input power supply topology.
USB-powered operation eliminates additional wires and batteries. It is the preferred mode of operation for any project
that requires only a 5V source at up to 500 mA.
Figure 3-4. Power Supply Connector and USB J-Link-OB Port Location
3.2.1.2 Power Supply Requirements and Restrictions
Detailed information on the device power supplies is provided in tables “SAMA5D2 Power Supplies” and “Power
Supply Connections” in the SAMA5D2 Series data sheet.
Power-up and power-down considerations are described in section “Power Considerations” in the SAMA5D2 Series
data sheet.
3.2.1.4 Power Management
The board power management uses a Microchip PMIC, MCP16502. This is a complete, cost-effective and highlyefficient power management solution, optimized to provide a single-chip power solution and voltage sequencing for
Microchip’s MPU series.
The MCP16502AA features:
• Four DC-DC buck regulators. Each buck channel can support loads up to 1A. Each DC-DC regulator is
optimized for its target load, namely:
– Buck 1: 3.3V for I/Os and other analog loads
– Buck 2: 1.35V for DDR3L voltage
– Buck 3: 1.25V for core voltage
– Buck 4 is unused for this application, can be accessed by users via J3 connector.
• Two 300 mA LDOs, 2.5V for VDDFUSE and 3.3V for RGB LEDs
• Support of Hibernate, Low-Power and High-Performance modes
• Interrupt flag, control PIOs and I2C interface
The default power channel sequencing is built-in, according to the requirements of the MPU. A dedicated pin (LPM)
facilitates the transition to Low-Power modes. The MCP16502 features a low no-load operational quiescent current
and draws less than 10 µA in full shutdown. Active discharge resistors are provided on each output. All buck
channels support safe start-up into pre-biased outputs.
ATSAMA5D2-ICP
Board Components
3.2.1.4.1 Configuration
Buck 2 default voltage is selected by means of the hardwired SELV2 pin and cannot be changed on-the-fly during
operation (high-Z 1.35V DDR3L).
LDO1 default voltage is selected by means of the hardwired SELVL1 pin and cannot be changed on-the-fly during
operation (high-Z 2.5V VDDFUSE).
3.2.1.4.2 Interfacing Signals
The MCP16502 is interfaced to the host MPU by means of the following signals:
• nSTRTO (open-drain output)
• nRSTO (open-drain output)
• nINTO (open-drain output)
• PWRHLD (input)
• LPM (input) and HPM (input)
• SDA and SCL (I2C interface pins)
Note: The MCP16502 is a slave-only device without clock stretching capability. Therefore, the SCL pin is an input
only.
3.2.1.4.3 nSTRT, nSTRTO, PWRHLD Functionality
The nSTRT (push button input) serves as an external initialization input to the PMIC. nSTRT is internally pulled up to
SVIN and monitored. When the nSTRT is pulled/detected LOW (SW3 pressed), the MCP16502 initiates the turn-on
sequence.
The nSTRTO signal is asserted LOW whenever the nSTRT is detected to be LOW, and it is high-Z otherwise
(nSTRTO has an external pull-up resistor).
While nSTRT is LOW during the power-up sequence, the MCP16502 expects the assertion of the PWRHLD signal
(power-hold) from the MPU to continue the sequence.
PWRHLD may be already HIGH in a typical application using a backup supply. If PWRHLD has NOT been asserted
HIGH by the MPU before completion of the start-up sequence (i.e., when nRSTO is asserted high), the MCP16502
automatically initiates a turn-off sequence.
After the assertion of PWRHLD, nSTRT should be released before the long-press time-out timer expires.
During run time (PWRHLD=HIGH), the nSTRT (thus nSTRTO) can be asserted LOW again. No automatic action is
taken by the MCP16502 in this case unless the push button interrupt assertion time-out delay expires without any
action from the MPU.
3.2.1.4.4 nSTRT / PWRHLD Typical Use Cases
The MPU can assert the PWRHLD pin via the SHDN command (which is a VDDBU-powered I/O) to shut down all
regulators and enter Backup mode. All regulators are also shut down by the action of the SHDN signal. NRST is
asserted low.
Depending on the presence of a backup supply (supercap populated) and by action on the wakeup signal connected
at nSTRT (SW1 push button), the MCP16502 initiates a turn-on sequence.
3.2.1.4.5 PWRHLD, LPM, HPM and Power States Definitions
PWRHLD, LPM and HPM define different power states.
Other logic combinations of PWRHLD, LPM and HPM (after HPM unmasking) are forbidden.
The initial state is the OFF state (shutdown).
Table 3-3. PMIC Power States for Configurations of PWRHLD, LPM and HPM
PWRHLD LPM HPMBuck1Buck2Buck3Buck4LDO1 LDO2 nRSTOPower State
000OFFOFFOFFOFFOFFOFFLOWOFF
010OFF
ON
Auto PFM
OFFOFFOFFOFFLOWHIBERNATE
ATSAMA5D2-ICP
Board Components
110
100
101
ON
Auto PFMONAuto PFMONAuto PFM
ON
FPWMONFPWMONFPWMONFPWM
ON
FPWMONFPWMONFPWMONFPWM
3.2.1.4.6 I2C Interface Description
The figure below depicts MCP16502 power management.
The MCP16502 is a Fast mode Plus device, supporting data transfers at up to 1 Mbit/s as described in the I2C Bus
specification. The MCP16502 is a slave-only device without clock stretching capability. The MCP16502 assumes that
the I2C logic levels on the bus are generated by a device operating from a nominal supply voltage of 3.3V (with ±10%
tolerance). This is typically the I/O voltage generated by Buck1 (VDDIO). Therefore, VIH and VIL are not related to
the SVIN voltage value. The SDA and SCL lines should not be pulled up to the MCP16502 SVIN voltage, but to the
I2C master interface supply voltage (3.3V nominal). The MCP16502 I2C interface is always accessible, even in the
OFF state, as long as the SVIN pin is powered. In the OFF state, the VDDIO voltage from Buck1 is turned off and
therefore the I2C pullup rail must be provided externally.
For more information, refer to the PMIC MCP16502 data sheet.
The SAMA5D2-ICP board embeds one PAC1934. The PAC1934 is a four-channel DC power/energy monitor with
accumulator. A 16-bit ADC is used to measure voltages across a current sense resistor, connected by a differential
multiplexer to (+) and (-) inputs for each channel.
Four current sense resistors (10 mΩ) are populated on-board for measuring voltage on power rails:
• 3.3V VDDIOP group (SENSE1_P and SENSE1_N)
• 3.3V VDDOSC, VDDUTMII, VDDANA, VDDAUDIOPLL, VDDSDHC (SENSE2_P and SENSE2_N)
• 1.35V VDDIODDR (SENSE4_P and SENSE4_N)
• 1.25V VDDCORE (SENSE3_P and SENSE3_N)
The PAC1934 communicates with the MPU via a TWI bus.
The figure below shows the current measurement.
Figure 3-6. PAC1934 Current Measurement
Low-Power mode input pin. In combination with PWRHLD and HPM, this
pin defines the power mode status of the MCP16502.
High-Performance mode input pin. In combination with PWRHLD and
LPM, this pin defines the power mode status of the MCP16502.
Power hold input. Typically asserted high by the MPU to maintain power
after the initial startup triggered by nSTRT. PWRHLD will be asserted low
by the MPU to initiate a PMIC shutdown sequence.
Start event input. Drive nSTRT low to initiate a start-up sequence. nSTRT
is internally pulled up.
The Microchip SAMA5D2 Series is a high-performance, power-efficient embedded MPU based on the Arm® Cortex®A5 processor running up to 500 MHz, with support for multiple memories such as DDR2, DDR3, DDR3L, LPDDR1,
LPDDR2, LPDDR3, and QSPI Flash. The devices integrate powerful peripherals for connectivity and user interface
applications, and offer advanced security functions (Arm TrustZone®, tamper detection, secure data storage, etc.), as
well as high-performance cryptoprocessors AES, SHA and TRNG.
For more information about the SAMA5D27 MPU, refer to the SAMA5D2 Series data sheet.
3.2.2.1 Supply Group Configuration
The main regulators provide all power supplies required by the SAMA5D27 device:
The embedded MPU generates the necessary clocks based on two oscillators: one slow clock (SLCK) crystal running
at 32.768 kHz and one main clock oscillator running at 12 MHz. An optional 12 MHz crystal is available as an
alternative to the DSC1001DL5-012.0000 oscillator.
Note: PIOBU0 can be used to disable the 12 MHz main oscillator (Y3).
• External JTAG or J-Link-OB reset from an in-circuit emulator
User Guide
DS60001592A-page 16
Figure 3-9. Reset Circuitry
14
23
TACT SPST
SW4
14
23
TACT SPST
SW1
NRST
14
23
TACT SPST
SW2
DIS_BOOT
100R04021%
R252
14
23
TACT SPST
SW3
GND
100R04021%
R251
100R04021%
R250
NSTART
14
23
TACT SPST
SW5
PIOBU1
PD0
100R04021%
R254
0R0603
R255
1
2
3
4
5
6
7
8
9
10
FTSH-105-01-F-DV-K
J18
10k
R208
100R0402
R210
0R
0603
R209
DNP
100k
0402
R211
100k
0402
R212
100k
0402
R213
NRST
GNDGND
3V3
3V3
RTCKINCON_JTAG_TDI
CON_JTAG_TDO
CON_JTAG_TCK
CON_JTAG_TMS
NRST
14
23
TACT SPST
SW4
14
23
TACT SPST
SW1
NRST
14
23
TACT SPST
SW2
DIS_BOOT
100R
04021%
R252
14
23
TACT SPST
SW3
GND
100R
04021%
R251
100R
04021%
R250
NSTART
14
23
TACT SPST
SW5
PIOBU1
PD0
100R
04021%
R254
0R
0603
R255
A
3
B0
4
VCC
1
GND
5
B1
2
S
6
NLAS3157MX3TC
U28
NRST
GND
VDD_3V3_JLINK
150R
R215
1k
R216
TRESIN
TRESOUTPA26_3U
0.1uF
16V0402
C273
GND
PA3PA4
U27
PB18
10kR110k
R2
3V3
WAKE_UP
NRST
10k
R256
VDDBU
nRSTO
nSTRTO
nINTO
U2
RB160M-60TR
D1
1
2
3
BAT54C
D2
220mF
3.3V
P4.6D4.8H1.66
C5
3V3
VDDBU
0.1uF
16V
0402
C7
GND
100R
08055%
R3
GND
12
HDR-2.54 Male 1x2
J2
Shunt 2.54mm 1x2
JP2
ATSAMA5D2-ICP
Board Components
3.2.3.2 Power Backup Supply
The SAMA5D2-ICP board requires a power source in order to permanently power the backup part of the SAMA5D27
device (refer to the SAMA5D2 Series data sheet). A super capacitor sustains such permanent power to VDDBU
when all system power sources are off.
Figure 3-10. VDDBU Powering Option
3.2.4 Push Button Switches
The SAMA5D2-ICP features five push buttons:
• One reset push button (SW1). When pressed and released, it causes a general reset of the board
• One wake-up push button (SW3) connected to the nSTRT pin of the PMIC, used to signal to the PMIC to initiate
a power-on sequence and to make the processor exit Low-Power mode
• One disable boot push button (SW2) used to invalidate the boot memories (see the section CS Disable)
• Two user push buttons (SW4 and SW5) connected to PIO PD0 and PIOBU1
Figure 3-11. System Push Buttons
3.2.5 Memory
3.2.5.1 Memory Organization
The SAMA5D27 features a DDR/SDR memory interface and an External Bus Interface (EBI) to enable interfacing to
a wide range of external memories and to a wide range of parallel peripherals.
This section describes the memory devices mounted on the SAMA5D2-ICP board:
• Two DDR3L SDRAMs
• One QSPI Flash
• Three serial EEPROMs
Additional memory can be added to the board by:
• Installing an SD or MMC card in the SD/MMC slot
• Using the USB ports
Support is dependent upon driver support in the OS.
3.2.5.2 DDR3L SDRAM
Two DDR3L SDRAMs (W632GU6MB 2 Gbits = 16, 777,216 words x 8 banks x 16 bits) are used as main system
memory, totalling 4 Gbits of SDRAM on the board. The memory bus is 32 bits wide and operates with a frequency of
up to 166 MHz.