summaryrefslogtreecommitdiff
path: root/py/objstringio.h
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2022-06-15 18:58:02 +0200
committerDamien George <damien@micropython.org>2022-10-06 23:03:08 +1100
commit20e7313453b34778df7cddbe3bc6bd72d3b737d7 (patch)
tree3bff13992177e7121ea464d4906b18270c614ba2 /py/objstringio.h
parentf00356a486ed7ea9650f59f1259b2732d9a1bb21 (diff)
samd/clock_config: Add HW_DFLL_USB_SYNC and HW_MCU_OSC32KULP extensions.
Two new compile flags are: MICROPY_HW_DFLL_USB_SYNC: Effective only if DFLL48 does not run from the crystal. It will synchronize the DFLL48M clock with the USB's SOF pulse. If no USB is connected, it will fall back to open loop mode. The DFLL48M clock is then pretty precise, but with a higher clock jitter at SAMD51 devices. MICROPY_HW_MCU_OSC32KULP: Effective only if the devics uses a crystal as clock source. Run the MCU clock from the ULP 32kHz oszillator instead of the crystal. This flag was added to cater for a interference problem of the crystal and Neopixel/Debug pins at Adafruit FEATHER Mx boards, which causes the board to crash. Drawback: ticks_ms() and time.time() vs. than ticks_us() and the peripherals like PWM run at not synchronous clocks.
Diffstat (limited to 'py/objstringio.h')
0 files changed, 0 insertions, 0 deletions