.. _renesas-ra_quickref: Quick reference for the Renesas RA ================================== .. image:: img/ek_ra6m2_board.jpg :alt: Renesas Evaluation Kit for RA6M2 MCU Group :width: 640px The Renesas EK-RA6M2 board. Below is a quick reference for the Renesas RA boards. If it is your first time working with this board, it may be useful to get an overview of the microcontroller and the board: .. toctree:: :maxdepth: 1 general.rst tutorial/index.rst Installing MicroPython ---------------------- See the corresponding section of tutorial: :ref:`renesas-ra_intro`. It also includes a troubleshooting subsection. General board control --------------------- The MicroPython REPL is accessed via the USB serial port. Tab-completion is useful to find out what methods an object has. Paste mode (ctrl-E) is useful to paste a large slab of Python code into the REPL. Some of features are not implemented for Renesas RA boards yet, please refer to the tutorial for more details. The :mod:`machine` module:: import machine machine.freq() # get the current frequency of the CPU Following functions are supported:: machine.freq() machine.reset() machine.soft_reset() machine.unique_id() Following functions are not supported at the present:: machine.reset_cause() machine.bootloader([value]) machine.disable_irq() machine.enable_irq(state) machine.freq([hz]) machine.idle() machine.sleep() machine.lightsleep() machine.lightsleep([time_ms]) machine.deepsleep() machine.deepsleep([time_ms]) machine.wake_reason() machine.time_pulse_us(pin, pulse_level, timeout_us=1000000,/) machine.bitstream(pin, encoding, timing, data, /) machine.rng() Delay and timing ---------------- Use the :mod:`time