Skip to main content
maria1
Associate
June 4, 2007
Question

Interrupts problem

  • June 4, 2007
  • 2 replies
  • 818 views
Posted on June 04, 2007 at 09:28

Interrupts problem

This topic has been closed for replies.

2 replies

maria1
maria1Author
Associate
June 4, 2007
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
maria1Author
Associate
June 4, 2007
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

:-[