RTCC pin PIC microcontroller

Discussion in 'The Projects Forum' started by djmxyz_1991, Aug 3, 2013.

  1. djmxyz_1991

    Thread Starter New Member

    Jul 25, 2013
    8
    0
    I am using pic18f47j53 microcontroller.It has 1 RTCC pin.what to do with this pin?Is there any physical connections need to be done?According to my knowledge everything is to be done in programming.Please help..
     
  2. Potato Pudding

    Well-Known Member

    Jun 11, 2010
    684
    92
    If you look at the datasheet page number 237 you will see that they specify the use of that pin for -

    I don't think that will be anything that you will need to worry about.
     
  3. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,387
    1,605
    It sounds like you will not be using the real time clock calendar (RTCC) functions... so you need not do anything with that pin.

    That pin has several functions:
    RB1 port pin
    AN10 analog D2A input
    C3INC analog comparator input
    RTCC alarm indicator output
    RP4 Remappable Peripheral Pin (see 10.7)

    You are free to choose any ONE function for that pin. Choosing no function or more then one is possible but takes some skull sweat.
     
  4. djmxyz_1991

    Thread Starter New Member

    Jul 25, 2013
    8
    0
    How to configure that alarm indicator output..i.e what type of connections should be done on that RTCC pin??
     
  5. WBahn

    Moderator

    Mar 31, 2012
    17,743
    4,795
    What is it you are TRYING to do? That will determine what connections you make.
     
  6. WBahn

    Moderator

    Mar 31, 2012
    17,743
    4,795
    It takes some skull sweat to choose no function? :D
     
  7. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,387
    1,605
    Yes it does. You mean you've never seen a thread devolve into a flame was about how to terminate an unused pin?

    Should it be an input? Tied hi or low? With a resistor? What value?

    Should it be an output? Driven hi? Driven low?
     
  8. WBahn

    Moderator

    Mar 31, 2012
    17,743
    4,795
    Ah, I see your point.
     
  9. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,387
    1,605
    First you spend an hour or 12 reading section 17.0 REAL-TIME CLOCK AND CALENDAR (RTCC) of the data sheet.

    Then you determine which functions of the RTCC will be useful for your application.

    Finally, write some code, and test it too to make sure everything is working exactly as you desire.
     
Loading...