Section 1 Introduction to the AT91SAMD20 and the Development Environment

Size: px
Start display at page:

Download "Section 1 Introduction to the AT91SAMD20 and the Development Environment"

Transcription

1 Section 1 Introduction to the AT91SAMD20 and the Development Environment Tasks In this section you will learn: The basics of the core you will be working on AT91SAMD20 and its features The basics of the development environment Atmel Studio 6 How to connect to the target via Studio 6.1 and load the binary to the target 12/02/13

2 Table of Contents 1. Introduction to the Core The Evaluation Kit Power Considerations Power Consumption Measurements Atmel Studio Installing Atmel Studio Working with a Studio 6.1 Project Launching an Example Project Studio 6.1 IDE Components Project Folder/File Structure Menus Device Programming Tool Debugging Windows Project Properties Makefile Extension Manager Creating a New Studio 6 Project ASF Wizard Programming and Debugging the SAMD20 with Studio Connecting the Board Compiling and downloading Debugging Your Code Conclusion ii

3 1. Introduction to the Core The Atmel SAM D20 family of microcontroller is based on the ARM Cortex -M0+ 32-bit processor. It has the following salient features: CPU running at up to 48 MHz In-system, self-programming flash ranging from KB and SRAM ranging from 2 to 32 KB Internal and external clock options with 48 MHz Digital Frequency Locked Loop SWD programming interface Peripherals such as Timers, ADC, DAC, Analog Comparators and Watchdog Timers Up to six Serial Communication Interfaces (SERCOM), individually configurable to operate as either SPI, TWI or USART Up to 52 programmable I/O lines Operating Voltage of 1.62 V to 3.63 V 64, 48, or 32 pin in TQFP or QFN package Figure 1 shows the block diagram of the microcontroller. Figure 1. Block diagram For detailed information on the microcontroller, please refer to the datasheet. Page 1 of 24

4 2. The Evaluation Kit The Atmel SAM D20 Xplained Pro evaluation kit houses the ATSAMD20J18 microcontroller and includes an on-board embedded debugger. Therefore, no external tools are necessary for programming or debugging. Some of its salient features are: 32 khz on-board crystal Micro-USB interface Virtual COM-port interface to target via UART Two mechanical buttons (user and reset button) One user LED 3 extension headers Two possible power sources Debug USB or External power source through the 4-pin power header marked PWR The SAM D20 Xplained Pro kit is fully supported by Atmel Studio 6.1 IDE. Several example applications for the kit are available as a starting point to develop user application. The IDE provides an easy platform to develop, program, and debug code for the SAMD20 target. More information on this is provided in Section 4. Figure 2. SAMD20 Xplained PRO Evaluation Kit Page 2 of 24

5 2.1 Power Considerations The power supply sources for SAMD20 Xplained Pro kit are shown in Table 1. Depending on availability, the kit will automatically make the necessary adaptation. Table 1. Power sources for SAMD20 kit Power input Voltage requirements Current requirements Connector marking External power 4.3 V to 5.5 V Recommended minimum is 500 ma to be able to provide enough current for extensions and the board itself. Recommended maximum is 2A due to the input protection maximum current specification. Embedded debugger USB 4.4 V to 5.25 V (according to USB spec) 500 ma (according to USB spec) PWR DEBUG USB Power Consumption Measurements To measure current consumed by the SAMD20 microcontroller, replace the jumper on the current measurement header with an ammeter. This is shown in Figure 3. Figure 3. Current Measurement Header For detailed information on the evaluation kit, please refer to the User Guide. 3. Atmel Studio 6.1 Atmel Studio 6 is the integrated development environment (IDE) for developing and debugging Atmel ARM Cortex -M and Atmel AVR microcontroller (MCU) based applications. The Atmel Studio 6 IDE gives you a seamless and easy-to-use environment to write, build, and debug your applications written in C/C++ or assembly code. Atmel Studio 6 is free of charge and comes with a large library of example projects. Page 3 of 24

6 With Studio 6, you can now enjoy Atmel Gallery and Atmel Spaces. Atmel Gallery is an online apps store for development tools and embedded software. Atmel Spaces is a cloud-based collaborative development workspace allowing you to host software and hardware projects targeting Atmel MCUs. Figure 4. Atmel Studio Installing Atmel Studio 6.1 Studio 6.1 can be downloaded from the following site: Click on the link as shown in Figure 5. You can choose the complete installer to install on a computer with no access to the internet. You will then be asked to fill a form as shown in Figure 6. You may choose to log in as a guest or create an Atmel account, if you don t already have one, and sign in as an Atmel user. Upon submitting the form, an will be sent to the address you provided with a link to the installer as shown in Figure 7. Run this installer. Page 4 of 24

7 Figure 5. Link to download Studio 6 The installer version at this time is This could be different during the time you attempt to download the installer. You may also have to download and install a patch to support newer hardware kits which is not required for the SAMD20 Xplained PRO kit. Figure 6. Download form Please provide a valid address. A link to the installer will be ed to this address. Page 5 of 24

8 Figure 7. Installer link from Installing Studio 6.1 may take several minutes depending on the speed of your computer. 3.2 Working with a Studio 6.1 Project In this section, we will learn the following: 1. How to launch an example project. 2. How to work with the IDE. 3. How to create a new project Launching an Example Project You can launch a new ASF example project from either the Start Page as shown in Figure 8 or the File Menu Option. The Start Page is available when Studio 6 is launched. It can also be accessed from View menu option. To open an example project, follow the steps below: 1. Click File > New > Example Project. 2. Select SAM D 32-BIT under Device Family as shown in Figure Select the required example project from one of the ASF versions. You may want to choose the most recent ASF version. 4. Provide the project name and location, then select OK. 5. Accept the software license agreement(s). The new example project will then be loaded. Figure 8. New example project Page 6 of 24

9 Loading the example projects may take several minutes the first time. Figure 9. Device family list Figure 10. Example project list Studio 6.1 IDE Components The Studio development environment is broadly split into three areas as shown in Figure 11: 1. Atmel Studio Editor: Allows you to edit the source files 2. Solution Explorer: Allows you to explore the project source files 3. Output Window: Displays messages from the GCC compiler Page 7 of 24

10 Figure 11. Atmel Studio 6.1 IDE Project Folder/File Structure An Atmel Studio Project folder will have the following file and 2 folders as shown in Figure 12: src folder: This folder contains all the project related source and header files. Debug/Release (or any other configuration the user sets up) folder: Upon compilation, this folder contains the map file, executables (.bin,.hex,.elf), binaries, a portion of the makefile, and all the object files..cproj file: The.CPROJ file, saved in XML format, stores all the references for your project including your compilation options. (There is also a.atsln file which stores information about projects that make up your solution.) Figure 12. Studio 6 project root folder in File Explorer Page 8 of 24

11 src folder: As already mentioned, all the source and header files of the project reside in the src/ folder. This folder will typically have the following items: main.c file (or the application specific file(s)) asf.h header file: This file includes all the API header files required by ASF for the modules you use in your project. It is automatically updated every time you add or remove drivers from your project using ASF wizard (ASF wizard is explained later). You should not manually edit asf.h asf folder: ASF folder: This folder contains the bulk of your project if you depend on ASF to generate code. All driver code imported to your project by ASF resides in this folder. config folder: This folder contains important configuration files such as conf_board.h and conf_clock.h o conf_board.h: This file is mainly used for specific board configuration. The conf_board.h file will allow the developer to define a conditional flag that enables or disables the GPIO to perform the required function in the project. o conf_clock.h: This file includes the definitions of the different clock configurations for the device (clock sources, prescalers, etc.). This is the entry point to configure the clocks used in the application. It is up to the user to change it based on need. The ASF folder contains a folder common to all projects, a folder for each family of microcontrollers, and a third-party folder for all ARM microcontroller projects. A description of each is given below: common folder: This folder contains a board.h header file that defines all the evaluation kits supported by Atmel Studio. It also contains a services and utils folder common to all projects. microcontroller specific folder: This folder contains the following: o boards folder: This folder contains a header file listing definitions specific to the target of the current project. For example, the samd20_xplained_pro.h header file. There is also a board_init.c file that contains a function called board_init that configures the GPIO pins for the different hardware peripherals. o drivers folder: This contains low level driver code to directly access the device registers. o utils folder: This contains utilities such as linker scripts, system calls, and preprocessor definitions. Another important folder inside the utils folder is the cmsis folder. This folder includes: Source file that contains the interrupt vector table definition and the startup code (for example, startup_samd20.c). Source file that contains the clock initialization code (e.g., system_samd20.c) include folder that contains system level header files pertaining to the microcontroller. For example, the top-level header file samd20.h which picks the header file of the microcontroller on the target board, e.g., samd20j18.h for the SAMD20Xplained PRO board. This header file contains the base Page 9 of 24

12 address definition for all the peripherals such as ADC, Timer Counter, etc. The include folder has sub-folders such as component, instance, and pio. component folder: This contains header files for each peripheral. Each header file defines a structure listing all the registers belonging to the corresponding peripheral. instance folder: This contains header files for each peripheral that lists the memory mapping for each register belonging to the corresponding peripheral. pio folder: This contains header files for each variant of the SAM microcontroller family, for example pio_samd20j18.h. These header files define the hardware pins and port definitions for each peripheral. thirdparty folder: This folder contains software with licenses other than Atmel license. For example CMSIS folder contains CMSIS library and header file with an ARM license. Figure 13 shows the ASF folder structure for a typical SAMD20 project. For more detailed information on ASF please refer to the following application notes: Atmel Software Framework Reference Manual (AVR4030) Atmel Software Framework Getting Started (AVR4029) Figure 13. ASF Folder Structure Page 10 of 24

13 Menus Studio 6 has a rich set of menu options as shown in Figure 14. The look and feel of the IDE is similar to Visual Studio. Therefore, most of the icons are standard options that are also found in Visual Studio, such as SAVE, SAVE ALL. The START DEBUGGING AND BREAK and START WITHOUT DEBUGGING icons are easily accessible. The current target and the debugger are displayed on the menu bar. Other important icons are shown in Table 2. Figure 14. Menu options Table 2. Studio shortcuts Icon Function Keyboard Shortcut Launch a New Example Project Ctrl+Shift+E Launch ASF Wizard Launch Solution Explorer Ctrl+Alt+L Launch Start Page Launch Extension Manager Launch Device Programming Window Ctrl+Shift+P Launch Command Window Ctrl+Alt+A Launch I/O View Window for Debugging Page 11 of 24

14 Device Programming Tool The Device Programming tool can be launched from the tools menu option. Figure 15 displays the device programming tool window. The different parts of the tool are explained below: A. Dropdown option to select the debugger such as SAM ICE debugger or on-board debugger. B. Dropdown option to select the device variant. C. Type of interface such as JTAG or SWD. D. Once the proper debugger, device variant, and interface are selected, clicking READ will display a unique device signature. E. The title bar displays the chosen debugger. F. Other options to the left of the tool are as follows: Memories: Allows you to erase the chip, select a pre-built.elf or.hex file and program it to the target. It also allows you to verify the flash after programming. Interface settings: It allows you to change the clock frequency of the debugger. Tool Information: Displays the debugger information such as firmware version, hardware version, etc. Device Information: Displays information of the device variant such as flash size, SRAM size, type of processor, etc. Security: This will allow you to set a security bit so as to disallow access through all external programming and debugging interfaces. Figure 15. Device programming tool Page 12 of 24

15 Debugging Windows Atmel Studio provides various debugging windows that are extremely useful. They can be accessed during debugging from the Debug menu option: Debug > Windows. Some important debug windows are: Breakpoints: This lists all the breakpoints that have been applied. They can be disabled while debugging as well. I/O View: This is an extremely important tool for debugging, shown in Figure 16. It shows the values of registers, including the value of each bit in the register and the memory location of the register. Processor View: This displays the value of some important register such as Program Counter, Stack Pointer, etc., as shown in Figure 17. Memory: Displays the contents of different parts of the memory such as Flash memory while debugging the flash. Figure 16. I/O View Page 13 of 24

16 Figure 17. Processor View Project Properties The Project Properties Window can be accessed from the Project Menu: Project > <Project Name> Properties. From this window, you can set the following: Build: You can set different Build Options from here. You can choose to use an external Makefile or the default Makefile generated by Studio 6. You can create different Configuration such as Debug, Release or custom configurations each having different build options or compile/linker settings. Build Events: This allows you to set pre-build or post-build events such as running specific DOS commands. Toolchain: This is probably the most used feature from Project Properties. Here are all the options that can be set: o ARM/GNU Common Options (Figure 18): o Output file format such as.hex,.bin, etc. Output code format such as Thumb or ARM. ARM/GNU C Compiler Options: Here are a few commonly used settings: Symbols: You can set symbols to be defined and undefined for the current project. The icons on the top right of the defined symbols and undefined symbols window allow you to add new symbols, remove existing symbols, edit existing symbols and move an existing symbol up or down the list. (Figure 19) Directories: You can specify to the compiler the include paths of all the directories in the project. The icons on the top right of the window allow you to add new paths, remove existing paths, edit or move an existing path up or down the list. (Figure 20) Optimization: Allows you to set the optimization level. (Figure 21) Page 14 of 24

17 o ARM/GNU Linker Options: Here are some commonly used settings: Libraries: You can specify to the Linker all the libraries that need to be linked and also the path to the library. There are icons that allow you to add new library/library path, remove, edit or move an existing library/ library path. (Figure 22) Miscellaneous: You can specify other linker flags and objects such as path to the linker file. (Figure 23) Device: You can change the current device variant. Tool: You can choose a debugging tool that can be used with the target board. Figure 18. OutputFiles setting Figure 19. Symbols definition Page 15 of 24

18 Figure 20. Directory path setting Figure 21. Optimization level Figure 22. Linker Library settings Page 16 of 24

19 Figure 23. Miscellaneous Linker settings Makefile Studio 6 generates a Makefile based on the project properties defined. All Studio 6 projects for SAM Microcontrollers contain a Makefile template in the ASF/SAM/utils/Make folder. This template is basically a script with a set of rules that is used to generate the Makefile. Please note that this is NOT the actual Makefile. The actual Makefile generated by Studio 6 using the template and the project properties can be found in the Debug or Release folder (or the custom configuration set) found in the root directory of the project as shown in Figure 24. Figure 24. Makefile generated by Studio 6 Page 17 of 24

20 Extension Manager Many additional extensions including libraries that may be useful are available for download from the extension manager. These provide enhanced features for a variety of projects. Most tools are free products from Atmel and third-party developers. To install an extension, simply choose your product and click Download, shown in Figure 25. You will be asked to log in to your myatmel account, shown in Figure 26. For new users, signing up is quick and easy. Figure 25. Extension Manager Figure 26. myatmel login Page 18 of 24

21 3.2.3 Creating a New Studio 6 Project We already know how to create a new project from the list of ASF example projects. However, if you want to create a new empty project for an Atmel evaluation kit or a custom board, Studio 6 will create a project template populated with minimal code complete with main.c, asf.h, and other header files. Here is how you create a new project: 1. Click File > New > Project 2. Under C/C++ choose ATMEL-BOARDS 3. Highlight SAM D20 XPLAINED PRO SAMD20J18 4. Give your project a name and then select OK Figure 27. New project setup 3.3 ASF Wizard Atmel Software Framework (ASF) allows easy design, evaluation, and prototyping of projects by providing the user a collection of embedded software, managed by the ASF Wizard. When designing, it is important to add necessary modules from ASF to your project. With your project opened, select ASF > ASF Wizard. The ASF Wizard window should be displayed with the list of the available drivers, services, and components, as shown in Figure 28. On the right side of the window, you can find the list of drivers already added in the project. On the left you can find all the drivers, services, and modules that are available to add. Page 19 of 24

22 Figure 28. ASF Wizard Window Modules can be found by either manually scrolling down the list or by using the search box. As an example, we will add a delay module to our project by typing the word delay in the search box, as shown in Figure 29. The Delay routines module appears as the result and we add this by highlighting the name of the module and then clicking ADD. The addition is not finalized until we select APPLY, after which a summary of changes is available for viewing. Figure 29. Adding modules in ASF Wizard 4. Programming and Debugging the SAMD20 with Studio 6.1 Once your project is ready, it is time to connect Studio 6.0 to the target, compile and debug. 4.1 Connecting the Board Connect the SAMD20 microcontroller to the PC via the mico-usb port as shown in Figure 30. Consider the power requirements as previously mentioned in Section 2.1. Page 20 of 24

23 Figure 30. Connecting the board 4.2 Compiling and downloading With our project ready for device programming, we can compile and download the firmware to the target using the following steps: 1. Click Build > Build Solution (or use shortcut F7) 2. Click Tools > Device Programming 3. Select the ATSAMD20J18 device and XPRO-EDBG tool, then click APPLY, as shown in Figure Under MEMORIES, the.elf file should be already selected for programming. Now click PROGRAM, as shown in Figure 33. Figure 31. Build solution Page 21 of 24

24 Figure 32. Set up device for programming Figure 33. Program device 4.3 Debugging Your Code To start debugging your code, you will need to first choose a debugger. With a project open, click No Tool and select XPRO-EDBG ATML (These numbers will not be the same as they are the serial number found on your board) as shown in Figure 27. (Note that the interface will automatically select SWD.) Figure 34. Choosing the debugger Page 22 of 24

25 Many of the debugging features in Atmel Studio are commonly found in Visual Studio. Table 3 shows a list of functions from the toolbar. Table 3. Debug toolbar options Icon Function Shortcut Start Debugging F5 Start Debugging and Break Alt + F5 Stop Debugging Ctrl + Shift + F5 QuickWatch Shift + F9 Step Into F11 Step Over F10 Step Out Shift + F11 Run to Cursor Ctrl + F10 Reset Shift + F5 Disassembly Alt + 8 Registers Alt + 5 Memory 1 Alt + 6 Processor View I/O View Placing breakpoints in the code allows the program to run and pause while the user checks to see if the program is functioning correctly at any point. The process in Atmel Studio is exactly the same as it is for Visual Studio. Clicking on the left margin of the code places a breakpoint at that line. There is also the option of right clicking on any line of code and choosing Breakpoint > Insert Breakpoint. Page 23 of 24

26 5. Conclusion In this section we have covered a basic introduction to the SAMD20 core and the Atmel SAM D20 Xplained Pro evaluation kit. We have gone through the Atmel Studio 6 IDE in quite a detail. We are now familiar with the following: 1. How to launch example Studio 6 project and how to create a blank project. 2. The project folder/file structure 3. How to import code with ASF Wizard 4. The different components and features of the Studio 6 IDE and working with the IDE 5. How to compile and debug the project on the target In the next few chapters, we are going to learn the different peripherals available on the SAMD20 and we are going to write code to access and control these peripherals via Studio 6 projects. Page 24 of 24

27 Atmel Corporation 1600 Technology Drive San Jose, CA USA Tel: (+1)(408) Fax: (+1)(408) Atmel Asia Limited Unit 01-5 & 16, 19F BEA Tower, Millennium City Kwun Tong Road Kwun Tong, Kowloon HONG KONG Tel: (+852) Fax: (+852) Atmel Munich GmbH Business Campus Parkring 4 D Garching b. Munich GERMANY Tel: (+49) Fax: (+49) Atmel Japan G.K. 16F Shin-Osaki Kangyo Bldg Osaki, Shinagawa-ku Tokyo JAPAN Tel: (+81)(3) Fax: (+81)(3) Atmel Corporation. All rights reserved. / Rev.: Error! Reference source not found. Atmel, Atmel logo and combinations thereof, Enabling Unlimited Possibilities, and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES 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 PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or APPLICATION NOTE Atmel AVR32848: Android Accessory Demo 32-bit Atmel Microcontrollers Features Control an accessory from an Android device Send data to and from an Android device to an accessory Supported

More information

32-bit AVR UC3 Microcontrollers. 32-bit AtmelAVR Application Note. AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2

32-bit AVR UC3 Microcontrollers. 32-bit AtmelAVR Application Note. AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2 AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2 1. Introduction The purpose of this application note is to show how to compile any of the application and driver examples

More information

APPLICATION NOTE. Atmel AT04389: Connecting SAMD20E to the AT86RF233 Transceiver. Atmel SAMD20. Description. Features

APPLICATION NOTE. Atmel AT04389: Connecting SAMD20E to the AT86RF233 Transceiver. Atmel SAMD20. Description. Features APPLICATION NOTE Atmel AT04389: Connecting SAMD20E to the AT86RF233 Transceiver Description Atmel SAMD20 This application note describes a method to connect an Atmel ATSAMD20E microcontroller to an Atmel

More information

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features APPLICATION NOTE AT07175: SAM-BA Bootloader for SAM D21 Atmel SAM D21 Introduction Atmel SAM Boot Assistant (Atmel SAM-BA ) allows In-System Programming (ISP) from USB or UART host without any external

More information

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction. APPLICATION NOTE Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer Introduction Atmel AVR 8-bit Microcontroller This application note describes how to implement a real time counter (RTC)

More information

AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR1922: Xplain Board Controller Firmware Features USB interface - Mass-storage to on-board DataFlash memory Atmel AVR XMEGA TM reset control 1 Introduction The Xplain board controller, an AT90USB1287,

More information

Introducing a platform to facilitate reliable and highly productive embedded developments

Introducing a platform to facilitate reliable and highly productive embedded developments Beyond the IDE Introducing a platform to facilitate reliable and highly productive embedded developments Author: Joerg Bertholdt, Director of Marketing, MCU Tools and Software, Atmel Corporation Beyond

More information

Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2. 8-bit Atmel Microcontrollers. Application Note. Features.

Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2. 8-bit Atmel Microcontrollers. Application Note. Features. Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2 Features Advantages Implementation differences Integration Migration from stack V1 to stack V2 8-bit Atmel Microcontrollers Application

More information

Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures. Atmel Microcontrollers. Application Note. Features.

Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures. Atmel Microcontrollers. Application Note. Features. Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures Features Compliance to USB 2.0 - Chapters 8 and 9 - Classes: HID, MSC, CDC, PHDC Interoperability: OS, classes, self- and bus-powered

More information

Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction

Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction Atmel AVR4903: ASF - USB Device HID Mouse Application Features USB 2.0 compliance - Chapter 9 compliance - HID compliance - Low-speed (1.5Mb/s) and full-speed (12Mb/s) data rates Standard USB HID mouse

More information

APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description

APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description APPLICATION NOTE Atmel AT259: In House Unit with Bluetooth Low Energy Module Hardware User Guide Features 8-bit Atmel Microcontroller Low power consumption Interface with BLE with UART Bi-direction wake

More information

USER GUIDE EDBG. Description

USER GUIDE EDBG. Description USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel

More information

Application Note. Atmel ATSHA204 Authentication Modes. Prerequisites. Overview. Introduction

Application Note. Atmel ATSHA204 Authentication Modes. Prerequisites. Overview. Introduction Application Note Atmel Authentication Modes Prerequisites Hardware Atmel AT88CK454BLACK Evaluation Board Atmel AT88CK109STK8 Kit Software Atmel Crypto Evaluation Studio (ACES) Overview Understand which

More information

Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter

Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter APPLICATION NOTE Features Atmel AVR32918: UC3-A3 Xplained Hardware User s Guide Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter I/O One mechanical button

More information

AVR1900: Getting started with ATxmega128A1 on STK600. 8-bit Microcontrollers. Application Note. 1 Introduction

AVR1900: Getting started with ATxmega128A1 on STK600. 8-bit Microcontrollers. Application Note. 1 Introduction AVR1900: Getting started with ATxmega128A1 on STK600 1 Introduction This document contains information about how to get started with the ATxmega128A1 on STK 600. The first three sections contain information

More information

AT91SAM ARM-based Flash MCU. Application Note

AT91SAM ARM-based Flash MCU. Application Note Modbus Slave Stack for the Atmel Family of SAM3 Microcontrollers (Free Modbus Stack from Embedded Solutions) 1. Scope This application note provides directions and instructions to application engineers

More information

APPLICATION NOTE. Atmel AT02985: User s Guide for USB-CAN Demo on SAM4E-EK. Atmel AVR 32-bit Microcontroller. Features. Description.

APPLICATION NOTE. Atmel AT02985: User s Guide for USB-CAN Demo on SAM4E-EK. Atmel AVR 32-bit Microcontroller. Features. Description. APPLICATION NOTE Atmel AT02985: User s Guide for USB-CAN Demo on SAM4E-EK Atmel AVR 32-bit Microcontroller Features USB-CAN gateway USB CDC class (virtual serial port) provides low level data stream Customized

More information

AVR1510: Xplain training - XMEGA USART. 8-bit Microcontrollers. Application Note. Prerequisites. 1 Introduction

AVR1510: Xplain training - XMEGA USART. 8-bit Microcontrollers. Application Note. Prerequisites. 1 Introduction AVR1510: Xplain training - XMEGA USART Prerequisites Required knowledge AVR1500: Xplain training XMEGA Basics AVR1502: Xplain training XMEGA Direct Memory Access Controller Software prerequisites Atmel

More information

APPLICATION NOTE. Atmel AT01095: Joystick Game Controller Reference Design. 8-/16-bit Atmel Microcontrollers. Features.

APPLICATION NOTE. Atmel AT01095: Joystick Game Controller Reference Design. 8-/16-bit Atmel Microcontrollers. Features. APPLICATION NOTE Features Atmel AT01095: Joystick Game Controller Reference Design 8-/16-bit Atmel Microcontrollers Joystick Game Controller Atmel ATxmega32A4U microcontroller In System Programming (ISP)

More information

AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel

AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel AVR115: Data Logging with Atmel File System on ATmega32U4 Microcontrollers 01101010 11010101 01010111 10010101 Application Note 1 Introduction Atmel provides a File System management for AT90USBx and ATmegaxxUx

More information

APPLICATION NOTE. Atmel LF-RFID Kits Overview. Atmel LF-RFID Kit. LF-RFID Kit Introduction

APPLICATION NOTE. Atmel LF-RFID Kits Overview. Atmel LF-RFID Kit. LF-RFID Kit Introduction APPLICATION NOTE Atmel LF-RFID Kits Overview Atmel LF-RFID Kit LF-RFID Kit Introduction Atmel offers several design and evaluation kits for a fast and easy way to test the LF-RFID technology but also developing

More information

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE SMART ARM-based Microcontrollers SMARTCARD XPRO USER GUIDE Preface Atmel SMARTCARD Xplained Pro is an extension board to the Atmel Xplained Pro evaluation platform. Atmel SMARTCARD Xplained Pro is designed

More information

APPLICATION NOTE. Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor. Atmel AVR 8-bit Microcontrollers. Features.

APPLICATION NOTE. Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor. Atmel AVR 8-bit Microcontrollers. Features. APPLICATION NOTE Features Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor Less than 5µs response time on Hall sensor output change Theoretical maximum of 1600k RPM Over-current sensing

More information

Software Prerequisites Linux Ubuntu 12.04 LTS. Estimated completion time: 15min. The goal of this hands-on is to:

Software Prerequisites Linux Ubuntu 12.04 LTS. Estimated completion time: 15min. The goal of this hands-on is to: TRAINING MANUAL Using SAM-BA for Linux on SAMA5D3 Xplained AN-8995 Prerequisites Hardware Prerequisites Atmel SAMA5D3 Xplained USB serial TTL adapter (optional) FTDI TTL-232R-3V3 USB to TTL serial cable

More information

8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB

8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB AVR282: USB Firmware Upgrade for AT90USB Features Supported by Atmel FLIP program on all Microsoft O/S from Windows 98SE and later FLIP 3.2.1 or greater supports Linux Default on chip USB bootloader In-System

More information

AVR033: Getting Started with the CodeVisionAVR C Compiler. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR033: Getting Started with the CodeVisionAVR C Compiler. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR033: Getting Started with the CodeVisionAVR C Compiler Features Installing and Configuring CodeVisionAVR to Work with the Atmel STK 500 Starter Kit and AVR Studio Debugger Creating a New Project Using

More information

Application Note. Atmel CryptoAuthentication Product Uses. Atmel ATSHA204. Abstract. Overview

Application Note. Atmel CryptoAuthentication Product Uses. Atmel ATSHA204. Abstract. Overview Application Note Atmel CryptoAuthentication Product Uses Atmel Abstract Companies are continuously searching for ways to protect property using various security implementations; however, the cost of security

More information

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc. SKP16C62P Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance

More information

AT88CK490 Evaluation Kit

AT88CK490 Evaluation Kit AT88CK490 Evaluation Kit CryptoAuthentication USB Dongle HARDWARE USER GUIDE Atmel AT88CK490 CryptoAuthentication Evaluation Kit Introduction The Atmel AT88CK490 CryptoAuthentication Evaluation Kit is

More information

USER GUIDE. ZigBit USB Stick User Guide. Introduction

USER GUIDE. ZigBit USB Stick User Guide. Introduction USER GUIDE ZigBit USB Stick User Guide Introduction This user guide describes how to get started with the Atmel ZigBit USB sticks. The ZigBit USB sticks is targeted for evaluating the USB features of the

More information

AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note.

AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note. AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System Features 32-bit Real Time Counter (RTC) - 32-bit counter - Selectable clock source 1.024kHz 1Hz - Long overflow time

More information

AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR. 8-bit Microcontrollers. Application Note. Features.

AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR. 8-bit Microcontrollers. Application Note. Features. AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR Features How to open a new workspace and project in IAR Embedded Workbench Description and option settings for compiling the c-code Setting

More information

Atmel AVR ATxmega384C3 microcontroller OLED display with 128 32 pixels resolution Analog sensors. Ambient light sensor Temperature sensor

Atmel AVR ATxmega384C3 microcontroller OLED display with 128 32 pixels resolution Analog sensors. Ambient light sensor Temperature sensor APPLICATION NOTE AVR1925: XMEGA-C3 Xplained Hardware User s Guide Features Atmel AVR ATxmega384C3 microcontroller OLED display with 128 32 pixels resolution Analog sensors Ambient light sensor Temperature

More information

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction User manual Getting started with STM32 Nucleo board software development tools Introduction The STM32 Nucleo board (NUCLEO-F030R8, NUCLEO-F072RB, NUCLEO-F103RB, NUCLEO-F302R8, NUCLEO-F401RE, NUCLEO-L152RE)

More information

CryptoAuth Xplained Pro

CryptoAuth Xplained Pro CryptoAuth Xplained Pro CryptoAuthentication Xplained Pro Extension Board HARDWARE USER GUIDE Atmel CryptoAuth Xplained Pro Extension Board Introduction The Atmel CryptoAuth Xplained Pro (CAXPro) Evaluation

More information

UM1680 User manual. Getting started with STM32F429 Discovery software development tools. Introduction

UM1680 User manual. Getting started with STM32F429 Discovery software development tools. Introduction User manual Getting started with STM32F429 Discovery software development tools Introduction This document describes the software environment and development recommendations required to build an application

More information

Atmel AVR4029: Atmel Software Framework User Guide. Atmel Microcontrollers. Application Note. Features. 1 Introduction

Atmel AVR4029: Atmel Software Framework User Guide. Atmel Microcontrollers. Application Note. Features. 1 Introduction Atmel AVR4029: Atmel Software Framework User Guide Features Getting Started Access to ASF examples and applications Add ASF modules to a project Atmel Studio 6 IAR GNU makefile / GCC 1 Introduction Atmel

More information

AVR32701: AVR32AP7 USB Performance. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32701: AVR32AP7 USB Performance. 32-bit Microcontrollers. Application Note. Features. 1 Introduction AVR32701: AVR32AP7 USB Performance Features Linux USB bulk transfer performance ATSTK1000 (32-bit SDRAM bus width) ATNGW100 (16-bit SDRAM bus width) GadgetFS driver and gadgetfs-test application USB performance

More information

Application Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration

Application Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration AVR270: USB Mouse Demonstration Features Runs with AT90USB Microcontrollers at 8MHz USB Low Power Bus Powered Device (less then 100mA) Supported by any PC running Windows (98SE or later), Linux or Mac

More information

UM0985 User manual. Developing your STM32VLDISCOVERY application using the IAR Embedded Workbench software. Introduction

UM0985 User manual. Developing your STM32VLDISCOVERY application using the IAR Embedded Workbench software. Introduction User manual Developing your STM32VLDISCOVERY application using the IAR Embedded Workbench software Introduction This document provides an introduction on how to use IAR Embedded Workbench for ARM software

More information

AVR287: USB Host HID and Mass Storage Demonstration. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR287: USB Host HID and Mass Storage Demonstration. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR287: USB Host HID and Mass Storage Demonstration Features Based on AVR USB OTG Reduced Host Runs on AT90USB647/1287 Support bootable/non-bootable standard USB mouse Support USB Hub feature (Mass Storage

More information

How To Design An Ism Band Antenna For 915Mhz/2.4Ghz Ism Bands On A Pbbb (Bcm) Board

How To Design An Ism Band Antenna For 915Mhz/2.4Ghz Ism Bands On A Pbbb (Bcm) Board APPLICATION NOTE Features AT09567: ISM Band PCB Antenna Reference Design Atmel Wireless Compact PCB antennas for 915MHz and 2.4GHz ISM bands Easy to integrate Altium design files and gerber files Return

More information

Two mechanical buttons Two user LEDs Four expansion headers. Board controller with USB interface. One power LED and one status LED

Two mechanical buttons Two user LEDs Four expansion headers. Board controller with USB interface. One power LED and one status LED APPLICATION NOTE Features Atmel AT02667: XMEGA-E5 Xplained Hardware User s Guide Atmel AVR ATxmega32E5 microcontroller OLED display with 128 32 pixels resolution Ambient light sensor Analog filter Rotary

More information

AVR32138: How to optimize the ADC usage on AT32UC3A0/1, AT32UC3A3 and AT32UC3B0/1 series. 32-bit Microcontrollers. Application Note.

AVR32138: How to optimize the ADC usage on AT32UC3A0/1, AT32UC3A3 and AT32UC3B0/1 series. 32-bit Microcontrollers. Application Note. AVR32138: How to optimize the ADC usage on AT32UC3A0/1, AT32UC3A3 and AT32UC3B0/1 series 1 Introduction This application note outlines the steps necessary to optimize analog to digital conversions on AT32UC3A0/1,

More information

General Porting Considerations. Memory EEPROM XRAM

General Porting Considerations. Memory EEPROM XRAM AVR097: Migration between ATmega128 and ATmega2561 Features General Porting Considerations Memory Clock sources Interrupts Power Management BOD WDT Timers/Counters USART & SPI ADC Analog Comparator ATmega103

More information

AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS

AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS AVR1309: Using the XMEGA SPI Features Introduction to SPI and the XMEGA SPI module Setup and use of the XMEGA SPI module Implementation of module drivers Polled master Interrupt controlled master Polled

More information

APPLICATION NOTE. Atmel AT01180: Barcode and QR code scanner User Guide. Atmel 32-bit Microcontroller. Features. Introduction

APPLICATION NOTE. Atmel AT01180: Barcode and QR code scanner User Guide. Atmel 32-bit Microcontroller. Features. Introduction APPLICATION NOTE Atmel AT01180: Barcode and QR code scanner User Guide Features Image processing and decoder for barcode & QR code Libdecodeqr and OpenCV based IAR Embedded Workbench Support continuous

More information

AVR125: ADC of tinyavr in Single Ended Mode. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR125: ADC of tinyavr in Single Ended Mode. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR125: ADC of tinyavr in Single Ended Mode Features Up to 10bit resolution Up to 15kSPS Auto triggered and single conversion mode Optional left adjustment for ADC result readout Driver source code included

More information

QT1 Xplained Pro. Preface. Atmel QTouch USER GUIDE

QT1 Xplained Pro. Preface. Atmel QTouch USER GUIDE Atmel QTouch QT1 Xplained Pro USER GUIDE Preface Atmel QT1 Xplained Pro kit is a set of two extension boards that enables evaluation of self- and mutual capacitance mode touch using the Peripheral Touch

More information

8051 Flash Microcontroller. Application Note. A Digital Thermometer Using the Atmel AT89LP2052 Microcontroller

8051 Flash Microcontroller. Application Note. A Digital Thermometer Using the Atmel AT89LP2052 Microcontroller A Digital Thermometer Using the Atmel AT89LP2052 Microcontroller Features Temperature range -55 C to +125 C in.5 C increments LCD Display RS485 Interface Applicable to any AT89LP Microcontroller C and

More information

3. Programming the STM32F4-Discovery

3. Programming the STM32F4-Discovery 1 3. Programming the STM32F4-Discovery The programming environment including the settings for compiling and programming are described. 3.1. Hardware - The programming interface A program for a microcontroller

More information

UM1790 User manual. Getting started with STM32L053 discovery kit software development tools. Introduction

UM1790 User manual. Getting started with STM32L053 discovery kit software development tools. Introduction User manual Getting started with STM32L053 discovery kit software development tools Introduction This document describes the software environment recommendations required to build an application using

More information

UM0834 User manual. Developing and debugging your STM8S-DISCOVERY application code. Introduction. Reference documents

UM0834 User manual. Developing and debugging your STM8S-DISCOVERY application code. Introduction. Reference documents User manual Developing and debugging your STM8S-DISCOVERY application code Introduction This document complements the information in the STM8S datasheets by describing the software environment and development

More information

Atmel AVR4027: Tips and Tricks to Optimize Your C Code for 8-bit AVR Microcontrollers. 8-bit Atmel Microcontrollers. Application Note.

Atmel AVR4027: Tips and Tricks to Optimize Your C Code for 8-bit AVR Microcontrollers. 8-bit Atmel Microcontrollers. Application Note. Atmel AVR4027: Tips and Tricks to Optimize Your C Code for 8-bit AVR Microcontrollers Features Atmel AVR core and Atmel AVR GCC introduction Tips and tricks to reduce code size Tips and tricks to reduce

More information

APPLICATION NOTE. Atmel AVR600: STK600 Expansion, Routing and Socket Boards. Atmel Microcontrollers. Introduction

APPLICATION NOTE. Atmel AVR600: STK600 Expansion, Routing and Socket Boards. Atmel Microcontrollers. Introduction APPLICATION NOTE Atmel AVR600: STK600 Expansion, Routing and Socket Boards Introduction Atmel Microcontrollers This application note describes the process of developing new routing, socket and expansion

More information

APPLICATION NOTE. AT17284: Proximetry Cloud Based Smart Plug User Guide. SMART ARM-based Microcontrollers. Introduction. Features

APPLICATION NOTE. AT17284: Proximetry Cloud Based Smart Plug User Guide. SMART ARM-based Microcontrollers. Introduction. Features APPLICATION NOTE AT17284: Proximetry Cloud Based Smart Plug User Guide SMART ARM-based Microcontrollers Introduction This document introduces the Proximetry cloud based Atmel Smart Plug. It explains how

More information

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE Atmel AVR 8-bit Microcontroller AVR151: Setup and Use of the SPI APPLICATION NOTE Introduction This application note describes how to set up and use the on-chip Serial Peripheral Interface (SPI) of the

More information

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction User manual Getting started with STM32 Nucleo board software development tools Introduction The STM32 Nucleo board is a low-cost and easy-to-use development platform used to quickly evaluate and start

More information

Using CryptoMemory in Full I 2 C Compliant Mode. Using CryptoMemory in Full I 2 C Compliant Mode AT88SC0104CA AT88SC0204CA AT88SC0404CA AT88SC0808CA

Using CryptoMemory in Full I 2 C Compliant Mode. Using CryptoMemory in Full I 2 C Compliant Mode AT88SC0104CA AT88SC0204CA AT88SC0404CA AT88SC0808CA Using CryptoMemory in Full I 2 C Compliant Mode 1. Introduction This application note describes how to communicate with CryptoMemory devices in full I 2 C compliant mode. Full I 2 C compliance permits

More information

APPLICATION NOTE. AT16268: JD Smart Cloud Based Smart Plug Getting. Started Guide ATSAMW25. Introduction. Features

APPLICATION NOTE. AT16268: JD Smart Cloud Based Smart Plug Getting. Started Guide ATSAMW25. Introduction. Features APPLICATION NOTE AT16268: JD Smart Cloud Based Smart Plug Getting Started Guide ATSAMW25 Introduction This application note aims to help readers to get started with the Atmel smart plug reference design

More information

Atmel AVR1017: XMEGA - USB Hardware Design Recommendations. 8-bit Atmel Microcontrollers. Application Note. Features.

Atmel AVR1017: XMEGA - USB Hardware Design Recommendations. 8-bit Atmel Microcontrollers. Application Note. Features. Atmel AVR1017: XMEGA - USB Hardware Design Recommendations Features USB 2.0 compliance - Signal integrity - Power consumption - Back driver voltage - Inrush current EMC/EMI considerations Layout considerations

More information

AVR1301: Using the XMEGA DAC. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1301: Using the XMEGA DAC. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR1301: Using the XMEGA DAC Features 12 bit resolution Up to 1 M conversions per second Continuous drive or sample-and-hold output Built-in offset and gain calibration High drive capabilities Driver source

More information

APPLICATION NOTE. Atmel AVR2033: SAM-ICE Adapter Hardware User Manual. 8-bit Atmel Microcontrollers. Features. Introduction

APPLICATION NOTE. Atmel AVR2033: SAM-ICE Adapter Hardware User Manual. 8-bit Atmel Microcontrollers. Features. Introduction APPLICATION NOTE Features Atmel AVR2033: SAM-ICE Adapter Hardware User Manual 8-bit Atmel Microcontrollers 10-pin connector for Atmel RF231USB USB radio stick 20-pin connector for ARM JTAG programmer 6-pin

More information

AVR32788: AVR 32 How to use the SSC in I2S mode. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32788: AVR 32 How to use the SSC in I2S mode. 32-bit Microcontrollers. Application Note. Features. 1 Introduction AVR32788: AVR 32 How to use the SSC in I2S mode Features I²S protocol overview I²S on the AVR32 I²S sample rate configurations Example of use with AT32UC3A on EVK1105 board 32-bit Microcontrollers Application

More information

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction AVR317: Using the Master SPI Mode of the USART module Features Enables Two SPI buses in one device Hardware buffered SPI communication Polled communication example Interrupt-controlled communication example

More information

Atmel ATSAM3X8E microcontroller Atmel AT86RF231 2.4GHz radio transceiver Atmel proprietary Lightweight Mesh software stack 10/100Mbps Ethernet

Atmel ATSAM3X8E microcontroller Atmel AT86RF231 2.4GHz radio transceiver Atmel proprietary Lightweight Mesh software stack 10/100Mbps Ethernet APPLICATION NOTE Atmel AT02744: Lightweight Mesh to Ethernet Gateway with SAM3X - Software User s Guide Features Atmel 32-bit Microcontroller Atmel ATSAM3X8E microcontroller Atmel AT86RF231 2.4GHz radio

More information

AVR1318: Using the XMEGA built-in AES accelerator. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1318: Using the XMEGA built-in AES accelerator. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR1318: Using the XMEGA built-in AES accelerator Features Full compliance with AES (FIPS Publication 197, 2002) - Both encryption and decryption procedures 128-bit Key and State memory XOR load option

More information

AVR1600: Using the XMEGA Quadrature Decoder. 8-bit Microcontrollers. Application Note. Features. 1 Introduction. Sensors

AVR1600: Using the XMEGA Quadrature Decoder. 8-bit Microcontrollers. Application Note. Features. 1 Introduction. Sensors AVR1600: Using the XMEGA Quadrature Decoder Features Quadrature Decoders 16-bit angular resolution Rotation speed and acceleration 1 Introduction Quadrature encoders are used to determine the position

More information

Getting started with software and firmware environments for the STM32F0DISCOVERY kit

Getting started with software and firmware environments for the STM32F0DISCOVERY kit User manual Getting started with software and firmware environments for the STM32F0DISCOVERY kit Introduction This document describes the software, firmware environment and development recommendations

More information

AVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR305: Half Duplex Compact Software UART Features 32 Words of Code, Only Handles Baud Rates of up to 38.4 kbps with a 1 MHz XTAL Runs on Any AVR Device Only Two Port Pins Required Does Not Use Any Timer

More information

DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB

DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB Contents at a Glance 1. Introduction of MPLAB... 4 2. Development Tools... 5 3. Getting Started... 6 3.1. Create a Project... 8 3.2. Start MPLAB...

More information

CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start

CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start SYSTEM REQUIREMENTS Hardware Operating System Disk Space PC with 1 GHz Intel Pentum -compatible processor 512 MB of RAM

More information

Application Note. 8-bit Microcontrollers. AVR272: USB CDC Demonstration UART to USB Bridge

Application Note. 8-bit Microcontrollers. AVR272: USB CDC Demonstration UART to USB Bridge AVR272: USB CDC Demonstration UART to USB Bridge Features Supported by Windows 2000 or later No driver installation Virtual COM Port Enumeration USB to RS232 Bridge with dynamic baudrate Bus powered 8-bit

More information

TWR-KV31F120M Sample Code Guide for IAR Board configuration, software, and development tools Rev.0

TWR-KV31F120M Sample Code Guide for IAR Board configuration, software, and development tools Rev.0 TWR-KV31F120M Sample Code Guide for IAR Board configuration, software, and development tools Rev.0 Freescale TWR-KV31F120M Sample Code Guide for IAR KL25_LAB Contents 1 Purpose... 3 2 Getting to know the

More information

AN3354 Application note

AN3354 Application note Application note STM32F105/107 in-application programming using a USB host 1 Introduction An important requirement for most Flash-memory-based systems is the ability to update firmware installed in the

More information

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual Copyright 2007 SofTec Microsystems DC01197 We want your feedback! SofTec Microsystems is always on

More information

AVR353: Voltage Reference Calibration and Voltage ADC Usage. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR353: Voltage Reference Calibration and Voltage ADC Usage. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR353: Voltage Reference Calibration and Voltage ADC Usage Features Voltage reference calibration. - 1.100V +/-1mV (typical) and < 90ppm/ C drift from 10 C to +70 C. Interrupt controlled voltage ADC sampling.

More information

AT89C5131A Starter Kit... Software User Guide

AT89C5131A Starter Kit... Software User Guide AT89C5131A Starter Kit... Software User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Abbreviations...1-1 Section 2 Getting Started... 2-3 2.1 Hardware Requirements...2-3 2.2 Software Requirements...2-3

More information

Atmel Power Line Communications. Solutions for the Smart Grid

Atmel Power Line Communications. Solutions for the Smart Grid Atmel Power Line Communications Solutions for the Smart Grid Key Applications Powering the Smart Grid Home and industrial automation Control systems Smart metering Intelligent lighting Smart appliances

More information

Application Note. C51 Bootloaders. C51 General Information about Bootloader and In System Programming. Overview. Abreviations

Application Note. C51 Bootloaders. C51 General Information about Bootloader and In System Programming. Overview. Abreviations C51 General Information about Bootloader and In System Programming Overview This document describes the Atmel Bootloaders for 8051 family processors. Abreviations ISP: In-System Programming API : Applications

More information

AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction AVR319: Using the USI module for SPI communication Features C-code driver for SPI master and slave Uses the USI module Supports SPI Mode 0 and 1 Introduction The Serial Peripheral Interface (SPI) allows

More information

AN10866 LPC1700 secondary USB bootloader

AN10866 LPC1700 secondary USB bootloader Rev. 2 21 September 2010 Application note Document information Info Content Keywords LPC1700, Secondary USB Bootloader, ISP, IAP Abstract This application note describes how to add a custom secondary USB

More information

Lab 1 Course Guideline and Review

Lab 1 Course Guideline and Review Lab 1 Course Guideline and Review Overview Welcome to ECE 3567 Introduction to Microcontroller Lab. In this lab we are going to experimentally explore various useful peripherals of a modern microcontroller

More information

APPLICATION NOTE. Secure Personalization with Transport Key Authentication. ATSHA204A, ATECC108A, and ATECC508A. Introduction.

APPLICATION NOTE. Secure Personalization with Transport Key Authentication. ATSHA204A, ATECC108A, and ATECC508A. Introduction. APPLICATION NOTE Secure Personalization with Transport Key Authentication ATSHA204A, ATECC108A, and ATECC508A Introduction The Atmel CryptoAuthentication ATSHA204A, ATECC108A, and ATECC508A devices (crypto

More information

AN3265 Application note

AN3265 Application note Application note Handling hardware and software failures with the STM8S-DISCOVERY Application overview This application is based on the STM8S-DISCOVERY. It demonstrates how to use the STM8S window watchdog

More information

APPLICATION NOTE. AT03155: Real-Time-Clock Calibration and Compensation. SAM3 / SAM4 Series. Scope

APPLICATION NOTE. AT03155: Real-Time-Clock Calibration and Compensation. SAM3 / SAM4 Series. Scope APPLICATION NOTE AT03155: Real-Time-Clock Calibration and Compensation Scope SAM3 / SAM4 Series In most low-cost, low-power systems, the Real Time Clock (RTC) accuracy is inherited from a 32.768kHz crystal

More information

Zynq-7000 Platform Software Development Using the ARM DS-5 Toolchain Authors: Simon George and Prushothaman Palanichamy

Zynq-7000 Platform Software Development Using the ARM DS-5 Toolchain Authors: Simon George and Prushothaman Palanichamy Application Note: Zynq-7000 All Programmable Soc XAPP1185 (v2.0) May 6, 2014 Zynq-7000 Platform Software Development Using the ARM DS-5 Toolchain Authors: Simon George and Prushothaman Palanichamy Summary

More information

Designing Feature-Rich User Interfaces for Home and Industrial Controllers

Designing Feature-Rich User Interfaces for Home and Industrial Controllers Designing Feature-Rich User Interfaces for Home and Industrial Controllers Author: Frédéric Gaillard, Product Marketing Manager, Atmel We have all become familiar with intuitive user interfaces on our

More information

AVR ONE!... Quick-start Guide. EVK1101 + Windows 32104B AVR ONE! 02/10

AVR ONE!... Quick-start Guide. EVK1101 + Windows 32104B AVR ONE! 02/10 AVR ONE!... Quick-start Guide EVK1101 + Windows Table of Contents (Continued) Section 1 Introduction...1-1 1.1 General... 1-1 1.2 Requirements... 1-1 Section 2 Quick-start guide (short version)...2-1 2.1

More information

UM1969 User manual. Getting started with STM32F746G discovery software development tools. Introduction

UM1969 User manual. Getting started with STM32F746G discovery software development tools. Introduction UM1969 User manual Getting started with STM32F746G discovery software development tools Introduction This document describes the software environment recommendations, required to build an application using

More information

Dell Statistica 13.0. Statistica Enterprise Installation Instructions

Dell Statistica 13.0. Statistica Enterprise Installation Instructions Dell Statistica 13.0 2015 Dell Inc. ALL RIGHTS RESERVED. This guide contains proprietary information protected by copyright. The software described in this guide is furnished under a software license or

More information

AVR106: C Functions for Reading and Writing to Flash Memory. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

AVR106: C Functions for Reading and Writing to Flash Memory. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE AVR 8-bit Microcontrollers AVR106: C Functions for Reading and Writing to Flash Memory APPLICATION NOTE Introduction The Atmel AVR devices have a feature called Self programming Program memory. This feature

More information

Ride7 for ARM. RAISONANCE Tools for the STRx and STM32 families. Overview and Getting Started

Ride7 for ARM. RAISONANCE Tools for the STRx and STM32 families. Overview and Getting Started Ride7 for ARM RAISONANCE Tools for the STRx and STM32 families Overview and Getting Started July 2007 Table of Contents 1. INTRODUCTION 4 1.1 RAISONANCE tools for the ARM family 6 1.2 Third party tools

More information

AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE

AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE Atmel AVR 8-bit Microcontrollers AT15007: Differences between ATmega328/P and ATmega328PB APPLICATION NOTE Introduction This application note assists the users of Atmel ATmega328 variants to understand

More information

AVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR134: Real Time Clock (RTC) using the Asynchronous Timer Features Real Time Clock with Very Low Power Consumption (4 μa @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts

More information

Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial

Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial Embedded Processor Hardware Design January 29 th 2015. VIVADO TUTORIAL 1 Table of Contents Requirements... 3 Part 1:

More information

SAM D21 Xplained Pro. Preface. SMART ARM-based Microcontrollers USER GUIDE

SAM D21 Xplained Pro. Preface. SMART ARM-based Microcontrollers USER GUIDE SMART ARM-based Microcontrollers SAM D21 Xplained Pro USER GUIDE Preface The Atmel SAM D21 Xplained Pro evaluation kit is a hardware platform to evaluate the ATSAMD21J18A microcontroller. Supported by

More information

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram TOOLSTICK VIRTUAL TOOLS USER S GUIDE RELEVANT DEVICES 1. Introduction The ToolStick development platform consists of a ToolStick Base Adapter and a ToolStick Daughter card. The ToolStick Virtual Tools

More information

AVR131: Using the AVR s High-speed PWM. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

AVR131: Using the AVR s High-speed PWM. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE AVR 8-bit Microcontrollers AVR131: Using the AVR s High-speed PWM APPLICATION NOTE Introduction This application note is an introduction to the use of the high-speed Pulse Width Modulator (PWM) available

More information

APPLICATION NOTE. Atmel AVR911: AVR Open Source Programmer. 8-bit Atmel Microcontrollers. Features. Introduction

APPLICATION NOTE. Atmel AVR911: AVR Open Source Programmer. 8-bit Atmel Microcontrollers. Features. Introduction APPLICATION NOTE Atmel AVR911: AVR Open Source Programmer 8-bit Atmel Microcontrollers Features Open source C++ code Modular design Reads device information from the Atmel AVR Studio XML files Supports

More information