FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [April 2013 Threads] Tutorial for creating interrupts on Atmel stuPosted 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 stuPosted 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|