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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/16/04 20:40
Read: times


 
#72606 - RE: P89C51RD2 PCA Interrupts Not working
Responding to: ???'s previous message
Greetings,

Thanks for the Response Erik. I see one big difference in your Config from mine, and that is your using a compare function, rather than capture.

CCAPMn = ECOMn + MATn + ECCFn
- Enable Comparator
- Match Enabled
- CCF Interrupt Enabled.

According to the datasheet and PCA Cookbook, only the Edge Definition (CAPNn or CAPPn) and the ECCFn are required to generate interrupts...

It doesn't really make sense to set the MATn bit for a capture function does it ?

Thanks,
Lenny


List of 10 messages in thread
TopicAuthorDate
P89C51RD2 PCA Interrupts Not working            01/01/70 00:00      
   RE: P89C51RD2 PCA Interrupts Not working            01/01/70 00:00      
      RE: P89C51RD2 PCA Interrupts Not working            01/01/70 00:00      
         RE: P89C51RD2 PCA Interrupts Not working            01/01/70 00:00      
            RE: P89C51RD2 PCA Interrupts Not working            01/01/70 00:00      
   RE: P89C51RD2 PCA Interrupts Not working            01/01/70 00:00      
      RE: P89C51RD2 PCA Interrupts Not working            01/01/70 00:00      
      RE: P89C51RD2 PCA Interrupts Not working            01/01/70 00:00      
      RE: P89C51RD2 PCA Interrupts Not working            01/01/70 00:00      
      RE: P89C51RD2 PCA Interrupts Not working            01/01/70 00:00      

Back to Subject List