Question regarding CCP


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2007
    Location
    Pennsylvania, USA
    Posts
    158

    Default Question regarding CCP

    So looking over the datasheet for an 18F2620 in the CCP section 15.2.1 under pin configuration I found this note:

    Note: If RB3/CCP2 or RC1/CCP2 is configured
    as an output, a write to the port can cause
    a capture condition.
    Can anyone explain this to me? If I understand it correctly I think using CCP1 can get false captures if I write to the CCP2 pin in output mode.
    Shawn

  2. #2
    Join Date
    Jul 2003
    Location
    USA - Arizona
    Posts
    156


    Did you find this post helpful? Yes | No

    Default Re: Question regarding CCP

    That comment is there for every PIC I've used with CCP input. If you are using the CCP input, but configure the pin for an output when you write to the output the CCP module may trigger. It is part of the whole R-M-W state machine. The pin's functions are multiplexed. Having said that, there should be no CCP1-to-CCP2 crosstalk; if that's what you're worried about.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts