RA8T2 Motor Control Kit

Overview

The MCK-RA8T2 is an Motor Control Kit for Renesas RA8T2 MCU Group which integrates multiple series of software-compatible Arm®-based 32-bit cores that share a common set of Renesas peripherals to facilitate design scalability and efficient platform-based product development.

The MCU in this series incorporates a high-performance Arm® Cortex®-M85 core running up to 1 GHz and Arm® Cortex®-M33 core running up to 250 MHz with the following features:

  • Up to 1 MB MRAM

  • 2 MB SRAM (256 KB of CM85 TCM RAM, 128 KB CM33 TCM RAM, 1664 KB of user SRAM)

  • Octal Serial Peripheral Interface (OSPI)

  • Layer 3 Ethernet Switch Module (ESWM), USBFS, SD/MMC Host Interface

  • Analog peripherals

  • Security and safety features

MCK-RA8T2 kit includes the items below:

  • RA8T2 CPU board (MCB-RA8T2)

  • Inverter board (MCI-LV-1)

  • Communication board (MC-COM)

  • Permanent magnet synchronous motors

  • Accessories (cables, standoffs, etc.)

The specifications of the CPU board are shown below:

MCU specifications

  • A high-performance RA8T2 MCU featuring an Arm® Cortex®-M85 core running up to 1 GHz and an Arm® Cortex®-M33 core running up to 250 MHz, offered in a 289-pin BGA package.

  • MRAM/SRAM size: 1MB/2MB

  • MCU input clock: 24MHz (Generate with external crystal oscillator)

  • Power supply: DC 5V, select one way automatically from the below:

    • Power is supplied from compatible inverter board

    • Power is supplied from USB connector

Connector

  • Inverter board connector (2 pair)

  • USB connector for J-Link On-Board

  • USB connector for RA8T2

  • SCI connector for Renesas Motor Workbench communication

  • Through hole for CAN communication

  • 20 pin through hole for Arm debugger

  • Pmod connectors (Type2A + Type3A/6A)

  • User-controllable LED x6, Power LED x1,Ether CAT LED x8

  • MCU reset switch

  • Ether CAT connector

  • MicroSD slot

  • DSMIF

Onboard debugger

This product has the onboard debugger circuit, J-Link On-Board (hereinafter called “J-Link-OB”). When you write a program, open the JP3 and connect the USB connector(CN13) on CPU board to PC with USB cable. J-Link-OB operates as debugger equivalent to J-Link. If connecting from flash programing tool (e.g. J-Flash Lite by SEGGER), set the type of debugger (tool) to “J-Link”

Hardware

Detailed Hardware features for the RA8T2 MCU group can be found at: - The RA8T2 MCU group: RA8T2 Group User’s Manual Hardware - The MCB-RA8T2 board: MCB-RA8T2 - User’s Manual

Supported Features

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

mck_ra8t2/r7ka8t2lfecac/cm85 target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M85 CPU1

arm,cortex-m85

CAN

on-chip

Renesas RA CANFD controller global1

renesas,ra-canfd-global

on-chip

Renesas RA CANFD controller2

renesas,ra-canfd

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 Clock2

renesas,ra-cgc-pll

on-chip

Renesas RA Clock Generation Circuit PLL Clock out line6

renesas,ra-cgc-pll-out

on-chip

Renesas RA Clock Control node pclk block1

renesas,ra-cgc-pclk-block

on-chip

Renesas RA Clock Control Peripheral Clock12 14

renesas,ra-cgc-pclk

on-chip

Renesas RA External Bus Clock1

renesas,ra-cgc-busclk

Comparator

on-chip

Renesas RA ACMPHS (High-Speed Analog COMParator) Global1

renesas,ra-acmphs-global

on-chip

Renesas RA ACMPHS (High-Speed Analog COMParator) Controller4

renesas,ra-acmphs

Counter

on-chip

Renesas RA AGT as Counter2

renesas,ra-agt-counter

GPIO & Headers

on-chip

Renesas RA GPIO I/O Port5 9

renesas,ra-gpio-ioport

I2C

on-chip

Renesas RA I2C Master controller3

renesas,ra-iic

on-chip

Renesas RA SCI-B I2C controller10

renesas,ra-i2c-sci-b

I3C

on-chip

Renesas RA I3C controller1

renesas,ra-i3c

Interrupt controller

on-chip

ARMv8.1-M NVIC (Nested Vectored Interrupt Controller)1

arm,v8.1m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

Miscellaneous

on-chip

Renesas RA SCI controller2 8

renesas,ra-sci

on-chip

Renesas RA AGT2

renesas,ra-agt

on-chip

Renesas RA ULPT2

renesas,ra-ulpt

on-chip

Renesas RA External Interrupt32

renesas,ra-external-interrupt

MMU / MPU

on-chip

ARMv8.1-M MPU (Memory Protection Unit)1

arm,armv8.1m-mpu

MTD

on-board

Flash node1

soc-nv-flash

Pin control

on-chip

Renesas RA Pin Controller1

renesas,ra-pinctrl-pfs

PWM

on-chip

Renesas RA Pulse Width Modulation14

renesas,ra-pwm

SDHC

on-chip

Renesas RA SDHC1 1

renesas,ra-sdhc

Serial controller

on-chip

Renesas RA SCI_B UART controller2 8

renesas,ra8-uart-sci-b

SPI

on-chip

Renesas RA8 SPI_B controller1 1

renesas,ra8-spi-b

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

Timer

on-chip

ARMv8.1-M System Tick1

arm,armv8.1m-systick

on-chip

Renesas RA ULPT TIMER2

renesas,ra-ulpt-timer

Note

For using SDHC module on MCK-RA8T2, Connect microSD Card to microSD Socket (CN17)

Programming and Debugging

The mck_ra8t2 board supports the runners and associated west commands listed below.

flash debug debugserver rtt attach
jlink ✅ (default) ✅ (default)

Applications for the mck_ra8t2 board configuration can be built, flashed, and debugged in the usual way. See Building an Application and Run an Application for more details on building and running.

Here is an example for the Hello World application on CM85 core.

# From the root of the zephyr repository
west build -b mck_ra8t2/r7ka8t2lfecac/cm85 samples/hello_world
west flash

Open a serial terminal, reset the board (push the reset switch S1), and you should see the following message in the terminal:

***** Booting Zephyr OS v4.2.0-xxx-xxxxxxxxxxxxx *****
Hello World! mck_ra8t2/r7ka8t2lfecac/cm85

Flashing

Program can be flashed to MCB-RA8T2 via the on-board SEGGER J-Link debugger. SEGGER J-link’s drivers are available at https://www.segger.com/downloads/jlink/

To flash the program to board

  1. Connect to J-Link OB via USB port to host PC

  2. Make sure J-Link OB jumper is in default configuration as describe in MCB-RA8T2 - User’s Manual

  3. Execute west command

    west flash -r jlink
    

References