| ??? 01/04/06 20:08 Read: times |
#106499 - I fixed it, sort of...... Responding to: ???'s previous message |
I spent a day trying to implement flags for similar to your suggestion. I gave up due to lack of time and implemented a backup plan.
I am running T0 in autoreload mode with a reload of 0. in its interrupt I increment a 16 bit timebase. The timersources for the PCA and T0 are set so T0 is running at 1/256 of the PCA. Between the two, I have 24 bits of total resolution. At lower frequencies I use the values of the slow timebase. It works really well now. I have optimized the PCA interupts to just capture timebase counts. Now it will capture 3 PCA inputs at 1Khz+, read 16 channels of ADC, and run 115kbaud in and out without errors. (deep breath) I think its finally done. Thanks for all your help. Someday when I have the time I would like to revisit the subject to develop a bulletproof PCA extension method..... Thanks guys! Bob |
| Topic | Author | Date |
| PCA extension | 01/01/70 00:00 | |
| is this what you mean | 01/01/70 00:00 | |
| a major boo-boo | 01/01/70 00:00 | |
| Still trying. | 01/01/70 00:00 | |
| Use Tags | 01/01/70 00:00 | |
| tags? | 01/01/70 00:00 | |
| Look Below | 01/01/70 00:00 | |
| that will make it erratic any time | 01/01/70 00:00 | |
| Is there any way.....? | 01/01/70 00:00 | |
| everything depends | 01/01/70 00:00 | |
| Hm, sounding like there is no clean fix | 01/01/70 00:00 | |
| Hold flags | 01/01/70 00:00 | |
I fixed it, sort of...... | 01/01/70 00:00 | |
| Compiler | 01/01/70 00:00 | |
| should not be t he problem | 01/01/70 00:00 | |
| sketching an idea | 01/01/70 00:00 |



