• AVR Freaks

Hot!Question about PIC16F84A internal oscillator and instructions [Solved]

Author
deva56
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2019/07/23 07:45:44
  • Location: 0
  • Status: offline
2019/10/13 11:43:52 (permalink)
0

Question about PIC16F84A internal oscillator and instructions [Solved]

Hello everybody,
 
Just one short question and couldn't find easy answer anywhere that I'm 100% sure.
 
Does PIC 16F84A have any other internal oscillators other than WDT has it's own RC oscillator?
Also does the same PIC have CLRWDT and SLEEP instructions because they are talked about in a lot of chapters but I do not see them in the instructions list?
 
Thank in advance.
 
Best regards,
Antonio
post edited by deva56 - 2019/10/25 04:57:45
#1

8 Replies Related Threads

    jack@kksound
    code tags!
    • Total Posts : 3221
    • Reward points : 0
    • Joined: 2014/05/14 10:03:19
    • Location: 0
    • Status: offline
    Re: Question about PIC16F84A internal oscillator and instructions 2019/10/14 11:17:28 (permalink)
    +2 (2)
    The very ancient 16F84A pic has no internal oscillator for the cpu clock, it may use an external crystal, resonator or other external signal source. The WDT has an internal RC oscillator, there are no other internal oscillators.
    All of this is in the datasheet.
    #2
    1and0
    Access is Denied
    • Total Posts : 10005
    • Reward points : 0
    • Joined: 2007/05/06 12:03:20
    • Location: Harry's Gray Matter
    • Status: offline
    Re: Question about PIC16F84A internal oscillator and instructions 2019/10/14 11:38:54 (permalink)
    +2 (2)
    deva56
    Does PIC 16F84A ...
    Also does the same PIC have CLRWDT and SLEEP instructions because they are talked about in a lot of chapters but I do not see them in the instructions list?
     

    What instruction set are you looking at?
     
    #3
    ric
    Super Member
    • Total Posts : 24639
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: offline
    Re: Question about PIC16F84A internal oscillator and instructions 2019/10/14 12:37:49 (permalink)
    +2 (2)
    deva56
    ...
    Also does the same PIC have CLRWDT and SLEEP instructions because they are talked about in a lot of chapters but I do not see them in the instructions list?

    I see them in the instruction list on page#36 of the current datasheet.
    http://ww1.microchip.com/downloads/en/DeviceDoc/35007C.pdf#page=36
     

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #4
    deva56
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2019/07/23 07:45:44
    • Location: 0
    • Status: offline
    Re: Question about PIC16F84A internal oscillator and instructions 2019/10/14 13:27:06 (permalink)
    0
    Regarding the instructions I cannot understand how I couldn't see them even though I have red the datasheet for like 30 times.
    Regarding the oscillator yea it doesn't write directly it does have any internal oscillators rather than WDT RC  but neither it writes that it doesn't have any internal oscillator rather than WDT RC so I just wanted to be sure.
     
    Everything else is pretty much understood, but actually one more question for now:
    For a change on the I/O pin to be recognized, the pulse width must be at least TCY wide.
    How much is that? Not sure where and to what look to find that.
     
    Thank you all for answers for the previous questions :)
    #5
    ric
    Super Member
    • Total Posts : 24639
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: offline
    Re: Question about PIC16F84A internal oscillator and instructions 2019/10/14 14:17:01 (permalink)
    +3 (3)
    Have you tried searching in the PDF file, using Control-F ?
    I think that would have helped a lot with both your questions.
    You will find the definition of TCY on page#55, which I found using precisely that method.
     

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #6
    deva56
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2019/07/23 07:45:44
    • Location: 0
    • Status: offline
    Re: Question about PIC16F84A internal oscillator and instructions 2019/10/14 14:45:00 (permalink)
    0
    It's funny how things are sometimes just in front of your nose and you forget about them. Ctrl-f literally didn't come to my mind. But still I wanted to be sure about the oscillators anyway.
    Thanks again for your help :)
    #7
    bitdoctor
    Starting Member
    • Total Posts : 26
    • Reward points : 0
    • Joined: 2019/10/11 06:10:09
    • Location: 0
    • Status: offline
    Re: Question about PIC16F84A internal oscillator and instructions 2019/10/24 05:39:51 (permalink)
    +1 (1)
    deva56
    It's funny how things are sometimes just in front of your nose and you forget about them. Ctrl-f literally didn't come to my mind. But still I wanted to be sure about the oscillators anyway.
    Thanks again for your help :)

    Adobe viewer has two other ways to find text. There is a prominent icon always right at the top that looks like a magnifying glass. Also you can use the menu item Edit->Find (where the Ctrl-F is listed also as a shortcut). They know that their users don't have supernatural abilities.
    post edited by bitdoctor - 2019/10/24 05:40:53
    #8
    Mysil
    Super Member
    • Total Posts : 3488
    • Reward points : 0
    • Joined: 2012/07/01 04:19:50
    • Location: Norway
    • Status: offline
    Re: Question about PIC16F84A internal oscillator and instructions 2019/10/24 10:01:20 (permalink)
    +2 (2)
    Hi,
    Same as several other ancient PIC16 devices,  
    PIC16F84A have External RC oscillator mode for the CPU oscillator.
    External in this context mean that you provide R and C connected to the oscillator input pin, Pin 16 OSC1/CLKIN.
    It is shown in page 23, section 6.2.3 RC Oscillator, in the datasheet.
    It is selected by the default value of  FOSC bits in configuration word.
     
        Mysil 
    #9
    Jump to:
    © 2019 APG vNext Commercial Version 4.5