Main Site Documentation

ChipworkX System Clock


#1

ChipworkX runs the following code:
float systemClock = Cpu.SystemClock / 1000000.0f;
Debug.Print(“System Clock: " + systemClock.ToString(“F6”) + " MHz”);

float slowClock = Cpu.SlowClock / 1000000.0f;
Debug.Print(“Slow Clock: " + slowClock.ToString(“F6”) + " MHz”);

string glitchFilterTimeMs = Cpu.GlitchFilterTime.Milliseconds.ToString();
Debug.Print(“Glitch FilterTime: " + glitchFilterTimeMs + " ms”);

Output window output:
System Clock: 3.104000 MHz
Slow Clock: 0.032768 MHz
Glitch FilterTime: 19 ms

Slow Clock=0.032768 MHz is correct. ChipworkX Module has 200 MHz 32-bit ARM 9 Processor, but why System Clock=3.104000 MHz?


#2

use the code tags please


#3
float systemClock = Cpu.SystemClock / 1000000.0f;
Debug.Print("System Clock: " + systemClock.ToString("F6" + " MHz");

float slowClock = Cpu.SlowClock / 1000000.0f;
Debug.Print("Slow Clock: " + slowClock.ToString("F6" + " MHz");

string glitchFilterTimeMs = Cpu.GlitchFilterTime.Milliseconds.ToString();
Debug.Print("Glitch FilterTime: " + glitchFilterTimeMs + " ms");

#4

Those numbers may not mean much and shouldn’t be relied on.