CCP1CON and CCP2CON strange behaviour - need some advice


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: CCP1CON and CCP2CON strange behaviour - need some advice

    Hi,

    It's just a passive board, with a single female header on one side and two mail headers on top

    Name:  easytest-board_1.jpg
Views: 1175
Size:  27.1 KB

    I think I've discovered what was happening. Looking at the schematic for the RTC2 add-on board there is an SQW pin which outputs a square wave that can be used as an interrupt... when this is plugged into the header on the EasyPIC5 board this SQW pin on the header connects to PORTC.2, hence the regular pulsing.

    I didn't twig that this issue only rose it's head when I chose to use external LEDs to see what was happening as the status display LEDs for C1 and C2 on the EasyPIC5 board are covered by the 4 x 20 LCD. So much wasted time, and my apologies for wasting your time trying to troubleshoot a non-code related issue

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default Re: CCP1CON and CCP2CON strange behaviour - need some advice

    Quote Originally Posted by Scampy View Post
    Hi,
    .....So much wasted time, and my apologies for wasting your time trying to troubleshoot a non-code related issue
    Nevertheless, problem solved, right? What does it matter anyway.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Similar Threads

  1. Strange IT behaviour
    By MikeBZH in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 10th February 2012, 09:00
  2. Strange behaviour
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th October 2009, 22:35
  3. Strange Serout Behaviour
    By bluesmoke in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th August 2009, 04:12
  4. Strange ADC behaviour
    By ruijc in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 12th December 2007, 20:03
  5. strange int behaviour
    By tom in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th November 2005, 15:41

Members who have read this thread : 0

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