Part Number: TMS320F28069M
Other Parts Discussed in Thread: SYSBIOS, MOTORWARE
Tool/software: Code Composer Studio
Hi,
I am trying to add SYSBIOS to an existing project lab that is part of motorware. The lab I am working with is Lab13f.
I have added an RTSC file, added one main task that is doing what the main loop would do in lab13a and added one HWI
with SciA peripheral to be able to have data reception in ISR.
The code compiles but when I ran the code it reaches the following TRAP inside this function:
interrupt void PIE_illegalIsr(void)
I noticed that when I comment out the the foolowing lines :
// pie->ADCINT1 = &motor1_ISR;
// pie->ADCINT2 = &motor2_ISR;
// pie->SCIRXINTA = &sciaRxFifoIsr;
(These lines initialize the interrupt vector table with the 3 interrupts that I am using in the code: 2 ADCs and 1 SCIA interrupt functions)
then the PIE Illegal ISR is eliminated.
The first thing I would like to know is if someone ever tried to do that? I mean use moroware lab with SYSBIOS? Should it work?
My guess is that I will have to change something in the Interrupts to have them work as part of SYSBIOS or do the opposite by
unpluging the ISRs from being handles by SYSBIOS.
Can someone please help in trying to figure out how to proceed? I'm clueless.
Are there any code examples of motorware with SYSBIOS?
Thanks,
Raphael