??? 01/29/09 16:23 Read: times |
#161826 - BTW - XLS Modeling Responding to: ???'s previous message |
Just for reference I almost always make a spreadsheet for each project that captures the various timers and frequency divider equations for the MCU and companion harware in use. I include the main crystal frequency as well. I then produce tables of data that correspond to the settings in the SFRs that will help me determine how to properly setup the project for the task at hand. Later I can use this to see what will happen if the crystal frequency changes or some other rate for something is required. In the end run this XLS file is kept with the project sources to help as documentation for why various settings in the code initializes the SFRs the way it does. The comments in the code can say /* see reference spreadsheet Timers.xls for timing details */ . This is especially useful when you come back five years later and have to recall how it all worked!!
Michael Karas |
Topic | Author | Date |
ADUC845 Timer2 Control Basics | 01/01/70 00:00 | |
Well well... | 01/01/70 00:00 | |
I'm guessing you already know.. | 01/01/70 00:00 | |
Doesn't clarify why that value | 01/01/70 00:00 | |
the absolute duration of one timer tick... | 01/01/70 00:00 | |
not important, but what is | 01/01/70 00:00 | |
The timer tutorial was not helpful | 01/01/70 00:00 | |
It's the math that doesn't seem to work | 01/01/70 00:00 | |
321 Interrupts | 01/01/70 00:00 | |
Experimental path probably best | 01/01/70 00:00 | |
BTW - XLS Modeling | 01/01/70 00:00 | |
Timer counters connected to PLL![]() | 01/01/70 00:00 |