DSPRelated.com
Forums

Interrupts and the DSP/BIOS

Started by thamiral July 26, 2004
Hello,

Does anyone know how hardware interrupts and the DSP/BIOS interact?
Specifically, I would like to find out what happens before and after
the Main function is called, when the interrupts are really enabled
and how interrupts can be selectively enabled. (I think the DSP/BIOS
just enables all the interrupts after the main function has returned,
just before going to the idle task.)

Thanks,

Taha



Taha,

I have found that the DSP/BIOS does not enable all
interrupts after execution of main. Further you can
plug the required function to a given interrupt(Use
HWI_dispatchPlug) and the BIOS will manage to execute
this function when the particular h/w interrupt
occurs.

Hope this helps.

Regards,
Bhavani

--- thamiral <> wrote: > Hello,
>
> Does anyone know how hardware interrupts and the
> DSP/BIOS interact?
> Specifically, I would like to find out what happens
> before and after
> the Main function is called, when the interrupts are
> really enabled
> and how interrupts can be selectively enabled. (I
> think the DSP/BIOS
> just enables all the interrupts after the main
> function has returned,
> just before going to the idle task.)
>
> Thanks,
>
> Taha >
>
> _____________________________________
> 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: Send an email to > To Post: Send an email to
>
> To Leave: Send an email to > Archives: http://www.yahoogroups.com/group/c6x
>
> Other Groups: http://www.dsprelated.com
>
> Yahoo! Groups Links >
>

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony


Bhavani-

> I have found that the DSP/BIOS does not enable all
> interrupts after execution of main. Further you can
> plug the required function to a given interrupt(Use
> HWI_dispatchPlug) and the BIOS will manage to execute
> this function when the particular h/w interrupt
> occurs.

I found the same thing. I manually updated IER to fix -- don't know if that's a
"TI
recommended correct procedure", but it worked Ok.

-Jeff

> --- thamiral <> wrote: > Hello,
> >
> > Does anyone know how hardware interrupts and the
> > DSP/BIOS interact?
> > Specifically, I would like to find out what happens
> > before and after
> > the Main function is called, when the interrupts are
> > really enabled
> > and how interrupts can be selectively enabled. (I
> > think the DSP/BIOS
> > just enables all the interrupts after the main
> > function has returned,
> > just before going to the idle task.)
> >
> > Thanks,
> >
> > Taha
> >
> >
> >
> >
> > _____________________________________
> > 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: Send an email to
> >
> >
> > To Post: Send an email to
> >
> > To Leave: Send an email to
> >
> >
> > Archives: http://www.yahoogroups.com/group/c6x
> >
> > Other Groups: http://www.dsprelated.com
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>
> ________________________________________________________________________
> Yahoo! India Matrimony: Find your life partner online
> Go to: http://yahoo.shaadi.com/india-matrimony
>
> _____________________________________
> 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: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://www.yahoogroups.com/group/c6x
>
> Other Groups: http://www.dsprelated.com
>
> Yahoo! Groups Links >
>




The following is from BIOS user Guide:

Note: When configuring an interrupt with the Configuration Tool,
DSP/BIOS plugs in the corresponding ISR (interrupt service routine)
into the appropriate location of the interrupt service table. However,
DSP/BIOS does not enable the interrupt bit in IER. It is your
responsibility to do this at startup or whenever appropriate during
the application execution.

Chets --- In , Jeff Brower <jbrower@s...> wrote:
> Bhavani-
>
> > I have found that the DSP/BIOS does not enable all
> > interrupts after execution of main. Further you can
> > plug the required function to a given interrupt(Use
> > HWI_dispatchPlug) and the BIOS will manage to execute
> > this function when the particular h/w interrupt
> > occurs.
>
> I found the same thing. I manually updated IER to fix -- don't know
if that's a "TI
> recommended correct procedure", but it worked Ok.
>
> -Jeff
>
> > --- thamiral <thamiral@u...> wrote: > Hello,
> > >
> > > Does anyone know how hardware interrupts and the
> > > DSP/BIOS interact?
> > > Specifically, I would like to find out what happens
> > > before and after
> > > the Main function is called, when the interrupts are
> > > really enabled
> > > and how interrupts can be selectively enabled. (I
> > > think the DSP/BIOS
> > > just enables all the interrupts after the main
> > > function has returned,
> > > just before going to the idle task.)
> > >
> > > Thanks,
> > >
> > > Taha
> > >
> > >
> > >
> > >
> > > _____________________________________
> > > 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: Send an email to
> > >
> > >
> > > To Post: Send an email to
> > >
> > > To Leave: Send an email to
> > >
> > >
> > > Archives: http://www.yahoogroups.com/group/c6x
> > >
> > > Other Groups: http://www.dsprelated.com
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
________________________________________________________________________
> > Yahoo! India Matrimony: Find your life partner online
> > Go to: http://yahoo.shaadi.com/india-matrimony
> >
> > _____________________________________
> > 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: Send an email to
> >
> > To Post: Send an email to
> >
> > To Leave: Send an email to
> >
> > Archives: http://www.yahoogroups.com/group/c6x
> >
> > Other Groups: http://www.dsprelated.com
> >
> > Yahoo! Groups Links
> >
> >
> >
> >