+ Post New Thread
Results 1 to 10 of 10
  1. #1
    Member level 5
    Points: 1,413, Level: 8

    Join Date
    Jun 2017
    Location
    Bhubaneswar,Odisha,India
    Posts
    89
    Helped
    4 / 4
    Points
    1,413
    Level
    8

    Oscillatory circuit in 8051

    hi,

    Do 8051 have also two different oscillatory circuit .,one for main clock which drives CPU and another for sub clock which drives peripherals ??

  2. #2
    Super Moderator
    Points: 70,834, Level: 64
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    14,484
    Helped
    3296 / 3296
    Points
    70,834
    Level
    64

    Re: Oscillatory circuit in 8051

    Hi,

    this is a typical information to be found in the datasheet.
    What does it say?

    Klaus
    Please donīt contact me via PM, because there is no time to respond to them. No friend requests. Thank you.


    1 members found this post helpful.

    •   AltAdvertisment

        
       

  3. #3
    Member level 5
    Points: 1,413, Level: 8

    Join Date
    Jun 2017
    Location
    Bhubaneswar,Odisha,India
    Posts
    89
    Helped
    4 / 4
    Points
    1,413
    Level
    8

    Re: Oscillatory circuit in 8051

    sir ,in datasheet at89c51 , there is no information given in this direction.

    another question related to this that, is it necessary to give external oscillator to DRIVE oscillatory circuit ?

    If no ,then what is the internal oscillator frequency (only attaching resonating capacitor)?

    i have gone through a discussion forum of Keil where the conclusion point was that there is no need to use external oscillator to Drive the internal oscillator circuit ...



  4. #4
    Super Moderator
    Points: 70,834, Level: 64
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    14,484
    Helped
    3296 / 3296
    Points
    70,834
    Level
    64

    Re: Oscillatory circuit in 8051

    Hi,

    this information has to be written in the datasheet.

    Please upload the datasheet.

    Klaus

    - - - Updated - - -

    Added:

    I recommend to always use first source infromations: Datasheet directly from the chip manufacturer Atmel/Microchip.
    This is the most reliable information.

    Klaus
    Please donīt contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



    •   AltAdvertisment

        
       

  5. #5
    Member level 5
    Points: 1,413, Level: 8

    Join Date
    Jun 2017
    Location
    Bhubaneswar,Odisha,India
    Posts
    89
    Helped
    4 / 4
    Points
    1,413
    Level
    8

    Re: Oscillatory circuit in 8051

    Quote Originally Posted by KlausST View Post
    Hi,

    this information has to be written in the datasheet.

    Please upload the datasheet.

    Klaus

    - - - Updated - - -

    Added:

    I recommend to always use first source infromations: Datasheet directly from the chip manufacturer Atmel/Microchip.
    This is the most reliable information.

    Klaus
    yes i prefer to go through chip manufacturer datasheet.

    http://ww1.microchip.com/downloads/e...oc/doc0265.pdf



  6. #6
    Super Moderator
    Points: 70,834, Level: 64
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    14,484
    Helped
    3296 / 3296
    Points
    70,834
    Level
    64

    Re: Oscillatory circuit in 8051

    Hi,

    There it is:

    Read page 4 "Oscillator characteristics"
    Read page 13 "External Clock Drive Waveforms"

    Klaus

    Btw: Datasheet says: "Not recommended for new designs. Use AT89S51.")
    Please donīt contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



  7. #7
    Member level 5
    Points: 1,413, Level: 8

    Join Date
    Jun 2017
    Location
    Bhubaneswar,Odisha,India
    Posts
    89
    Helped
    4 / 4
    Points
    1,413
    Level
    8

    Re: Oscillatory circuit in 8051

    sir ,
    in page number 13 ,waveforms are related to external oscillator , not for internal oscillator .

    my 2nd question was regarding internal oscillator .

    //anyway thanks for guiding//



  8. #8
    Super Moderator
    Points: 252,756, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    44,024
    Helped
    13394 / 13394
    Points
    252,756
    Level
    100

    Re: Oscillatory circuit in 8051

    XTAL1 and XTAL2 are the input and output, respectively, of an inverting amplifier which can be configured for use as an on-chip oscillator, as shown in Figure 1. Either a quartz crystal or ceramic resonator may be used.
    What's unclear with this datasheet description?

    If no ,then what is the internal oscillator frequency (only attaching resonating capacitor)?
    You may be confused by the datasheet term "on chip oscillator". As clearly explained in the datasheet, the frequency is determined by an external resonator. It's not the kind of internal RC oscillators you find with modern microcontrollers, e.g. PIC.



    •   AltAdvertisment

        
       

  9. #9
    Super Moderator
    Points: 70,834, Level: 64
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    14,484
    Helped
    3296 / 3296
    Points
    70,834
    Level
    64

    Re: Oscillatory circuit in 8051

    Hi,

    in page number 13 ,waveforms are related to external oscillator , not for internal oscillator .
    You are free to use the internal oscillator or an external clock source.
    We can not know what solution is good for you. (Eg: Maybe you already have an external clock source.. or you want a frequency where you canīt find a suitable XTAL...)

    In post#3 you twice mentioned "external oscillator", thus Iīve given you the section in the datasheet.

    *****
    All information you need is in the datasheet. Donīt expect the device to have more features than mentioned in the datasheet (like "single external C oscillator")

    Klaus
    Please donīt contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



  10. #10
    Newbie level 6
    Points: 226, Level: 2

    Join Date
    Jun 2018
    Location
    INDIA
    Posts
    14
    Helped
    5 / 5
    Points
    226
    Level
    2

    Re: Oscillatory circuit in 8051

    Think it in this way. What is Internal Oscillatory circuit? It is an inverting amplifier which is capable of generating square wave oscillatory output, but we need to input something to its inverting input which can be either independent external clock signal or a crystal resonator which will give amplifier's input.
    So to get the output from the amplifier we need to give some input. That's all about it...


    1 members found this post helpful.

--[[ ]]--