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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/06/06 17:54
Read: times


 
#119764 - I have never used KBI, it serves no purp
Responding to: ???'s previous message
KBIF gets set and causes an interrupt and it is impossible to clear unless I clear KBMASK = 0x00
This MAY be correct operation of the chip. Disable the KBI in the ISR and reenable it when you, no, the chip :) go to sleep.

Have you ever used KBI this way with two or more pins to cause an interrupt?
I have never used KBI, it serves no purpose except in cases where you need a keypress to wake the processor up.

I spent a few minutes last i di a 932 keypad on using the KBI and found that combining that with debounce would make things much more complicated than ignoring it.
Were I to use the keypad int as a wake up, I would use it as such and NOTHING else. Then use my regular debouncing keypad routine as if no KBI existed.

Erik

List of 28 messages in thread
TopicAuthorDate
LPC932 KBI Interrupt            01/01/70 00:00      
   nothing to do with KBI            01/01/70 00:00      
   Port is good!            01/01/70 00:00      
      whay do you not do as suggested?            01/01/70 00:00      
         I did it            01/01/70 00:00      
            below you talk about a 'stuck' interrupt            01/01/70 00:00      
   More details.            01/01/70 00:00      
      I have never used KBI, it serves no purp            01/01/70 00:00      
         That's my case!            01/01/70 00:00      
            you posted that interrupt DOES occur:            01/01/70 00:00      
               Do not get confused            01/01/70 00:00      
                  continuing            01/01/70 00:00      
                     EA is set            01/01/70 00:00      
                        so, you have an ICE, great            01/01/70 00:00      
                           ICE could affect KBI            01/01/70 00:00      
                              How is your P0 set up            01/01/70 00:00      
                                 forget it            01/01/70 00:00      
                                    ICE?            01/01/70 00:00      
                                       In Circuit Emulator            01/01/70 00:00      
                                          ICE            01/01/70 00:00      
                                             maybe it is ( to some extent?)            01/01/70 00:00      
                                                Yes            01/01/70 00:00      
                                                   Ok an emulator, (E) not an ICE            01/01/70 00:00      
                              as usual - divide and conquer            01/01/70 00:00      
                           Back on track            01/01/70 00:00      
                              you need to change something in the ISR            01/01/70 00:00      
                                 I Got it!            01/01/70 00:00      
         Does this help            01/01/70 00:00      

Back to Subject List