According to data sheets, the MKR1000 runs a SAMD21 Cortex-M0+ processor at 48 MHz. For a project I need to drop that down to 16MHz to get some accurate timing in us. How can I do this? Most of the suggestions on the internet involve the ATmega* boards.

Thanks in advance.

  • Because I'm interfacing with external hardware that can only handle 16MHz. – gjtorikian Feb 7 '18 at 22:01
  • 1
    add the comment about interfacing 16MHz to your question, then delete your comment. ... replace the to get some accurate timing in us with the reference to external hardware .... i am deleting my comments. – jsotola Feb 7 '18 at 22:23

48 MHz is a multiple of 16MHz. Why not just adjust the timing code to account?

  • As noted above, I am not certain this will work, because I'm interfacing with some external hardware whose max speed is 16MHz. I'm trying to slow down for that. Maybe I need some artificial delays inserted, then? – gjtorikian Feb 7 '18 at 22:02
  • 1
    Elaborate on your external hardware, then. – jose can u c Feb 7 '18 at 22:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.