Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

Tutorial for creating interrupts on Atmel stu

Posted by Donald Vukovic on April 10, 2013
Is there a tutorial for creating interrupts on Atmel Studio ?

I have polling working, but the interrupt does not. (i.e. no code is generated, but compile is successful)

magpiesw

RE: Tutorial for creating interrupts on Atmel stu

Posted by Richard on April 10, 2013
I don't think that Atmel Studio has any methods of creating interrupts, but it does include lots and lots of drivers that already have interrupts service routines defined in them. If you are using the FreeRTOS peripheral control drivers that are part of the ASF then you don't need to write the interrupt service routines as the code manages the interrupts and the DMA for you. See http://www.atmel.com/images/doc42049.pdf

If you are just wanting to write a FreeRTOS compatible interrupt, then read the "Interrupt Service Routines" section of the web page that documents the demo you are using. Also if you are using a SAM3 or SAM4 part ensure to follow the rules regarding interrupt priority configuration very carefully - that is documented on the same page.

Regards.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS