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] SAM4 USART interrupt code examplePosted by dvukovic on April 22, 2013 Is there a sample code for using USARTx with interrupts in FreeRTOS ?
Thank you
RE: SAM4 USART interrupt code examplePosted by Richard on April 22, 2013 Yes - there are numerous examples in the Atmel ASF (Atmel Software Framework). Look of "FreeRTOS Peripheral Control" examples in the ASF download (http://asf.atmel.com). See http://www.atmel.com/images/doc42049.pdf
Regards.
RE: SAM4 USART interrupt code examplePosted by Donald Vukovic on April 22, 2013 I am sorry, but I have looked at that for a week now and nothing I do works.
My code is stuck repeating the same USART1_handler() over and over again.
I tried to follow the SYS_TICK interrupt as a model, but that did not work.
I would guess that I am not actually clearing the USART1 interrupt, but I just do not see why I can not do it.
As soon as I enable that interrupt, it starts and does not end.
If pasting the code here would help, I will. ( I know its frowned upon)
Thank you (again)
RE: SAM4 USART interrupt code examplePosted by MEdwards on April 23, 2013 I don't think the example uses USART1_handler() because it uses the DMA interrupts instead. I could be wrong though.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|