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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/14/10 06:34
Modified:
  10/14/10 06:35

Read: times


 
#179096 - EIE2, EA and ISR
Responding to: ???'s previous message
To get a rising interrupt from P3.7 you need:

P3IF |= 0x08;
P3MDOUT &= ~0x80;
P3 |= 0x80;
EIE2 |= 0x20;
EA = 1;
and an interrupt service routine (ISR) for interrupt 19 (vector 0x009B).

And if that doesn't work you could still have another interrupt stuck active.

Which toolchain are you using?
Have you tried the SiLabs Config Wizard?
Have you watched all SFR's in the IDE?
Have tried stepping through the assembly?

Maarten

List of 17 messages in thread
TopicAuthorDate
Port 3 interrupt and input problem, Silicon Labs C8051F020            01/01/70 00:00      
   inconsistency in datasheet            01/01/70 00:00      
      Thank you            01/01/70 00:00      
         also            01/01/70 00:00      
            Clarification on answer            01/01/70 00:00      
               for this            01/01/70 00:00      
                  Confusing replies            01/01/70 00:00      
                     Not my confusion            01/01/70 00:00      
                        confused me            01/01/70 00:00      
                           confused me            01/01/70 00:00      
                              hm            01/01/70 00:00      
                                 the common method is ....            01/01/70 00:00      
                                    good            01/01/70 00:00      
                                 On Some SiLabs Parts (but not 'F020)            01/01/70 00:00      
                                    interrupt polarity on F020            01/01/70 00:00      
                                       Correct?            01/01/70 00:00      
                                          EIE2, EA and ISR            01/01/70 00:00      

Back to Subject List