1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

XTAL choice

Discussion in 'Microcontrollers' started by Asjad, Apr 17, 2004.

  1. Asjad

    Asjad New Member

    Joined:
    Apr 1, 2004
    Messages:
    59
    Likes:
    0
    Dear All,

    Does anyone know how the choice of XTAL reflects:

    Capture pin working range (any formula)
    PWM pin working range (any formula)

    Using a PIC16F874

    Thanks
     
  2. Asjad

    Asjad New Member

    Joined:
    Apr 1, 2004
    Messages:
    59
    Likes:
    0
    continuing question

    What about maximum baud rate for the com port? (any formula)????
     
  3. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,214
    Likes:
    640
    Location:
    Derbyshire, UK
    Read the data sheet, it explains all you need to know. But for a start, a single instuction takes one quarter of the clock speed (so for 4MHz it takes 1uS). Some of the instructions (goto etc.) take two instruction cycles, again it's all in the data sheet.
     

Share This Page