You need to make sure that the priority level for the interrupt is
greater than zero. This by defining the priority level in the appconfig.h file.
An example is below:
#define
GPR_INT_PRIORITY_42
2
Just as an FYI you can also statically install your ISR by using the
defines such as given below:
#define NORMAL_ISR_8 UserIsrLabel
Section 7 of the SDK
programmmer's guide has a good description of using the different
interrupt levels support and installation. But in regards to the dynamic
installation this is useful if the ISR service routine needs to change during
the run time operation. If the ISR never really changes then the static
installation is good and saves some space.
Thanks.
-
Bill
Hi Istarted using the SDK
enviroment 2 weeks ago before that I used Radagast but since I could not
get a sine function going and SDK had one already I started coding in SDK.
I also tryed doing the GPIO interrupt. According to the registers of
the flash everything is correct. The archInstallISR is getting the the right adress 0x0FC8 which will be for Port B. Iam trying to get a interrupt on pin 4.
gpioPortB = open(BSP_DEVICE_NAME_GPIO_B,
NULL);
archInstallISR(&(pArchInterrupts->MpioB), dirISR);
ioctl(gpioPortB, GPIO_SETAS_GPIO, gpioPin(B,4)); ioctl(gpioPortB,
GPIO_SETAS_INPUT, gpioPin(B,4)); ioctl(gpioPortB, GPIO_INTERRUPT_ENABLE,
gpioPin(B,4));
But I am also getting the same as Manfred. I also
tryed getting the proirity high but still iet will not interrupt.
This was done on the DSP805EVM with the SDK.
If somebody can help
it would be great.
Frikkie. --- In m...@yahoogroups.com, "Nitin
Madhukar Yewale" <nitin.yewale@w...> wrote: > Hi, >
Are u using codewarrior for development? If so
then u can assign > GPIO ISR by using following function call > >
archInstallISR(&(pArchInterrupts -> GPIO_Port), ISRRoutine); >
> Regards, > Nitin > > -----Original
Message----- > From: drmapl <m.plagmann@i...>
[mailto:m.plagmann@i...] > Sent: Monday, January 20, 2003 7:26 AM > To: m...@yahoogroups.com > Subject: [motoroladsp] GPIO interrupt
callback?> Hi all, > using a 56F805 I want to use the level sensitive
interrupt input on a > GPIO line. While I find all sorts of high
level routines to set > various operation parameters I don't know
how to set the interrupt > callback function. How can I set this
callback function? Do I have to > put a JSR statement into the
interrupt table by hand? > > Many thanks, > Manfred>
_____________________________________ > Note: If you do a simple "reply"
with your email client, only the author > of this message will
receive your answer. You need to do a "reply all" > if you
want your answer to be distributed to the entire group. > >
_____________________________________ > About this discussion group: > > To Join: m...@yahoogroups.com > > To
Post: m...@yahoogroups.com > > To Leave:
m...@yahoogroups.com > > Archives:
http://www.yahoogroups.com/group/motoroladsp > > More Groups:
http://www.dsprelated.com/groups.php3 > > >
">http://docs.yahoo.com/info/terms/> > **************************Disclaimer********************************** ** > > Information contained in this E-MAIL being proprietary
to Wipro Limited is > 'privileged' and
'confidential' and intended for use only by the individual > or entity to which it is addressed. You are notified that any use,
copying > or dissemination of the information contained in the
E-MAIL in any manner > whatsoever is strictly
prohibited.********************************************************************** *****
_____________________________________ Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you
want your answer to be distributed to the entire group.
_____________________________________ About this discussion group:
To Join: m...@yahoogroups.com
To Post:
m...@yahoogroups.com
To Leave: m...@yahoogroups.com
Archives: http://www.yahoogroups.com/group/motoroladsp
More Groups:
http://www.dsprelated.com/groups.php3
">Yahoo! Terms
of Service.
|