cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupts problem

maria1
Associate II
Posted on June 04, 2007 at 09:28

Interrupts problem

2 REPLIES 2
maria1
Associate II
Posted on June 04, 2007 at 09:26

I have a problem in my application which , I suppose , refers to wrong interrupts initialization.

In my program I have external interrupts , timer A interrupts , SCI ( UART interupts ) and in continuation - SPI interrupts.

I don't exactly know how even to define my problem.

The following scenario keeps repeating itself:

- The program works , the interrupts are executed

- I decide to tak step forward and made some change/ addition in the algorithm

- The program stops wrokin correctly

- I revert the changes i've made , but the program still doesn't work

- After number of random corrections ( usually associated with interrupts ) the program starts working correctly again.

- And from the beginning........

Is there any determine sequence for interrupts service initialization?

Please help , the isuue is very urgent.

I use ST72F321BAR9 micro

I debug using InDART.

:-? :-? :-?

maria1
Associate II
Posted on June 04, 2007 at 09:28

By now i have a problem adding SCI interrupt

Without SCI interrupt - external source interrupts work correctly

:-[