Misulache12 Posted April 15, 2014 Share Posted April 15, 2014 Am numarat impulsuri anlogice externe pana la o frecventa de 5.5 MHz folosind comparatorul analogic C1 si numaratorul T3 ale unui PIC18F2550 lucrand la o frecventa de 48MHz, care este si frecventa sa de lucru maxima. Pentru a numara impulsuri analogice externe la o frecventa de 6.5 MHz am achizitionat un PIC18F26K80, l-am programat sa lucreze la 64MHz si am folosit tot C1 si T3. Din pacate la impulsuri peste 2MHz comparatorul sau C1 nu mai raspunde. Am gresit eu undeva sau acest PIC18F26K80 este mai putin performant decat PIC18F2550 desi este de o generatie mai noua? Quote Link to comment Share on other sites More sharing options...
puriu Posted April 15, 2014 Share Posted April 15, 2014 Comparatoarele sunt mai lente. Cel mai rapid este numaratorul asincron. Cu un PIC 16F628A se poate numara pana la 70 MHz. Trebuie pus un mic amplificator in fata. Quote Link to comment Share on other sites More sharing options...
cristi7521 Posted April 15, 2014 Share Posted April 15, 2014 Viteza comparatorului este aceeasi, poti verfica in datasheet, dar este diferenta mare tipic si minim/maxim. Cred ca variaza si cu tensiunea de alimentare.response time tipic 150ns - rezulta cam 6MHz, maxim 400ns - cam 2,5MHz Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.