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.
The SAMA5D27 provides one Quad Serial Peripheral Interface (QSPI).
A QSPI is a synchronous serial data link that provides communication with external devices in Master mode.
The QSPI can be used in SPI mode to interface with serial peripherals such as ADCs, DACs, LCD controllers, CAN
controllers and sensors, or in Serial Memory mode to interface with serial Flash memories.
The QSPI allows the system to execute code directly from a serial Flash memory (XIP, or eXecute In Place,
technology) without code shadowing to RAM. The serial Flash memory mapping is seen in the system as other
memories (ROM, SRAM, DRAM, embedded Flash memory, etc.).
With the support of the Quad SPI protocol, the QSPI allows the system to use high-performance serial Flash
memories which are small and inexpensive, instead of larger and more expensive parallel Flash memories.
The figure below illustrates a socket implementation for the QSPI Flash memory.
The on-board push button SW2 controls the selection (CS#) of the bootable memory components (QSPI) using a
non-inverting 3-state buffer.
The rule of operation is:
SW2 (DISABLE_BOOT) pressed = booting from QSPI is disabled when a reset occurs
Refer to the SAMA5D2 Series data sheet for more information on standard boot strategies and sequencing.
3.2.6.2 CryptoAuthentication
The ECC608A is a member of the Microchip CryptoAuthentication family of high-security cryptographic devices which
combine world-class hardware-based key storage with hardware cryptographic accelerators to implement various
authentication and encryption protocols.
The ECC608A includes an EEPROM array which can be used for storage of up to 16 keys, certificates,
miscellaneous read/write, read-only or secret data, consumption logging, and security configurations. Access to the
various sections of memory can be restricted in a variety of ways and then the configuration can be locked to prevent
changes.
Table 3-7. ECC608A PIO Signal Descriptions
PIOMnemonicSharedSignal Description
PD19TWD1EEPROM TWITWI Data
™
PD20TWCK1EEPROM TWITWI Clock
ATECC608A-SSHDA is placed on the same TWI bus as the EEPROM memories and the three mikroBUS
connectors.
The SAMA5D2-ICP board embeds three Microchip 24AA025E48 I2C serial EEPROMs using the TWI1 interface.
The TWI interface is I2C compatible; it uses only two lines, namely serial data (SDA) and serial clock (SCL).
According to the standard, the TWI clock rate is limited to 400 kHz in Fast mode and 100 kHz in Normal mode, but a
configurable baud rate generator permits the output data rate to be adapted to a wide range of core clock
frequencies. The TWI supports both Master and Slave modes.
The 24AA025E48 provides 2048 bits of serial Electrically-Erasable Programmable Read-Only Memory (EEPROM)
organized as two blocks of 128 x 8-bit memory. In addition, the 24AA025E48 incorporates an easy and inexpensive
method to obtain a globally unique MAC or EUI address (EUI-48™).
The EUI-48 addresses can be assigned as the actual physical address of a system hardware device or node, or it
can be assigned to a software instance. These addresses are factory-programmed by Microchip and guaranteed
unique.
One EEPROM device at the address 50h is used as a “software label” to store board information such as
chip type, manufacturer name and production date, using the last two 16-byte blocks in memory. The
information contained in these blocks should not be modified.
Table 3-8. EEPROM TWI Address
Address + Offset + R/W BitComponent
Base (1010) + Offset (001) + R/WEEPROM1(U9)
Base (1010) + Offset (011) + R/WEEPROM2 (U10)
Base (1010) + Offset (000) + R/WEEPROM3 (U11)
Table 3-9. EEPROM PIO Signal Descriptions
PIOMnemonicSharedSignal Description
PD19TWD1EEPROM TWITWI Data
PD20TWCK1EEPROM TWITWI Clock
The figure below illustrates the implementation of the three EEPROM memories.
Figure 3-17. EEPROM 24AA025E48
3.2.7 Secure Digital Multimedia Card (SDMMC) Interface
The SD (Secure Digital) Card is a non-volatile memory card format used as mass storage memory in mobile devices.
3.2.7.1 Secure Digital Multimedia (SDMMC) Controller
The SAMA5D2-ICP board has one Secure Digital Multimedia Card (SDMMC) interface that supports the MultiMedia
Card (e.MMC) Specification V4.41, the SD Memory Card Specification V3.0, and the SDIO V3.0 specification. It is
compliant with the SD Host Controller Standard V3.0 specification.
The SDMMC0 interface is connected to a standard SD card connector.
3.2.7.2 SD Card Socket
A standard MMC/SD card connector, connected to SDMMC0, is mounted on the bottom side of the board. The
SDMMC0 communication is based on an 8-pin interface (clock, command, four data and power lines). It includes a
card detection switch.
The figure below illustrates the implementation for the SDMMC0 interface.
The clock sources of choice for the communication peripherals are MEMS oscillators.
The DSC1001 is a silicon MEMS-based CMOS oscillator offering excellent jitter and stability performance over a wide
range of supply voltages and temperatures.
The DSC6000 family of MEMS oscillators combines industry-leading low power consumption with ultra-small
packages.
Each communication interface uses its own source oscillator:
• One DSC1001DI5-025.0000 (25 MHz) oscillator used for the Ethernet dual switch
• One DSC1001DI5-025.0000 (25 MHz) oscillator used for the Ethernet HSIC interface
• One DSC1001DI5-025.0000 (25 MHz) oscillator used for the EtherCAT interface
• One DSC1001CI5-024.0000 (24 MHz) oscillator used for the USB hub chip
• One DSC6011JI1A-012.0000 oscillator used for the J-Link-OB (12 MHz)
• One DSC1001DL5-012.0000 oscillator used for the SAMA5D27 main clock (12 MHz)
3.2.8.2 10/100 Ethernet Switch
The KSZ8563 is a highly-integrated, IEEE 802.3 compliant networking device that incorporates a layer-2+ managed
Ethernet switch, two 10Base-T/100Base-TX physical layer transceivers (PHYs) and associated MAC units, and one
MAC port with a configurable RGMII/MII/RMII interface for direct connection to a host processor/ controller, another
Ethernet switch, or an Ethernet PHY transceiver. KSZ8563 also implements IEEE 1588v2 Precision Timing Protocol
one-step operation.
Additionally, for monitoring and control purposes, an LED functionality is carried on the RJ45 connectors to indicate
activity, link, and speed status information.
For more information about the Ethernet controller device, refer to the KSZ8563 controller manufacturer's data sheet.
ATSAMA5D2-ICP
Board Components
3.2.8.2.1 External Chip Reset
When the Reset push button switch is pressed, the device places all pins into their default state. An additional PIO
resets the KSZ8563.
The figure below illustrates the implementation of the Ethernet switch interface.
The Microchip LAN7850 is a USB 2.0 Gigabit Ethernet Controller with HSIC interface. The LAN7850 supports
10Base/100Base-TC/1000Base-T Ethernet (full duplex support), is configured for operation through internal default
settings and supports custom configuration through the external 4-Kbit EEPROM device or interval one-time
programmable (OTP) memory.
The LAN7850 contains an integrated 10/100/1000 Ethernet MAC and PHY, Filtering Engine, USB PHY (with HSIC
interface), high-speed USB 2.0 device controller, TAP controller, EEPROM controller, and a FIFO controller with
internal packet buffering.
The Ethernet controller supports auto-negotiation, auto-polarity correction and HP Auto-MDIX, and is compliant with
the IEEE 802.3, IEEE 802.3u, IEEE 802.3ab, and 802.3az (Energy Efficient Ethernet) standards. ARP and NS offload
are also supported.
An internal EEPROM controller exists to load various USB and Ethernet configuration parameters. For EEPROM-less
applications, the LAN7850 provides 1 Kbyte of OTP memory that can be used to preload this same configuration data
before enumeration.
3.2.8.3.1 External EEPROM / Internal OTP
At power-up, the LAN7850 searches for an external EEPROM. If an external EEPROM (93AA66A) is detected, the
LAN7850 configuration is loaded from it. If no EEPROM is found, the device checks the OTP. If there is no OTP, the
device uses default CSR settings. The EEPROM stores the default values for the USB descriptors and the MAC
address.
3.2.8.3.2 Enable Link Status LEDs
When configured with the default internal register settings, the Ethernet link status LEDs are not enabled. To enable
those LEDs, enable the EEPROM.
Each LED is detailed below:
• Link1000: yellow LED (RJ45 J10) is ON with a valid 1000 Mbps link.
• Link100: green LED (RJ45 J10) is ON with a valid 100 Mbps link.
• Link/Act: RGB LED (LD5) is ON and green with network activity.
• Duplex/Collision: RGB LED (LD5) is ON and red in Full Duplex mode. LED is OFF in Half-Duplex mode. LED
blinks red during collision.
• Suspend: RGB LED (LD5) is ON and blue in Suspend mode.
ATSAMA5D2-ICP
Board Components
3.2.8.3.3 External Chip Reset
When the Reset push button switch is pressed, the device places all pins into their default state and the entire
contents of the EEPROM or OTP are reloaded. An additional PIO (PC2) allows the LAN7850 to be reset by software.
The figure below illustrates the implementation of the Ethernet HSIC interface.
The LAN9252 is a 2-port EtherCAT Slave Controller (ESC) with dual integrated Ethernet PHYs. Each PHY contains a
full-duplex transceiver and supports 100 Mbps (100Base-TX) operation.
PORT0 of LAN9252 is connected to the host processor through the PIOs in HBI Indexed mode. The HBI supports
8/16-bit operation with Big, Little, and Mixed Endian operations. Two process data RAM FIFOs interface the HBI to
the EtherCAT slave controller and facilitate the transferring of process data information between the host CPU and
the EtherCAT slave. A configurable host interrupt pin allows the device to inform the host CPU of any internal
interrupts.
Several PIOs are shared with the Wi-Fi/BT WILC3000 interface. When the WILC3000 interface is enabled, the
LAN9252 (NCS1 PC6) is disabled via the WILC3K_CE PC15 signal.
The LAN9252 is connected to two RJ45 Ethernet jacks with integrated magnetics for 100Base-TX connectivity.
Additionally, for monitoring and control purposes, LED functionality is carried on the RJ45 connectors to indicate
activity and link status information.
For more information about the Ethernet controller device, refer to the Microchip LAN9252 controller data sheet.
3.2.8.4.1 External Chip Reset
When the Reset push button switch is pressed, the device places all pins into their default state. An additional PIO
(PB16) allows the LAN9252 to be reset by software.
The figure below illustrates the implementation of the EtherCAT interface.
The USB (Universal Serial Bus) is a hot-pluggable general-purpose high-speed I/O standard for computer
peripherals. The standard defines connector types, cabling, and communication protocols for interconnecting a wide
variety of electronic devices. The USB 2.0 Specification defines data transfer rates as high as 480 Mbps (also known
as High-speed USB). A USB host bus connector uses four pins: a power supply pin (5V), a differential pair (D+ and
D- pins) and a ground pin.
The SAMA5D2-ICP board features three USB communication ports, designated USB-A to USB-C:
• USB-A interface connected to a standard Micro-AB connector with a VBUS detection function
• USB-B (host port B high- and full-speed interface) connected to a USB2534 hub, with four ports connected to
two stacked USB type A connectors
• USB-C high-speed host port with an HSIC interface, connected to Ethernet Gigabit interface LAN7850
USB IO lines are not controlled by any PIO controller. The embedded USB high-speed physical transceivers are
controlled by the USB host controller.
3.2.8.6 USB-A Interface
The USB Host Port controller is fully compliant with the Enhanced HCI specification. It handles the Open HCI (Open
Host Controller Interface) protocol as well as the Enhanced HCI (Enhanced Host Controller Interface) protocol. The
USB Host Port User interface can be found in the Enhanced HCI Rev 1.0 Specification.
The USB2534 is a low-power, full-featured, OEM configurable, high-speed USB 2.0 compliant hub with four
downstream ports
All downstream USB 2.0 ports include a high current port power controller with LED indicator. Downstream port
power is distributed by four independent power switches MIC2026 at up to 500 mA per port.
Note: Make sure the connected devices' current requirement does not exceed the total current available from 5V
DC (500 mA per port).
3.2.8.7.1 External Chip Reset
When the Reset push button switch is pressed, the device places all pins into their default state. An additional PIO
(PC17) resets the USB2534.
The figure below shows the USB hub implementation.
Figure 3-29. USB Hub Interface
ATSAMA5D2-ICP
Board Components
The picture below shows the location of the two double stacked connectors, J7 and J8.
LD1 to LD4 indicate when 5V DC port power is available to the associated downstream USB port(s).
3.2.8.7.3 Connectors
The USB2534 interface provides four connectors of type A for downstream ports. For more details on the pinout of
these connectors, refer to the USB2534 schematics.
The SAMA5D2-ICP is ready to host either a ATWILC3000-MR110CA or a ATWILC3000-MR110UA WiFi/BT module.
These modules are designed to achieve reliable and power-efficient physical layer communication as specified by
IEEE 802.11 b/g/n in Single Stream mode with 20 MHz bandwidth.
The main difference between these modules is that ATWILC3000-MR110CA features a chip antenna, while
ATWILC3000-MR110UA hosts a u.FL connector which can connect to any WiFi/BT external antenna that has a u.FL
mating connector.
Advanced algorithms have been employed to achieve maximum throughput in a real-world communication
environment with impairments and interference. The PHY implements all the required functions such as FFT, filtering,
FEC (Viterbi decoder), frequency and timing acquisition and tracking, channel estimation and equalization, carrier
sensing and clear channel assessment, as well as automatic gain control.
These modules are available in a fully certified, 22.428 x 17.732 mm, 36-pin module package. For more details on
the module, refer to the product web page.
The figure below illustrates the implementation of the WILC3000 Wi-Fi/BT module. Note that it is not populated, thus
the customer may choose the most suitable option. Application note AN_3227, How to Manually Solder theATWILC3000 Module on an MPU Board, offers guidance on how to add the ATWILC3000 module to the board.
The dual Controller Area Network (CAN) interface is equipped with two MCP2542 transceivers. The MCP2542 is a
high-speed CAN transceiver that provides the interface between the CAN protocol controller and the physical twowire bus. Input/output signals from the transceiver are connected to a screw connector (J6).
3.2.8.9.1 Normal Mode
A low level on the STBY pin (PB25) together with a high level on pin TXD selects the Normal mode. In this mode, the
transceiver is able to transmit and receive data via the bus lines.
3.2.8.9.2 Standby Mode
A high level on the STBY pin (PB25) selects Standby mode. In this mode, the transceiver is not able to transmit or
receive data via the bus lines. The transmitter and the high-speed comparator are switched off to reduce the power
current consumption.
For more details on the module, refer to the product web page.
The figure below illustrates the implementation of the dual CAN interface.
The board features signaling LEDs for the USB Hub, the Ethernet HSIC, the on-board J-Link, the EtherCAT interface
and the WILC3000 module. It also provides an RGB LED that is connected directly to the GPIOs of the MPU.
The connection of the LEDs to the MPU and the function of each GPIO is depicted in the table below.
Table 3-21. RGB LED PIOs
SignalPIOFunction
LED_REDPB0PWMH1
LED_GREENPB1PWML1
LED_BLUEPA31PWML0
3.4 Debugging Capability
The SAMA5D2-ICP includes two main debugging interfaces to provide debug level access to the SAMA5D27:
• One UART through the USB J-Link-CDC
• Two JTAG interfaces, one connected directly to the MPU using connector J18 and one through the J-Link-OB
interface USB port J16
3.4.1 Debug JTAG
A 10-pin JTAG header (J18) is provided on the SAMA5D2-ICP board to facilitate software development and debug by
using various JTAG emulators. The interface signals have a voltage level of 3.3V.
Some targets with a system clock that is too slow must
synchronize the JTAG inputs to internal clocks. In the
present case, such synchronization is unneeded and
TCK merely looped back into RTCK.
8
TDI (Test Data Input) - Serial data output line,
sampled on the rising edge of the TCK signal
9GNDCommon ground
10nSRST RESETActive-low reset signal. Target CPU reset signal.
3.4.1.1 Debug COM Port Interface
The debug interface is enabled by default and can be disabled by placing a jumper on connector J19. The UART
signals can be accessed via the mikroBUS1 connector or via the integrated USB-UART bridge provided by J-LinkOB.
Figure 3-40. Debug COM Port Interface
JTAG data input into target CPU
The table below describes the COM port debug interface signals.
Table 3-23. Debug COM Port PIOs Signal Descriptions
The figure below illustrates the implementation of the J-Link-OB and J-Link-CDC interface.
Figure 3-41. J-Link-OB Interface
ATSAMA5D2-ICP
Board Components
3.4.2.1 Disabling J-Link-OB
The SAMA5D2-ICP includes a built-in SEGGER J-Link-On-Board device. The functionality is implemented with an
ATSAM3U4C microcontroller in an TFBGA100 package. The ATSAM3U4C provides the functions of JTAG and a
bridge USB/Serial debug port (CDC). One two-colored LED (LD6) mounted on the main board shows the status of
the J-Link-On-Board device.
The J-Link-OB-ATSAM3U4C was designed in order to provide an efficient, on-board alternative to the standard JLink.
The USB J-Link-OB port is used as a secondary power source and as a communication link for the board, and
derives power from the PC over the USB cable. This port is limited in most cases to 500 mA. A single PC USB port is
sufficient to power the board.
Jumper JP19 disables the J-Link-OB-ATSAM3U4C JTAG functionality. When the jumper is installed, it grounds pin
PA26 of the SAM3U4C that is normally pulled high. A quad analog switch (U31) is used to select the JTAG interface.
• Jumper JP19 not installed: J-Link-OB-ATSAM3U4C is enabled and fully functional.
• Jumper JP19 installed: J-Link-OB-ATSAM3U4C is disabled and an external JTAG controller can be used
through the 10-pin JTAG port J18
Jumper JP19 disables only the J-Link functionality. The debug serial com port that is emulated through a
Communication Device Class (CDC) of the same USB connector remains operational (if JP20 is open).
Table 3-24. J-Link-OB and CDC LED LD6 Status
LED LD6StateUSB Cable Connected
REDOffJ-Link not programmed or JP19 and JP20 installed
GREENOffJ-Link not programmed or JP19 and JP20 installed
GREENFlashingUSB port not connected
GREENOnJ-Link-OB connected and available
3.4.2.2 Hardware UART via CDC
In addition to the J-Link-OB functionality, the SAM3U4C microcontroller provides a bridge to a debug serial port
(DBGU) of the processor on a main board. The port is made accessible over the same USB connection used by
JTAG by implementing Communication Device Class (CDC), which allows terminal communication with the target
device.
This feature is enabled only if the microcontroller pin 25 is not grounded. The pin is normally pulled high and
controlled by jumper JP20.
• Jumper JP20 not installed: J-Link-CDC is enabled and fully functional.
• Jumper JP20 installed: J-Link-CDC is disabled.
The USB Communications Device Class (CDC) enables conversion of the USB device into a serial communication
device. The target device running USB-Device CDC is recognized by the host as a serial interface (USB2COM,
virtual COM port), without the need to install a special host driver (since the CDC is standard). Any PC software using
a COM port works without modifications with this virtual COM port. Under Windows®, the device shows up as a COM
port; under Linux®, as a /dev/ACMx device. This enables the user to use host software which was not designed to be
used with USB, such as a terminal program, giving access to UART0 on the SAMA5D27.
The PIOBU connector is not populated and its position on the board is depicted below.
Figure 3-44. PIOBU Connector J24 Location
Board Components
3.5.2 mikroBUS Interface
The SAMA5D2-ICP hosts three pairs of 8-pin female headers (J21, J22, J23) for the mikroBUS interfaces. The
mikroBUS defines mainboard sockets and add-on boards used for interfacing microprocessors with integrated
modules with proprietary pin configuration and silkscreen markings. The pinout consists of three groups of
communication pins (SPI, UART and TWI), four additional pins (PWM, interrupt, analog input and reset) and two
power groups (+3.3V and GND on the left, and 5V and GND on the right 1x8 header).
The figures below illustrates the implementation of the mikroBUS interfaces.
Microchip provides online support via our website at http://www.microchip.com/. This website is used to make files
and information easily available to customers. Some of the content available includes:
• Product Support – Data sheets and errata, application notes and sample programs, design resources, user’s
guides and hardware support documents, latest software releases and archived software
• General Technical Support – Frequently Asked Questions (FAQs), technical support requests, online
discussion groups, Microchip design partner program member listing
• Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of
seminars and events, listings of Microchip sales offices, distributors and factory representatives
Product Change Notification Service
Microchip’s product change notification service helps keep customers current on Microchip products. Subscribers will
receive email notification whenever there are changes, updates, revisions or errata related to a specified product
family or development tool of interest.
To register, go to http://www.microchip.com/pcn and follow the registration instructions.
Customer Support
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Embedded Solutions Engineer (ESE)
• Technical Support
Customers should contact their distributor, representative or ESE for support. Local sales offices are also available to
help customers. A listing of sales offices and locations is included in this document.
Technical support is available through the website at: http://www.microchip.com/support
To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office.
Microchip Devices Code Protection Feature
Note the following details of the code protection feature on Microchip devices:
• Microchip products meet the specification contained in their particular Microchip Data Sheet.
• Microchip believes that its family of products is one of the most secure families of its kind on the market today,
when used in the intended manner and under normal conditions.
• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these
methods, to our knowledge, require using the Microchip products in a manner outside the operating
specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of
intellectual property.
• Microchip is willing to work with the customer who is concerned about the integrity of their code.
• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code
protection does not mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection
features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital
Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you
may have a right to sue for relief under that Act.
Legal Notice
Information contained in this publication regarding device applications and the like is provided only for your
convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with
your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER
EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend,
indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such
use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights unless
otherwise stated.
Trademarks
The Microchip name and logo, the Microchip logo, Adaptec, AnyRate, AVR, AVR logo, AVR Freaks, BesTime,
BitCloud, chipKIT, chipKIT logo, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, HELDO, IGLOO, JukeBlox,
KeeLoq, Kleer, LANCheck, LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi, Microsemi logo, MOST,
MOST logo, MPLAB, OptoLyzer, PackeTime, PIC, picoPower, PICSTART, PIC32 logo, PolarFire, Prochip Designer,
QTouch, SAM-BA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon,
TempTrackr, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip Technology
Incorporated in the U.S.A. and other countries.
APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, FlashTec, Hyper Speed Control,
HyperLight Load, IntelliMOS, Libero, motorBench, mTouch, Powermite 3, Precision Edge, ProASIC, ProASIC Plus,
ProASIC Plus logo, Quiet-Wire, SmartFusion, SyncWorld, Temux, TimeCesium, TimeHub, TimePictra, TimeProvider,
Vite, WinPath, and ZL are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BlueSky, BodyCom,
CodeGuard, CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM,
dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP,
INICnet, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, memBrain, Mindi, MiWi, MPASM, MPF,
MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM,
PICDEM.net, PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad
I/O, SMART-I.S., SQI, SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense,
ViewSpan, WiperLock, Wireless DNA, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A.
and other countries.
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.
The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom are registered trademarks of
Microchip Technology Inc. in other countries.
GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip
Technology Inc., in other countries.
All other trademarks mentioned herein are property of their respective companies.