.. _psoc6_quickref: Quick reference for the PSoC6™ ============================== .. image:: img/cy8cproto-062-4343w.jpg :alt: CY8CPROTO-062-4343W board :width: 640px The `CY8CPROTO-062-4343W PSoC6™ Board `_. Below is a quick reference for PSoC6™ boards. If it is your first time working with this port it may be useful to get an overview of the microcontroller: .. toctree:: :maxdepth: 1 :includehidden: general.rst intro.rst installation.rst mpy-usage.rst .. note:: The PSoC6™ port is now a mature port and is expected any MicroPython built-in library to be supported, but not all libraries, modules and features may have been implemented yet. For modules relying on platform and hardware dependencies, only those listed and documented in this quick reference are supported. Please consider opening an `issue `_ or `discussion `_ on GitHub for clarification on available features or to request missing features. General board control --------------------- The MicroPython REPL is accessed via the USB serial port. Paste mode (Ctrl+E) is useful for pasting large sections of Python code into the REPL. This port implements most of the methods described in the :mod:`machine` module. Tab completion is useful to find out what methods an instantiated object has. The :mod:`machine` module:: import machine machine.freq() # get the current frequency of the Core M4 machine.freq(CM4, freq) # set the frequency of the Core M4 sourced by PLL to freq. Value of freq can be upto 150 MHz machine.freq(CM4_FLL, freq) # set the frequency of the Core M4 sourced by FLL to freq. Value of freq can be upto 48 MHz machine.freq(AUDIO_I2S_98_MHZ) # set the frequency of the I2S clock to 98 MHz machine.freq(AUDIO_I2S_90_MHZ) # set the frequency of the I2S clock to 90 MHz machine.freq(AUDIO_PDM_24_576_000_HZ) # set the frequency of the I2S clock to 24576000 HZ machine.freq(AUDIO_PDM_22_579_200_HZ) # set the frequency of the I2S clock to 22579200 HZ Delay and timing ---------------- Use the :mod:`time