DSPRelated.com
Forums

=?GB2312?B?tPC4tDogW2M2eF0gSFdJIHVzaW5nIGRzcCBiaW9zLg==?=

Started by "Yang, Chunhua" December 2, 2008
HI,

For DSP/BIOS application, before main() function, all BIOS modules have been
initilised. Main function is usually used for you own application initialisation
(e.g. your own hardware initilisation). Also, in main function, global interrupt
enable should not be allowed. So, You may try to interrupt when running in a
task object.

Hope this works.

Regards,

C. Yang

________________________________

From: c... muneeb abid
Sent: 2008-12-2 () 12:53
To: c...
Subject: [c6x] HWI using dsp bios.

Hello

can anyone guide me about configuration of HWI using DSP bios...
I am putting the isr function in HWI object( in my case i am using HWI 4) . and
in main i am calling DSP bios function HWI_disable and HWI_enable. and then
while loop. and processor wait for the intrupt.

As i give the intrupt signal my ISR is not called and i dont see any change in
IER and IFR registers

Thanks in advance for reply

-Muneeb
GIE has to be enabled in all the cases
You can maybe check the Mask of the interrupts and check interrupt vector address

Regards
To: m...@yahoo.com; c...From: c...@liv.ac.ukDate: Tue, 2 Dec 2008 21:47:34 +0000Subject: : [c6x] HWI using dsp bios.

HI,

For DSP/BIOS application, before main() function, all BIOS modules have been initilised. Main function is usually used for you own application initialisation (e.g. your own hardware initilisation). Also, in main function, global interrupt enable should not be allowed. So, You may try to interrupt when running in a task object.

Hope this works.

Regards,

C. Yang

From: c... Nmuneeb abidSent: 2008-12-2 (PG) 12:53To: c...Subject: [c6x] HWI using dsp bios.

Hellocan anyone guide me about configuration of HWI using DSP bios...I am putting the isr function in HWI object( in my case i am using HWI 4) . and in main i am calling DSP bios function HWI_disable and HWI_enable. and then while loop. and processor wait for the intrupt.As i give the intrupt signal my ISR is not called and i dont see any change in IER and IFR registersThanks in advance for reply-Muneeb
Thanks for the reply

yes i am enabling the GIE bit and corresponding IER bit in main function . but when i give the int4 pin...there is no change in the IFR bit. but if i manually triger IFR bit to give intrupt the function is called and works properly. is there a way to connect HWI_INT4 to INT4. i am using DSK6455 and DSP BIOS 5.31.
I have seen in some example there is a filed to tell the intrupt source like "external_pin4". but i cant see any field to specify the intrupt source. so i think HWI_int4 is connected to INT4 by default.

what am i doing wrong ?.

Thank again for the reply

--- On Wed, 12/3/08, christophe blouet wrote:
From: christophe blouet
Subject: RE: 答复: [c6x] HWI using dsp bios.
To: c...@liv.ac.uk, m...@yahoo.com, c...
Date: Wednesday, December 3, 2008, 4:04 AM

#yiv1104065588 .hmmessage P
{
margin:0px;padding:0px;}
#yiv1104065588 {
font-size:10pt;font-family:Verdana;}

GIE has to be enabled in all the cases

You can maybe check the Mask of the interrupts and check interrupt vector address

 

Regards

To: m...@yahoo.com; c...
From: c...@liv.ac.uk
Date: Tue, 2 Dec 2008 21:47:34 +0000
Subject: 答复: [c6x] HWI using dsp bios.

HI,
 
For DSP/BIOS application, before main() function, all BIOS modules have been initilised. Main function is usually used for you own application initialisation (e.g. your own hardware initilisation). Also, in main function, global interrupt enable should not be allowed. So, You may try to interrupt when running in a task object.
 
Hope this works.
 
Regards,
 
C. Yang
From: c... 代表 muneeb abid
Sent: 2008-12-2 (星期二) 12:53
To: c...
Subject: [c6x] HWI using dsp bios.

Hello

can anyone guide me about configuration of HWI using DSP bios...
I am putting the isr function in HWI object( in my case i am using HWI 4) . and in main i am calling DSP bios function HWI_disable and HWI_enable. and then while loop. and processor wait for the intrupt.

As i give the intrupt signal my ISR is not called and i dont see any change in IER and IFR registers

Thanks in advance for reply

-Muneeb