RA2A1 Evaluation Kit

Overview

The EK-RA2A1 is an evaluation kit for Renesas RA2A1 Microcontroller Group.

Renesas RA2A1 Microcontroller Group has following features

  • 48MHz, Arm Cortex-M23 core

  • 256kB Code Flash, 8kB Data Flash, 32kB SRAM

  • USB 2.0 Full-Sppeed

  • SCI x 3

  • SPI x 2

  • I2C x 2

  • CAN x 1

  • 16-bit A/D Converter

  • 24-bit Sigma-Delta A/D Converter

  • 12-bit D/A Converter

  • 8-bit D/A Converter x 2

  • High-Speed Analog Comparator

  • Low-Power Analog Comparator

  • OPAMP x 3

  • Temperature Sensor

  • General PWM Timer 32-bit x 1

  • General PWM Timer 16-bit x 6

  • Low Power Asynchronous General-Purpose Timer x 2

  • Watchdog Timer

  • 49 Input/Output pins

Hardware

Detail Hardware feature for the RA2A1 MCU group can be found at RA2A1 Group User’s Manual Hardware [1]

RA2A1 MCU group feature

RA2A1 Block diagram (Credit: Renesas Electronics Corporation)

Detail Hardware feature for the EK-RA2A1 MCU can be found at EK-RA2A1 - User’s Manual [1]

EK-RA2A1 has following features.

  • Native pin access through 4x 40-pin male headers

  • MCU current measurement points

  • SEGGER J-Link on-board programmer and debugger

  • Two Digilent Pmod (SPI and UART)

  • User LED

  • Mechanical user button

  • Capacitive user button

Supported Features

The ek_ra2a1 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.

ek_ra2a1/r7fa2a1ab3cfm target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M23 CPU1

arm,cortex-m23

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 Control node pclk block1

renesas,ra-cgc-pclk-block

on-chip

Renesas RA Clock Control Peripheral Clock4 3

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 Port2 5

renesas,ra-gpio-ioport

I2C

on-chip

Renesas RA I2C Master controller1 1

renesas,ra-iic

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv8-M NVIC (Nested Vectored Interrupt Controller)1

arm,v8m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

Miscellaneous

on-chip

Renesas RA SCI controller1 2

renesas,ra-sci

on-chip

Renesas RA AGT2

renesas,ra-agt

on-chip

Renesas RA External Interrupt1 7

renesas,ra-external-interrupt

MTD

on-chip

Flash node2

soc-nv-flash

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 Modulation1 6

renesas,ra-pwm

RNG

on-chip

Renesas RA TRNG1

renesas,ra-trng

Serial controller

on-chip

Renesas RA SCI UART controller1 2

renesas,ra-sci-uart

SPI

on-chip

Renesas RA SPI controller1 1

renesas,ra-spi

SRAM

on-chip

Generic on-chip SRAM description1

mmio-sram

Timer

on-chip

ARMv8-M System Tick1

arm,armv8m-systick

Watchdog

on-chip

Renesas RA Watchdog (wdt)1

renesas,ra-wdt

Programming and debugging

Building & Flashing

You can build and flash an application with onboard J-Link debug adapter. 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 ek_ra2a1 samples/basic/blinky
west flash

Debugging

Debugging also can be done with onboard J-Link debug adapter. 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 ek_ra2a1 samples/basic/blinky
west debug

References