boards/seeed/xiao_ra4m1/doc/index.rst
.. zephyr:board:: xiao_ra4m1
Overview
The XIAO RA4M1 integrates Renesas' RA4M1 chip (32-bit ARM® Cortex®-M4 MCU up to 48 MHz) into the classic XIAO form factor. This development board offers 256KB Flash, 32KB SRAM, 8KB EEPROM, a USB 2.0 connector, reset and boot buttons, 3 LEDs, a 14-bit A/D converter, a 12-bit D/A converter, and a CAN BUS interface. With onboard charging circuitry and low-power modes (as low as 45μA), it’s ideal for battery-powered applications. Sharing the same 32-bit RA4M1 microcontroller as the Arduino Uno R4, it's natively compatible with Arduino IDE and the extensive XIAO accessories, making it the perfect starting point for electronics projects.
Renesas RA4M1 Microcontroller Group
Connectivity
Operating voltage
Hardware
Detailed hardware features can be found at:
RA4M1 Group User's Manual Hardware_XIAO RA4M1 Website_.. zephyr:board-supported-hw::
Programming and Debugging
.. zephyr:board-supported-runners::
Applications for the xiao_ra4m1 board can be built, flashed, and debugged
in the usual way. See :ref:build_an_application and :ref:application_run
for more details on building and running.
Program can be flashed to XIAO RA4M1 via the built in RA4 USB bootloader.
To flash the program to board
Connect the XIAO RA4M1 USB port to the host.
Enter bootloader mode by holding the right Boot button, and tapping the left Reset button. The Boot button needs to be held for a second or two after the Reset has been released.
Execute west command
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: xiao_ra4m1 :goals: build flash
To debug on the XIAO RA4M1, connect an external debugger to the SWD pads on the
bottom of the controller. Once completed, debugging can be performed using
Zephyr's standard method (see :ref:application_run).
The following sample demonstrates how to debug using JLink:
.. zephyr-app-commands:: :zephyr-app: samples/basic/blinky :board: xiao_ra4m1 :maybe-skip-config: :goals: debug
References
XIAO RA4M1 Website_RA4M1 MCU group Website_.. _XIAO RA4M1 Website: https://wiki.seeedstudio.com/getting_started_xiao_ra4m1/
.. _RA4M1 MCU group Website: https://www.renesas.com/us/en/products/microcontrollers-microprocessors/ra-cortex-m-mcus/ra4m1-32-bit-microcontrollers-48mhz-arm-cortex-m4-and-lcd-controller-and-cap-touch-hmi
.. _RA4M1 Group User's Manual Hardware: https://www.renesas.com/us/en/document/mah/renesas-ra4m1-group-users-manual-hardware?r=1054146