Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Thread Closed: Became flame-war

???
02/07/05 00:01
Read: times


 
#86684 - Ignoring Interrupts
Responding to: ???'s previous message
Russell Bull said:

I find this assetion also puzzling. If the source was a level trigerred interrupt the int flag is set and cleared by the dispatch to the isr - so I doubt that could be ignored. The only way I could see this happening is the higher priority isr resetting the lower priority int flags - thus the lower priority interrupt would be effectively ignored.

The relevant section of the 'bible' for INT0 and INT1 only is as follows:

When an external interrupt is generated, the flag that is generated is cleared by the hardware when the service routine is vectored to only if the interrupt was transition-activated. If the interrupt was level activated then the external requesting source is what controls the request flag rather that the on chip hardware.

Later the bible says:

The interrupts are sampled at S5P2 of every cycle . The samples are polled during the following cycle ....... the interrupt system will generate and LCALL to the appropriate service routine provided (it) is not blocked by one of the following:

1. An interrupt of equal or higher priotiy already in progress.

2.

3.


And lastly it says:

Note that if an interrupt flag is active but not being responded to for one of the above reasons, if the flag is not still active when the blocking condition is remved, the denied interrupt will not be serviced. In other words, the fact that the interrupt flag was once active but not serviced IS NOT REMEMBERED. Every pooling cycle is new.


In other words, if you raise and lower a level sensitive INT0 or INT1 whilst an equal or higher priority ISR is in progress your interrupt will not be seen.

Ian

List of 52 messages in thread
TopicAuthorDate
Ignoring Interrupts            01/01/70 00:00      
   I think you got it....            01/01/70 00:00      
      true, not to the point and about books            01/01/70 00:00      
   Yes but no but..            01/01/70 00:00      
      Being Dazzled....            01/01/70 00:00      
      Book Sales            01/01/70 00:00      
         Ignoring interrupts            01/01/70 00:00      
            Ignoring Interrupts            01/01/70 00:00      
               Level trig interrupts            01/01/70 00:00      
                  re: Level trig interrupts            01/01/70 00:00      
                  High Reliability Systems.....            01/01/70 00:00      
                  Cogent Explanation            01/01/70 00:00      
                     poor design and            01/01/70 00:00      
                     The Obvious one            01/01/70 00:00      
                        what's in the name            01/01/70 00:00      
                        Another Design Issue            01/01/70 00:00      
                           a maintenance nightmare            01/01/70 00:00      
                              Maintenance Heaven            01/01/70 00:00      
                                 reality            01/01/70 00:00      
                                    reality            01/01/70 00:00      
                                       huh?            01/01/70 00:00      
                                          Responding to Interrupts            01/01/70 00:00      
                                             nope            01/01/70 00:00      
                                                Yup            01/01/70 00:00      
                                                   theory and practice            01/01/70 00:00      
                                                   read trhe bible            01/01/70 00:00      
                                                      Read carefully            01/01/70 00:00      
                                                         now you lose me            01/01/70 00:00      
                                                            Back on Track            01/01/70 00:00      
                                                               of course            01/01/70 00:00      
                                                                  Absolutely.            01/01/70 00:00      
                                 nope            01/01/70 00:00      
                                    do not get me wrong            01/01/70 00:00      
                                       Real Time vs Fast            01/01/70 00:00      
                                          not very fast            01/01/70 00:00      
                                             Quite Fast Actually            01/01/70 00:00      
                                                why not call a spade a spade            01/01/70 00:00      
                                                   coming to think of it            01/01/70 00:00      
                                                   Why say Spade when you mean Shovel            01/01/70 00:00      
                                    Timing a Task            01/01/70 00:00      
                                       there is cause you WILL miss one            01/01/70 00:00      
                                          Politeness            01/01/70 00:00      
                                             what is impolite about a fact            01/01/70 00:00      
                                                Offensive            01/01/70 00:00      
                                                   not you, the word            01/01/70 00:00      
                        re: the obvious one            01/01/70 00:00      
                        It seemed to be a trend            01/01/70 00:00      
                           seem to            01/01/70 00:00      
               re:            01/01/70 00:00      
   Pity..            01/01/70 00:00      
      that would indicate doubt            01/01/70 00:00      
         Peer Review            01/01/70 00:00      

Back to Subject List