Jump to content
ELFORUM - Forumul electronistilor
Sign in to follow this  
Guest nick_bond

Switch de pe oscilator intern pe oscilator extern secundar la PIC18F45K20

Recommended Posts

Guest nick_bond

Stie cineva cum se face switch-ul de la oscilatorul intern la oscilatorul extern secundar  de pe pinii T1OSO respectiv T1OSI?

Edited by nick_bond

Share this post


Link to post
Share on other sites

"switch-ul de la oscilatorul intern la oscilatorul extern secundar  de pe pinii T1OSO respectiv T1OSI"

se face citind documentatia.

daca nu ai gasit, am cautat eu pentru tine: pag. 28, 40 si 283.

 

daca tot nu reusesti, revino cu intrebari.

Share this post


Link to post
Share on other sites

Si daca tot te-ai obosit sa cauti nu puteai sa-i dai si solutia eventual explicata ?

 

Forumul nu duce lipsa de aroganta asa ca eu zic sa o lasi mai moale... mai ales ca nu esti la prima abatere.

Share this post


Link to post
Share on other sites
Guest nick_bond

Vezi Muti, chiar crezi ca as fi intrebat pe forum fara sa fi citit documentatia?

Din cate am citit in datasheet oscilatorul extern poate fii folosit doar in modul sleep pentru a economisii energie.

Pe mine m-ar interesa daca as putea sa il folosesc ca si "main clock" al microcontrollerului, am incercat sa pornesc timerul 1 cu oscilatorul extern inainte sa fac switch pe oscilatorul extern dar nu a functionat.

Poate este o alta modalitate si mie mi-a scapat, de aceea am intrebat pe forum.

Edited by nick_bond

Share this post


Link to post
Share on other sites

la OSCCON scrie asa

SCS<1:0>:System Clock Select bits

01= Secondary (Timer1) oscillator

 

Mai trebuie activat si in biti de configurare (fuse bits)

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.Terms of Use si Guidelines