You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Wow, that's really far off. Do you have more than one Pico and they both experience the same issue?

    Can you try shorting B3 and B4 and:

    analogWrite(B3,0.5,{freq:0.5});
    setWatch(function(e) {
      print(e.time - e.lastTime);
    }, B4, {repeat:true});
    

    Any two pins should work. That'll compare the internal RC oscillator with the high speed oscillator. I just tried on one running 2v01 and it returns numbers roughly around 1.01, so that's 1% off. In a minute you might expect half a second.

    One fix is definitely to add an external oscillator. I guess the other is a firmware change to ignore the RC oscillator completely, but that would then mean deep sleep doesn't work. Would that be an issue for you?

About

Avatar for Gordon @Gordon started