to before using the modules, e.g., right after sysclk_init();
The problem is that the clocks are turned off in sysclk_init so the modules can not be used (not even configured). Anyway, this is what it looks like in the simulator.

which I think matches my settings (notice I have 32Mhz clock), e.g, (35653-34616) should be the period and in seconds this is (35653-34616) * 1 / (32Mhz/64). About 482 Hz. (34823-34616) is also about 1/5 or 20% of (35653-34616).
/Lars