Clicker RA4M1

Overview

The Mikroe Clicker RA4M1 development board contains a Renesas Cortex-M4 based R7FA4M1AB3CFM Microcontroller operating at up to 48 MHz with 256 KB of Flash memory and 32 KB of SRAM.

Hardware

The Clicker RA4M1 board contains a USB Type-C connector, two LEDs, two push buttons, and a reset button. It has J-Link onboard and mikroBUS socket for interfacing with external electronics. For more information about the development board see the Clicker RA4M1 website [1].

Supported Features

The mikroe_clicker_ra4m1 board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
mikroe_clicker_ra4m1
/
r7fa4m1ab3cfm

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M4 CPU1

arm,cortex-m4

ADC

on-chip

Renesas RA ADC node1

renesas,ra-adc

Clock control

on-chip

Renesas RA Clock Generation Circuit external clock configuration1

renesas,ra-cgc-external-clock

on-chip

Generic fixed-rate clock provider3

fixed-clock

on-chip

Renesas RA Sub-Clock1

renesas,ra-cgc-subclk

on-chip

Renesas RA Clock Generation Circuit PLL Clock1

renesas,ra-cgc-pll

on-chip

Renesas RA Clock Control node pclk block1

renesas,ra-cgc-pclk-block

on-chip

Renesas RA Clock Control Peripheral Clock6 2

renesas,ra-cgc-pclk

Counter

on-chip

Renesas RA AGT as Counter2

renesas,ra-agt-counter

DAC

on-chip

Renesas RA DAC Controller Global1

renesas,ra-dac-global

on-chip

Renesas RA DAC Controller1

renesas,ra-dac

GPIO & Headers

on-chip

Renesas RA GPIO I/O Port5 1

renesas,ra-gpio-ioport

on-board

GPIO pins exposed on Mikro BUS headers1

mikro-bus

I2C

on-chip

Renesas RA I2C Master controller2

renesas,ra-iic

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

Miscellaneous

on-chip

Renesas RA SCI controller1 3

renesas,ra-sci

on-chip

Renesas RA AGT2

renesas,ra-agt

on-chip

Renesas RA External Interrupt1 14

renesas,ra-external-interrupt

MMU / MPU

on-chip

ARMv7-M Memory Protection Unit (MPU)1

arm,armv7m-mpu

MTD

on-chip

Flash node1

soc-nv-flash

PHY

on-chip

This binding is to be used by all the usb transceivers which are built-in with USB IP1

usb-nop-xceiv

Pin control

on-chip

The Renesas RA pin controller is a node responsible for controlling pin function selection and pin properties, such as routing a SCI0 RXD to P6101

renesas,ra-pinctrl-pfs

PWM

on-chip

Renesas RA Pulse Width Modulation8

renesas,ra-pwm

RNG

on-chip

Renesas RA SCE5 TRNG1

renesas,ra-sce5-rng

Serial controller

on-chip

Renesas RA SCI UART controller1 3

renesas,ra-sci-uart

SPI

on-chip

Renesas RA SPI controller2

renesas,ra-spi

SRAM

on-chip

Generic on-chip SRAM description1

mmio-sram

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

USB

on-chip

Renesas RA USB full-speed controller1

renesas,ra-usbfs

on-chip

Renesas RA USB device controller1

renesas,ra-udc

Watchdog

on-chip

Renesas RA Watchdog (wdt)1

renesas,ra-wdt

Programming and debugging

Building & Flashing

You can build and flash an application in the usual way (See Building an Application and Run an Application for more details).

Here is an example for building and flashing the Blinky application.

# From the root of the zephyr repository
west build -b mikroe_clicker_ra4m1 samples/basic/blinky
west flash

Debugging

Debugging also can be done in the usual way. The following command is debugging the Blinky application. Also, see the instructions specific to the debug server that you use.

# From the root of the zephyr repository
west build -b mikroe_clicker_ra4m1 samples/basic/blinky
west debug

References