DSPRelated.com
Forums

[code-comp] Re: C6211 Interrupts McBSP & Timer1 & DSP/BIOSII

Started by KRUCHIO Gabor - VD3 April 5, 2001

> Hey,we don't have the ssl subdirectory in the ccs. is this because
> the ccs we have is for c6211 dsk? i'm using ccs vercion 1.05.

I am using CCS 1.20. The Chip Support Library's version is 1.20 as well.
TI support told me that CCS 2.0 will be released with CSL 2.0 in 1Q 2001
(some applicatin reports contains sample codes using CSL2.0 already). > by the
> way, does sthis version of ccs supports the dsp/biosII?

check spra675 "Upgrading Applications to DSP/BIOSII" Table I. DSP/BIOS
Versions.

regards:
Gabor > > Hello Garfay,
> > check some projects (C source files and DSP/BIOS configuration) in
> > %TI_DIR%\c6000\ssl\examples
> > E.g.:
> > %TI_DIR%\c6000\ssl\examples\6201evm\stress
> > %TI_DIR%\c6000\ssl\examples\6211dsk\timer2
> >
> > Bye,
> > Gabor
> >
> > > I'm in the process of updating my code to use interrupts rather
> than
> > > polling and waiting.
> > >
> > > I need to used Ext_Int4 for the McBSP Hardware interrupt and also
> > > Timer1, to send a signal every 6000 bit clock cycles.
> > >
> > > My code looks something like this:
> > >
> > > #include <c6x.h>
> > > #include <c6211dsk.h>
> > > #include "c6211interrupts.h"
> > >
> > > void set_interrupts(void)
> > > {
> > > config_Interrupt_Selector(2, TINT1);
> > > config_Interrupt_Selector(4, EXT_INT4);
> > > enableSpecificINT(2);
> > > enableSpecificINT(4);
> > > enableNMI();
> > > enableGlobalINT();
> > > }
> > >
> > > I want EXT_INT4 to call a function called poll_int when
> interrupted,
> > > and for TINT1 to call a function call calib_node, when timer1
> > > interrupts.
> > >
> > > I'm not sure what .asm or .cmd files I need, I have looked at
> > > SPHA001, SPRU190D, SPRU189D, and several examples, I have no
> > > experience with asmmebly, so I'm looking for a solution with as
> > > little asmmebly as possible.
> > >
> > > Is there something to sent in the the Compiler/Assemby/Linker
> options?
> > >
> > > Thanks
> > >
> > > Garfay
>