Regarding clock speed, when I try 1000 Khz, I see 550.66 Khz on my oscilloscope ...
Stephen, did you see the same difference ?
Pascal
Also, just to check the netduino clock, I try this code (come from Expert .NET Micro Framework book) :
Cpu.GlitchFilterTime = new TimeSpan(0, 0, 0, 0, 100); //100 ms 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"); float glitchFilterTimeMs = Cpu.GlitchFilterTime.Ticks / (float)TimeSpan.TicksPerMillisecond; Debug.Print("Glitch Filter Time: " + glitchFilterTimeMs.ToString("F1") + " ms");
It works fine on emulator, but it raise a exception at first line on netduino :
"An unhandled exception of type 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll"
Pascal