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] [December 2009 Threads] PIC32 port interrupt problemPosted by wne on December 15, 2009 My code uses int1, int2 and int3. I set break points in each of those ISR and run my code in debug mode. When I trigger the pins, the interrupts never happen. When I stop the code, I can observe that the INTx interrupt flags were set. Any clue on what happen here?
RE: PIC32 port interrupt problemPosted by Dave on December 15, 2009 Do you think this is something to do with FreeRTOS?
RE: PIC32 port interrupt problemPosted by mike costa on December 15, 2009 If you never make it to the ISR, the problem is not with FreeRTOS. check your pin settings. make sure you enable GPIO interrupts for those particular pins.
RE: PIC32 port interrupt problemPosted by wne on December 16, 2009 Thanks for all the answers. I am new to FreeRTOS, so, getting confused where should I look the cause. Now I fixed it. I declared:
void __attribute__((interrupt(ipl1), vector(_EXTERNAL_1_VECTOR))) Membrane_Select_ISR(void) But, it does not set the interrupt priority. I have to add this
IPC1bits.INT1IP = 1;
then, it works. Just don't know why.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|