Jump to content
ELFORUM - Forumul Electronistilor
Sign in to follow this  
Giuseppe Bagarella

Alta eroare in datasheet la TMR2 ?

Recommended Posts

Mie in MPLAB nu-mi da prescalerul la TMR2 ca ar fi cum scrie in datasheet. In datasheet zice asa :T2CON--------bit 1-0 T2CKPS<1:0>: Timer2 Clock Prescale Select bits00 = Prescaler is 101 = Prescaler is 41x = Prescaler is 16iar eu le-am determinat a fi asa :00 = Prescaler is 101 = Prescaler is 410 = Prescaler is 1611 = Prescaler is 64Voua cum va da ?Se pare ca bitul ala pe care ei l-au notat cu x chiar conteaza.(PIC-ul pe care l-am folosit este 16F887)

Share this post


Link to post
Share on other sites

E gresit in MPLAB. Nici nu trebuie sa consulti manualul de la pic, pentru ca T0, T1 si T2 sunt identice pentru toate PIC-urile care suporta asa ceva. (Evident ma refer doar la PIC-urile de 8 biti.)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.