Specialized counters
inaki
Posts: 262
Where is explained the use of these 'two specialized counters' that I keep hearing about ?
I was puzzled reading some of the code·writen around·those counters.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I was puzzled reading some of the code·writen around·those counters.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Comments
I have not searched the field, but I'm not sure if much pulblic information exists about those or the video peripheral. I believe Parallax is writing that stuff up during this period prior to formal release.
Cheers,
Peter (pjv)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...
Wow! I think I need time to assimilate this information. Anyway, now·I understand why these are called 'specialized counters' although 'counters' is a little humble name for such powerful registers.
I see this subject has a lot of possibilities.·I can even foresee·a book: 'Recipes for·exploiting·Propeller's specialized counters".
Well at least I expect an article on N&V dedicated to this subject ! ;-)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
·
I was able to get the correct clock frequencies out of the code posted above, but,·there was a very small error·so the two clock pulses were not in perfect sync.
·
In my application Pin 1·needs to be exactly·1/64 of Pin 0. ·I can work out timing to sync the two clocks.
·
Maybe I'm completely·unable to grasp the concept. Maybe·someone could help shed some light on these wonderful counters·since little documentation is currently available for them, that I can find.
·
Here is the code I’ve been using to test the counters.· Currently it is set to output 40MHz on pins 0 and·1.
-Dan
Post Edited (Direct Digital Labs) : 7/31/2006 3:09:12 PM GMT