What do you mean by "measure the timer"? With the standard 5MHz crystal, the Propeller's system clock runs at 80MHz. There's a system clock register (CNT) that is readable by your program that continuously accumulates the system clock pulses. There's also a pair of counters (CNTA / CNTB) in each cog that can time external signals using the system clock with a resolution of 12.5ns. Download and read the application note (AN001) on these system counters for details. There are several objects that use these counters, but they're easy to use directly in your program. Look at the PULSIN method in the BS2_Functions object for one example.
Comments