This user's guide describes how to use the SAMA5D2 PTC Evaluation Kit (SAMA5D2-PTC-EK).
The SAMA5D2-PTC-EK is used to evaluate the capabilities of the Peripheral Touch Controller (PTC) designed for the
SAMA5D2 series of embedded MPUs. Refer to the Configuration Summary table in the SAMA5D2 Series Datasheet
for the list of MPUs featuring PTC.
The Microchip Website.................................................................................................................................62
The SAMA5D2-PTC-EK follows the Microchip MPU strategy for low cost evaluation kits with maximum reuse
capability, and is built on the SAMA5D2 Xplained Ultra (XULT) hardware and software ecosystem. This board is
mainly dedicated to evaluating the Peripheral Touch Controller capabilities.
Table 2-1. SAMA5D2-PTC-EK Features
CharacteristicsSpecificationsComponents
SAMA5D2-PTC-EK
Product Overview
Processor
Clock speed
Memory
DisplayOne LCD interface connectorRGB, 18 bits
SD/MMC
USB
EthernetOne ETH PHYMicrel KSZ8081RN
Debug port
SAMA5D27-CU (289-ball BGA) 14x14mm body,
0.8mm pitch
MPU: 24 MHz, 32.768 KHz
PHY: Crystal 25 MHz
Two 16-bit, 2-Gbit DDR2
One 4-Gbit Nand Flash
One QSPI Flash
One Serial Data Flash (optional)
One EEPROM
One standard SD card interface
One microSD card interface
One USB host type A
One USB device type Micro-AB
One USB HSIC
One J-Link-OB/J-Link-CDC
One JTAG interface
–
–
Winbond W972GG6KB-25
Micron MT29F4G08
Microchip SST26VF064B
Microchip SST26VF032B
Microchip 24AA02E48
With 3.3V/1.8V power switch
–
With 5V power switch
–
Connector not mounted
Embedded J-Link-OB and J-Link-CDC
(ATSAM3U4C TFBGA100)
One RGB (Red, Green, Blue) LED
Board monitor
Expansion
Board supplyFrom USB A and USB J-Link-OB5VDC
Backup power supply SuperCapELNA DSK-3R3H204T614-H2L
This section covers the specifications of the SAMA5D2-PTC-EK and provides a high-level description of the board's
major components and interfaces. This document is not intended to provide detailed documentation about the
processor or about any other component used on the board. It is expected that the user will refer to the appropriate
documents of these devices to access detailed information.
3.1 Board Overview
The fully-featured SAMA5D2-PTC-EK board integrates multiple peripherals and interface connectors, as shown in the
figure below.
SAMA5D2-PTC-EK
Board Components
3.1.1 Default Jumper Settings
The figure below shows the default jumper settings. Jumpers in red are configuration items and current measurement
points. Jumpers in blue are not populated.
The SAMA5D2 Series is a high-performance, power-efficient embedded MPU based on the ARM® Cortex®-A5
processor.
Please refer to the SAMA5D2 Series datasheet for more information.
3.2.2 Power Supply Topology and Power Distribution
3.2.2.1 Input Power Options
Two options are available to power the SAMA5D2-PTC-EK board. The USB-powered operation is the default
configuration and comes from the USB device ports (J4-J9) connected to a PC or a 5VDC supply. Such USB power
source is sufficient to supply the board in most applications. It is important to note that when the USB-powered
operation is used, the USB port down the way has a limited powering capability. If the USB-B Host port (J3) is
required to provide full powering capabilities to the target application, it is recommended to use an external DC
supply instead of a USB power source.
The following figure is a schematic of the power options.
Note: 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.
Jumper JP1 is used to perform MAIN_5V current measurements on the SAMA5D2-PTC-EK board.
3.2.2.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 datasheet.
SAMA5D2-PTC-EK
Board Components
3.2.2.3 Power-up and Power-down Considerations
Power-up and power-down considerations are described in section “Power Considerations” of the SAMA5D2 Series
datasheet.
The power-up and power-down sequences provided in the SAMA5D2 Series datasheet must be respected
for reliable operation of the device.
3.2.2.4 Power Management
The board power management uses three types of regulators:
• One dual synchronous step-down DC-DC regulator (U2 MIC2230) generates the 3.3V/800mA and 1.8V/800mA
power lines and utilizes a high-efficiency, fixed-frequency (2.5 MHz), current-mode PWM control architecture
that requires a minimum number of external components.
• One ultra low-dropout linear regulator (U3 MIC47053) generates the 1.25V/500mA from the 1.8V source.
• One high-performance single 2.5V/150mA is used as a VDDFUSE generator (U5 MIC5366).
The main regulators are enabled through a Field Effect Transistor (FET) scheme. The processor can assert SHDN (a
VDDBU-powered I/O) to shut down the regulators to enter Backup mode. All regulators on the board are also shut
down by the action of the SHDN signal.
A 3.3V battery (supercap) is implemented to permanently maintain VDDBU voltage (note: jumper JP6 must be in
place). The board can be woken up by action on the PB4 button, which drives the WKUP signal (also a VDDBUpowered I/O).
The figure below shows the power management scheme.
The SAMA5D2-PTC-EK board embeds a 2.5V regulator for fuse box programming.
Figure 3-7. VDDFUSE Regulator
3.2.2.7 Backup Power Supply
The SAMA5D2-PTC-EK board requires a power source in order to permanently power the backup part of the
SAMA5D2 device (refer to SAMA5D2 Series datasheet). The super capacitor C17 sustains such permanent power to
VDDBU when all system power sources are off.
Figure 3-8. VDDBU Powering Options
SAMA5D2-PTC-EK
Board Components
3.2.3 Reset Circuitry
3.2.4 Shutdown Circuitry
The reset sources for the SAMA5D2-PTC-EK board are:
• Power-on Reset from the power management unit,
• Push button reset BP3,
• JTAG or J-Link-OB reset from an in-circuit emulator.
Figure 3-9. Main Reset Control
The SHDN signal, output of Shutdown Controller (SHDN), drives the shutdown request to the power supply. This
output signal is supplied by VDDBU, which is present in Backup mode.
The Shutdown Controller manages the main power supply and is connected to the ENABLE input pin of the DC/DC
converter providing the main power supplies of the system.
• One board reset push button (BP3). When pressed and released, it causes a power-on reset of the board.
• One wakeup push button (BP4) connected to the SAMA5D2 WKUP pin, used to exit the processor from LowPower mode.
• One disable boot push button (BP2) used to devalidate the boot memories (refer to 3.2.8.3 CS Disable).
Figure 3-11. System Push Buttons
SAMA5D2-PTC-EK
Board Components
• One user push button (BP1) connected to PIO PB10.
Figure 3-12. User Push Button
3.2.6 Clock Circuitry
The embedded microcontroller generates its necessary clocks based on two crystal oscillators: one slow clock
(SLCK) oscillator running at 32.768 KHz and one main clock oscillator running at 24 MHz.
The SAMA5D2-PTC-EK board includes four clock sources:
• The two clocks mentioned above are alternatives for the SAMA5D2 processor (24 MHz, 32.768 kHz)
• One crystal oscillator for the Ethernet RMII chip (25 MHz)
• One crystal oscillator for the J-Link-OB microcontroller (12 MHz)
The SAMA5D2 features a DDR/SDR memory interface and an External Bus Interface (EBI) to enable interfacing to a
wide range of external memories and to almost any kind of parallel peripheral.
This section describes the memory devices mounted on the SAMA5D2-PTC-EK board:
• Two DDR2 SDRAMs
• One NAND Flash
• One QSPI Flash
• One SPI Flash (optional)
• One serial EEPROM
Additional memory can be added to the board by:
• Installing an SD or MMC card in the SD/MMC0 or SD/MMC1 slot,
• Using the USB-B port.
Support is dependent upon driver support in the OS.
3.2.7.2 DDR2/SDRAMs
Two DDR2/SDRAMs (W972GG6KB-25-2 Gbits = 16 Mbits x 16 x 8 banks) 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 figure below illustrates the implementation for the DDR2 memories.
Figure 3-14. DDR2 SDRAMs
SAMA5D2-PTC-EK
Board Components
3.2.7.3 DDR_CAL Analog Input
One specific analog input, DDR_CAL, is used to calibrate all DDR I/Os.
The SAMA5D2-PTC-EK has native support for NAND Flash memory through its NAND Flash Controller. The board
implements one MT29F4G08ABA 4Gb x 16 NAND Flash connected to Chip Select three (NCS3) of the
microcontroller.
The figure below illustrates the NAND Flash memory implementation.
On-board jumper JP8 controls the selection (CS#) of the NAND Flash memory.
3.2.8 Additional Memories
3.2.8.1 Serial Flash
The SAMA5D2 includes two high-speed Serial Peripheral Interface (SPI) controllers. The SPI is a full duplex
synchronous bus supporting a single master and multiple slave devices. The SPI bus consists of the following items:
• a serial clock line (generated by the master)
• a data output line from the master
• a data input line to the master
• one or more active low Chip Select signals (output from the master)
The following figure illustrates the implementation of an SPI Flash memory.
Figure 3-17. Serial Flash
Note: The serial Flash is optional and not mounted on board.
3.2.8.2 QSPI Serial Flash
The SAMA5D2 provides two Quad Serial Peripheral Interfaces (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, 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 the implementation of a QSPI Flash memory.
Figure 3-18. QSPI Serial Flash
SAMA5D2-PTC-EK
Board Components
A jumper (JP13) is used to disable the QSPI Flash.
On-board push button PB2 controls the selection (CS#) of the bootable memory components (QSPI and serial Flash)
using a non-inverting 3-state buffer.
Figure 3-19. CS Disable
SAMA5D2-PTC-EK
Board Components
The rule of operation is:
• PB2 (DISABLE_BOOT) and PB3 (RESET) pressed = booting from QSPI or optional serial Flash is disabled.
Refer to the SAMA5D2 Series datasheet for more information on standard boot strategies and sequencing.
3.2.8.4 Serial EEPROM with Unique MAC Address
The SAMA5D2-PTC-EK board embeds one Microchip 24AA02E48 I²C serial EEPROM connected on the TWI1
interface.
The TWI interface is I2C-compatible and similarly 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 configurable baud rate generator permits the output data rate to be adapted to a wide range of core clock
frequencies. The TWI is used in Master mode.
The 24AA02E48 features 2048 bits of Serial Electrically-Erasable Programmable Read-Only Memory (EEPROM)
organized as 256 words of eight bits each and is accessed via an I2C-compatible (2-wire) serial interface. In addition,
the 24AA02E48 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. They are permanently write-protected in an extended memory block located outside the standard 2-Kbit
memory array.
The EEPROM device is used as a “software label” to store board information such as chip type,
The figure below illustrates the implementation for the EEPROM.
Figure 3-20. EEPROM 24AA02E48
3.2.9 Secure Digital Multimedia Card (SDMMC) Interface
The SD (Secure Digital) Card is a non-volatile memory card format used as a mass storage memory in mobile
devices.
SAMA5D2-PTC-EK
Board Components
3.2.9.1 Secure Digital Multimedia Card (SDMMC) Controller
The SAMA5D2-PTC-EK board has two Secure Digital Multimedia Card (SDMMC) interfaces that support 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 interface.
• The SDMMC1 interface is connected to a microSD card interface.
3.2.9.2 SDMMC0 Card Connector
A standard MMC/SD card connector, connected to SDMMC0, is mounted on the top side of the board. The SDMMC0
communication is based on a 12-pin interface (clock, command, data (8) and power lines (2)). A card detection switch
is included.
The figure below illustrates the implementation for the SDMMC0 interface.