??? 01/25/11 20:45 Read: times |
#180790 - I tend to recall Responding to: ???'s previous message |
As I was working on some PCA code on an 'F310, I thought I might have a look at this. It turns out that the registers can be updated without stopping the PCA first.
I tend to recall that these SFRs have to be loaded in a specific sequence. I took a look at the datasheet and maybe it is just read (I did not read the whole) From the datasheet: Reading the PCA0L Register first guarantees an accurate reading of the entire 16-bit PCA0 counter. In this reading I think I may have found the reason for the original question Writes to some PCA registers are restricted while the Watchdog Timer is enabled. 18.3.1.Watchdog Timer Operation While the WDT is enabled: •PCA counter is forced on. •Writes to PCA0L and PCA0H are not allowed. Erik |
Topic | Author | Date |
Silabs PCA Question | 01/01/70 00:00 | |
the PCA cookbook | 01/01/70 00:00 | |
better asked at the SILabs forum | 01/01/70 00:00 | |
Another Approach May Be Needed | 01/01/70 00:00 | |
Freerunning | 01/01/70 00:00 | |
Thanks - that worked | 01/01/70 00:00 | |
For what it's (sill) worth | 01/01/70 00:00 | |
I tend to recall | 01/01/70 00:00 | |
I do have the WDT running | 01/01/70 00:00 | |
only when watchdog in PCA | 01/01/70 00:00 |