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 |
|
CAN |
on-chip |
Renesas RA CANFD controller global1 |
|
on-chip |
Renesas RA CANFD controller2 |
||
Clock control |
on-chip |
Renesas RA Clock Generation Circuit external clock configuration1 |
|
on-chip |
Generic fixed-rate clock provider3 |
||
on-chip |
Renesas RA Sub-Clock1 |
||
on-chip |
Renesas RA Clock Generation Circuit PLL Clock2 |
||
on-chip |
Renesas RA Clock Generation Circuit PLL Clock out line6 |
||
on-chip |
Renesas RA Clock Control node pclk block1 |
||
on-chip |
|||
on-chip |
Renesas RA External Bus Clock1 |
||
Comparator |
on-chip |
Renesas RA ACMPHS (High-Speed Analog COMParator) Global1 |
|
on-chip |
Renesas RA ACMPHS (High-Speed Analog COMParator) Controller4 |
||
Counter |
on-chip |
Renesas RA AGT as Counter2 |
|
GPIO & Headers |
on-chip |
||
I2C |
on-chip |
Renesas RA I2C Master controller3 |
|
on-chip |
Renesas RA SCI-B I2C controller10 |
||
I3C |
on-chip |
Renesas RA I3C controller1 |
|
Interrupt controller |
on-chip |
ARMv8.1-M NVIC (Nested Vectored Interrupt Controller)1 |
|
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
Miscellaneous |
on-chip |
||
on-chip |
Renesas RA AGT2 |
||
on-chip |
Renesas RA ULPT2 |
||
on-chip |
Renesas RA External Interrupt32 |
||
MMU / MPU |
on-chip |
ARMv8.1-M MPU (Memory Protection Unit)1 |
|
MTD |
on-board |
Flash node1 |
|
Pin control |
on-chip |
Renesas RA Pin Controller1 |
|
PWM |
on-chip |
Renesas RA Pulse Width Modulation14 |
|
SDHC |
on-chip |
||
Serial controller |
on-chip |
||
SPI |
on-chip |
||
SRAM |
on-chip |
Generic on-chip SRAM1 |
|
Timer |
on-chip |
ARMv8.1-M System Tick1 |
|
on-chip |
Renesas RA ULPT TIMER2 |
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
Connect to J-Link OB via USB port to host PC
Make sure J-Link OB jumper is in default configuration as describe in MCB-RA8T2 - User’s Manual
Execute west command
west flash -r jlink