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 SAMA5D2-PTC-EK follows the Microchip MPU strategy for low cost evaluation kits with maximum
reuse capability
This board is mainly dedicated to evaluating the Peripheral Touch Controller capabilities.
Table 2-1. SAMA5D2-PTC-EK Features
CharacteristicsSpecificationsComponents
, and is built on the SAMA5D2 Xplained Ultra (XUL
SAMA5D2-PTC-EK
Product Overview
T) hardware and software ecosystem.
ProcessorSAMA5D27-CU (289-ball BGA) 14x14mm
body, 0.8mm pitch
Clock speed
MemoryTwo 16-bit, 2-Gbit DDR2
DisplayOne LCD interface connectorRGB, 18 bits
SD/MMCOne standard SD card interface
USBOne USB host type A
EthernetOne ETH PHYMicrel KSZ8081RN
Debug PortOne JLINK-OB/ JLINK-CDC
MPU: 24 MHz, 32.768 KHz
PHY: Crystal 25 MHz
One 4-Gbit Nand Flash
One QSPI Flash
One Serial Data Flash (optional)
One EEPROM
One microSD card interface
One USB device type MicroAB
One USB HSIC
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 JLINK-OB and JLINKCDC (ATSAM3U4C TFBGA100)
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 a 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 T
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.
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.
Caution: 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-ef
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 VDDBU-powered I/O).
The figure below shows the power management scheme.
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 JLINK-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
. This output signal is supplied by VDDBU, which is present in Backup mode.
supply
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 low-power mode.
•One disable boot push button (BP2) used to devalidate the boot memories (refer to 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 JLink-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:
wo DDR2 SDRAMs
•T
•One NAND Flash
•One QSPI Flash
•One SPI Flash (optional)
•One serial EEPROM
SAMA5D2-PTC-EK
Board Components
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.
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.
Caution: The NAND Flash interface is shared with the SDMMC1 and QSPI interfaces.
DS50002709A-page
17
SPI0_CS0_PA17
GND_POWER
VDD_3V3
SPI0_MOSI_PA15
SPI0_MISO_PA16
SPI0_SPCK_PA14
C119
100nF
C0402
U16
SST26VF032B-104I/SM
soic8jg
HOLD
7
GND
4
VCC
8
CS
1
SCK
6
SI
5
SO
2
WP
3
SAMA5D2-PTC-EK
Table 3-4. NAND Flash Signal Descriptions
PIOMnemonicShared PIOSignal Description
PA22NAND_D0SDMMC1-QSPIData 0
PA23NAND_D1QSPIData 1
PA24NAND_D2QSPIData 2
PA25NAND_D3QSPIData 3
PA26NAND_D4QSPIData 4
PA27NAND_D5QSPIData 5
PA28NAND_D6SDMMC1Data 6
PA29NAND_D7–Data 7
PA30NANDWESDMMC1–
PA31NCS3–Chip Select
PB00NANDALE––
Board Components
PB01NANDCLE––
PB02NANDOE––
PC08NANRDY––
3.2.7.5 NAND Flash CS Disable
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)
One SPI port is used to interface with the on-board serial Flash.
The following figure illustrates the implementation of an SPI Flash memory.
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
.
3.2.8.4
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.
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.
Caution: The EEPROM device 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.