Atmel SAM4S Xplained Pro User Manual Download Page 16

 

Atmel SAM4S Xplained Pro [USER GUIDE]

Atmel-42075B-MCU-Atmel SAM4S Xplained Pro-USER GUIDE-03/2013

16

Table 4.10. External 12MHz crystals

Pin on SAM4S

Function

PB9

XIN0

PB8

XOUT0

4.2.4

Mechanical buttons

SAM4S Xplained Pro contains two mechanical buttons. One button is the RESET button connected to the

SAM4S reset line and the other is a generic user configurable button. When a button is pressed it will drive the

I/O line to GND.

Table 4.11. Mechanical buttons

Pin on SAM4S

Silkscreen text

NRST

RESET

PC24

SW0

4.2.5

LED

There is one yellow LED available on the SAM4S Xplained Pro board that can be turned on and off. The LED

can be activated by driving the connected I/O line to GND.

Table 4.12. LED connections

Pin on SAM4S

LED

PC23

Yellow LED0

4.2.6

Analog reference

An adjustable voltage reference is implemented on the kit to have a reference for the ADC or DAC. The

reference can be adjusted with the on-board multiturn trimmer potentiometer. Next to the potentiometer, a 2-pin

header is available to measure the reference voltage for the AREF pin of the SAM4S. The voltage output range

for the reference is 0V - 3.36V.

4.3

Embedded Debugger implementation

SAM4S Xplained Pro contains an Embedded Debugger (EDBG) that can be used to program and debug the

ATSAM4SD32C using Serial Wire Debug (SWD). The Embedded Debugger also include a Virtual Com port

interface over UART, an Atmel Data Gateway Interface over SPI and TWI and it monitors four of the SAM4S

GPIOs. Atmel Studio can be used as a front end for the Embedded Debugger.

4.3.1

Serial Wire Debug

The Serial Wire Debug (SWD) use two pins to communicate with the target. For further information on how to

use the programming and debugging capabilities of the EDBG, see 

“Embedded Debugger” on page 6

.

Table 4.13. SWD connections

Pin on SAM4S

Function

PB7

SWD clock

PB6

SWD data

PB5

SWD trace output

PB12

Erase

4.3.2

Virtual COM port

The Embedded Debugger act as a Virtual Com Port gateway by using one of the ATSAM4SD32C UARTs. For

further information on how to use the Virtual COM port see 

“Embedded Debugger” on page 6

.

Table 4.14. Virtual COM port connections

Pin on SAM4S

Function

PB3

UART TXD (SAM4S TX line)

Summary of Contents for SAM4S Xplained Pro

Page 1: ...elopment platform the kit provides easy access to the features of the Atmel ATSAM4SD32C and explains how to integrate the device in a custom design The Xplained Pro MCU series evaluation kits include...

Page 2: ...ension header 7 3 4 2 Xplained Pro LCD connector 8 3 4 3 Power header 10 4 Hardware user guide 11 4 1 Connectors 11 4 1 1 I O extension headers 11 4 1 2 LCD extension connector 12 4 1 3 Other headers...

Page 3: ...ical buttons user and reset button One user LED Three extension headers LCD display header USB interface for host and device function target 2Gb NAND Flash for non volatile storage SD card connector A...

Page 4: ...Atmel SAM4S Xplained Pro USER GUIDE Atmel 42075B MCU Atmel SAM4S Xplained Pro USER GUIDE 03 2013 4 Figure 1 1 SAM4S Xplained Pro evaluation kit overview...

Page 5: ...relevant documents and software for SAM4S Xplained Pro 1 Xplained Pro products 3 Atmel Xplained Pro is a series of small sized and easy to use evaluation kits for 8 and 32 bit Atmel microcontrollers I...

Page 6: ...ection Embedded Debugger implementation on page 16 for available interfaces and pinout Communication over the interfaces are bidirectional It can be used to send events and values from the ATSAM4SD32C...

Page 7: ...mbedded debugger USB 3 Target USB Note External power is required when the 500mA through the USB connector is not enough to power a connected USB device in a USB host application 3 3 1 Measuring SAM4S...

Page 8: ...of Universal Synchronous and Asynchronous serial Receiver and Transmitter 15 SPI_SS_A Slave select for SPI Should be unique if possible 16 SPI_MOSI Master out slave in line of Serial peripheral interf...

Page 9: ...ine 31 D23 Data line 32 GND Ground 33 PCLK CMD_DATA_SEL Pixel clock Command and data select One address line of the MCU for displays where it is possible to select either the register or the data inte...

Page 10: ...plied The power header can also be used as supply for external peripherals or extension boards Care must be taken not to exceed the total current limitation of the on board regulator for the 3 3V regu...

Page 11: ...n Header All headers have a pitch of 2 54 mm Table 4 1 Extension header EXT1 Pin on EXT1 SAM4S pin Function Shared functionality 1 Communication line to ID chip on extension board 2 GND 3 PA17 AD 0 4...

Page 12: ...M4S pin Function Shared functionality 1 Communication line to ID chip on extension board 2 GND 3 PC29 AD 13 4 PC30 AD 14 5 PC21 GPIO 6 PC22 GPIO DGI_GPIO1 on EDBG 7 PC20 PWMH2 8 PA16 PWML2 PIOD Header...

Page 13: ...nication line to ID chip on extension board 2 GND 3 PC0 D0 NAND Flash 4 PC1 D1 NAND Flash 5 PC2 D2 NAND Flash 6 PC3 D3 NAND Flash 7 GND 8 PC4 D4 NAND Flash 9 PC5 D5 NAND Flash 10 PC6 D6 NAND Flash 11...

Page 14: ...2 PA9 PWMF10 EXT2 3 PA26 TI0A2 SD Card and PIOD Interface header 4 PA27 TI0B2 SD Card and PIOD Interface header 5 PA28 TCLK1 SD Card and PIOD Interface header 6 PA29 TCLK2 SD Card and PIOD Interface h...

Page 15: ...Card connections SAM4S pin Function SD Card function Shared functionality PA26 MCDA2 DAT2 SPARE Signal and PIOD Interface headers PA27 MCDA3 DAT3 SPARE Signal and PIOD Interface headers PA28 MCCDA CMD...

Page 16: ...pin header is available to measure the reference voltage for the AREF pin of the SAM4S The voltage output range for the reference is 0V 3 36V 4 3 Embedded Debugger implementation SAM4S Xplained Pro c...

Page 17: ...ing SPI Pin on SAM4S Function PA5 Slave select SAM4S is Master PA12 SPI MISO Master In Slave Out PA13 SPI MOSI Master Out Slave in PA14 SPI SCK Clock Out Table 4 16 DGI interface connections when usin...

Page 18: ...urce EXT1 EXT2 EXT3 and EDBG and routed in a star like layout A series terminator resistor of 43ohm is placed on each clock net close to the SPI clock pin This reduces any issues that might be caused...

Page 19: ...ned Pro USER GUIDE Atmel 42075B MCU Atmel SAM4S Xplained Pro USER GUIDE 03 2013 19 6 Document revision history Doc Rev Date Comment B 15 03 2013 Added information about changes done on rev 5 A 11 02 2...

Page 20: ...users sole risk The user assumes all responsibility and liability for proper and safe handling of the goods Further the user indemnifies Atmel from all claims arising from the handling or use of the...

Page 21: ...SUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTIC...

Reviews: