uf2-samdx1 icon indicating copy to clipboard operation
uf2-samdx1 copied to clipboard

48MHz GCLK0 Output on pin PB14

Open ghost opened this issue 7 years ago • 1 comments

Shouldn't the lines 8 and 9 in the "init_samd51.c" file be commented out?

// Output GCLK0 to Metro M4 D5. This way we can see if/when we mess it up.
PORT->Group[1].PINCFG[14].bit.PMUXEN = true;
PORT->Group[1].PMUX[7].bit.PMUXE = 12;

It's just that these lines will cause the SAMD51 to output GCLK0 at 48MHz on port pin PB14, whenever the board's in bootloader mode. This is digital pin D5 on the Metro M4.

ghost avatar May 08 '18 15:05 ghost

This is was merged from https://github.com/adafruit/uf2-samd21, so we (Adafruit) will look at this. This looks a debugging leftover.

dhalbert avatar May 08 '18 15:05 dhalbert