11080C–ATARM–30-Mar-11
SAM3N-EK Development Board
....................................................................................................................
User Guide
Page 1: ...11080C ATARM 30 Mar 11 SAM3N EK Development Board User Guide...
Page 2: ...Sample Code and Technical Support 3 1 Section 4 Evaluation Kit Hardware 4 1 4 1 Board Overview 4 1 4 2 Features List 4 2 4 3 Function Blocks 4 2 4 3 1 Processor 4 2 4 3 2 Memory 4 2 4 3 3 Clock Circu...
Page 3: ...rd 5 5 5 5 2 TOUCH DATA Connectors 5 7 5 5 3 Target Voltage VTG 5 8 5 5 4 VTG LED 5 8 5 5 5 TOUCH DATA LED 5 8 5 5 6 STATUS LED 5 9 5 5 7 Touch ATx Firmware 5 9 5 6 Touch Debug 5 9 5 7 Using QT600 and...
Page 4: ...r Guide This guide focuses on the SAM3N EK board as an evaluation platform It is made up of 6 sections Section 1 includes references applicable documents acronyms and abbreviations Section 2 summarize...
Page 5: ...ion Kit contains the following items a SAM3N EK board a universal input AC DC power supply with US Europe and UK plug adapters one serial RS232 cable a welcome letter Figure 2 1 Unpacked SAM3N EK Unpa...
Page 6: ...30 Mar 11 2 2 Electrostatic Warning The SAM3N EK board must not be subjected to high electrostatic potentials A grounding strap or similar protective device should be worn when handling the board Avoi...
Page 7: ...PC just open it through the explorer and click the file welcome html to get started The SAM3N EK DevStart guides you through the installation processes of IAR EWARM Keil MDK and GNU toolkits Then it g...
Page 8: ...troduces system level concepts such as power distribution memory and interface assignments The SAM3N EK board is based on the integration of an ARM Cortex M3 processor with on board Flash and a set of...
Page 9: ...IOA PIOC and 1x15 bit PIO connection interface PIOB 4 3 Function Blocks 4 3 1 Processor The SAM3N EK is equipped with a SAM3N4C device in LQFP100 package 4 3 2 Memory The SAM3N4 chip embeds 256 Kbytes...
Page 10: ...0 31 PB 0 14 NRST R1 DNP R1 DNP C22 4 7uF C22 4 7uF C13 100nF C13 100nF R9 DNP R9 DNP C7 100nF C7 100nF C3 7pF C3 7pF R2 0R R2 0R C21 4 7uF C21 4 7uF C10 100nF C10 100nF C4 7pF C4 7pF C20 100nF C20 10...
Page 11: ...part 32 kHz crystal oscillator and oscillator pads This voltage ranges from 1 62V to 3 6V VDDOUT pin Output of the internal voltage regulator VDDCORE pin Powers the core including the processor the e...
Page 12: ...ermits to use it for other custom purposes In that case the pull up resistor R64 maintains the charge pump permanently enabled by default On the anode drive line a 0 Ohm resistor R21 is implemented in...
Page 13: ...range of options for generating simple and complex tones Figure 4 9 PWM Buzzer 4 3 11 SD MMC Card The SAM3N has a high speed 4 bit multimedia MMC interface which is connected to a 4 bit SD MMC micro...
Page 14: ...e control 4 3 13 User Buttons There are two mechanical user buttons on the SAM3N EK which are connected to PIO lines and defined to be left and right buttons by default In addition a mechanical button...
Page 15: ...ere in the design thereby enabling their individual disconnection should a conflict occur in your application Figure 4 14 ZigBee 4 3 16 PIO Expansion The SAM3N product features three PIO controllers P...
Page 16: ...C28 PB2 PB1 PB4 PB5 PB6 PB3 PB0 PB7 3V3 3V3 3V3 3V3 DGND DGND DGND DGND 3V3 5V 5V 3V3 PA 0 31 PB 0 14 PC 0 31 JP9 JP9 1 2 3 JP8 JP8 1 2 3 J6 J6 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22...
Page 17: ...XD1 PCK1 AD8 PA22 TXD1 NPCS3 AD9 SPI_NPCS3 DataFlash PA23 SCK1 PWM0 USR_LED1 Led Blue PA24 RTS1 PWM1 PA25 CTS1 PWM2 USR_LED3 Led Amber PA26 TIOA2 PA27 TIOB2 PA28 TCLK1 RS_LCD LCD PA29 TCLK2 RST_LCD LC...
Page 18: ...PIO Port C Assignment I O Line Peripheral A Peripheral B Peripheral C Extra Function EK Usage Device PC0 QT_SL_SNS QTOUCH_SLIDER PC1 QT_SL_SNSK QTOUCH_SLIDER PC2 QT_SM_SNS QTOUCH_SLIDER PC3 QT_SM_SNSK...
Page 19: ...ature JP1 JTAGSEL OPEN Close it to reinitialize the Flash content and some of its NVM bits This jumper must be closed for more than 220 ms at power up to perform the reinitialization JP2 ADVREF CLOSE...
Page 20: ...low disconnecting each of these for custom usage through PIO expansion connec tors for example This feature gives the user an added level of versatility for prototyping a system of his own See the tab...
Page 21: ...you to develop and debug any application using the Atmel QTouch Library QT600 has been designed to give developers a quick and easy way to start developing touch solutions on Atmel ATx Microcontrolle...
Page 22: ...k Diagram The QT600 Interface board is used to stream live touch data from the SAM3N EK board QTouch Studio is used as the PC front end for visualization of the touch data 5 3 Features Live streaming...
Page 23: ...l com Download and install the Atmel_QTouch_Libraries_4 3_SAM3N_Patch exe and follow the installation steps as detailed below 1 Start the installation process Figure 5 3 Installation Step 1 2 Accept t...
Page 24: ...ries_4 3 Generic_QTouch_Libraries AT91SAM SAM3 QTouch example_projects sam3n4_iar_qt_example The Touch Data LED on the QT600 indicates the mode Touch Data LED green Touch Debug Mode default mode after...
Page 25: ...00 Interface Board is the communication interface between the touch system presently SAM3N EK and the AVR QTouch Studio It receives touch signal data from the MCU running the QTouch Library and forwar...
Page 26: ...QT600 5 6 SAM3N EK Development Board User Guide 11080C ATARM 30 Mar 11 Figure 5 7 QT600 Interface Board Block Diagram...
Page 27: ...onnected between these two connectors Figure 5 9 TOUCH DATA Connector Table 5 1 TOUCH DATA Connector Pinout Pin Interface Name Direction QT600 interface board Direction SAM3N EK Remarks 1 TWI SDA Bi d...
Page 28: ...hen a voltage of 0 9V or higher is available on the VTG net 5 5 5 TOUCH DATA LED The status of the LED indicates the operating mode of the QT600 5 5 5 1 Touch Streaming Mode When the QT600 is in Touch...
Page 29: ...rieved from the QTouch Library installation steps are detailed in Section 5 4 Example projects for both GCC and IAR compilers are available 1 Connect a 10 wire cable between the Touch Data Connector o...
Page 30: ...a USB cable unplug the QT600 2 Press and hold the button on QT600 when connecting the USB cable the status LED flashes red and orange indicating the upgrade mode 3 In AVR Studio go to the Tools menu a...
Page 31: ...80C ATARM 30 Mar 11 Section 6 Schematics 6 1 Schematics This section contains the following schematics Block Diagram Reference Guide Microcontroller Power DataFlash Micro SD LCD BL Driver JTAG RS232 I...
Page 32: ...1 5 B XX XXX XX NL XXX Block Diagram 05 MAR 10 05 MAY 10 NL B REV DATE MODIF DES DATE VER SCALE 1 1 REV SHEET This agreement is our property Reproduction and publication without our written authoriza...
Page 33: ...P3 TP4 TP5 TP6 5V 3V3 GND UTXD0 4 TP7 URXD0 JP1 JP2 JP3 JP4 JP5 JP6 JP7 JP8 JP9 3 5 DNP Close to select JTAG boundary scan Analog reference voltage selection between 3 3V and 3V default 3 3V 1 2 ERASE...
Page 34: ...1 2 3 C19 100nF C19 100nF JP3 JP3 JP2 JP2 C12 100nF C12 100nF Y3 32 768KHz Y3 32 768KHz 1 2 3 4 TP2 TP2 C18 100nF C18 100nF R7 DNP R7 DNP C28 22uF C28 22uF MN4 LP38692MP 3 3 MN4 LP38692MP 3 3 VIN 4 VO...
Page 35: ...R16 47K R20 19 1k 1 R20 19 1k 1 R26 100K R26 100K C39 100nF C39 100nF R24 100K R24 100K C40 100nF C40 100nF TP6 SMD TP6 SMD C34 1uF C34 1uF C32 1uF C32 1uF R22 100K R22 100K MN5 AAT3193IJQ 1 T1 MN5 A...
Page 36: ...X NL XXX Peripheral_2 05 MAR 10 05 MAY 10 NL B REV DATE MODIF DES DATE VER SCALE 1 1 REV SHEET This agreement is our property Reproduction and publication without our written authorization shall expos...
Page 37: ...ion of the board Refer to the SAM3N EK page on http www atmel com dyn products tools_card asp tool_id 4846 7 2 Board Recovery The CDROM provided in the kit contains a recovery procedure allowing to re...
Page 38: ...Guide 8 1 11080C ATARM 30 Mar 11 Section 8 Revision History 8 1 Revision History Table 8 1 Document Comments Change Request Ref 11080C Note 2 added to Section 4 3 9 JTAG ICE 7636 11080B Section 5 QT60...
Page 39: ...RRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON INFRINGEMENT IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT INDIRECT CONSEQUENTIAL PUNITIVE SPECIAL OR INCIDEN TAL DAMAGES INCLUDING...