Fast Prototyping Board for RX140
Overview
The Fast Prototyping Board for RX140 MCU Group comes equipped with an RX140 MCU (R5F51406BGFN). The board is inexpensive for RX140 evaluation and prototype development of various applications. It has an emulator circuit so you can write/debug programs just by connecting it to a PC with a USB cable. In addition, it has high expandability with Arduino Uno and two Pmod™ connectors as standard, and through-hole access to all pins of the microcontroller.
MCU Native Pin Access
R5F51406ADFN MCU
Max 48MHz, 32-bit RXv2 core (RXv2)
256 KB Flash, 64 KB RAM
80-pin, LFQFP package
Native pin access through 2 x 40-pin male headers (not fitted)
RX MCU current measurement point for precision current consumption measurement
RX MCU on-chip oscillators as main clock
Providing 32.768 kHz crystal oscillator as sub clock
System Control and Ecosystem Access
Two 5 V input sources
USB
External power supply (using 2-pin header [not fitted])
On-board debugger / programmer (E2 emulator On Board (referred as E2OB, FINE Interface))
User LEDs and switches
Two User LEDs (green)
Power LED (green) indicating availability of regulated power
Debug LED (yellow) indicating the debug connection
One User switch
One Reset switch
Two popular ecosystem expansions
Two Digilent PmodTM
Arduino® (Uno R3) connector
Hardware
Detailed hardware features can be found at:
RX140 MCU: RX140 Group User’s Manual Hardware
FPB-RX140: FPB_RX140 - User’s Manual
Supported Features
The fpb_rx140 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.
fpb_rx140/r5f51406bgfn target
Type |
Location |
Description |
Compatible |
|---|---|---|---|
CPU |
on-chip |
Renesas RXv2 CPU1 |
|
ADC |
on-chip |
Renesas RX ADC1 |
|
Clock control |
on-chip |
||
on-chip |
Renesas RX Clock Generation Circuit PLL Clock1 |
||
on-chip |
Renesas RX clock control node pclk block1 |
||
on-chip |
|||
Flash controller |
on-chip |
Renesas RX Flash controller1 |
|
GPIO & Headers |
on-chip |
||
I2C |
on-chip |
Renesas RX I2C Master controller1 |
|
Input |
on-board |
Group of GPIO-bound input keys1 |
|
Interrupt controller |
on-chip |
Renesas ICU Interrupt controller1 |
|
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
Miscellaneous |
on-chip |
Renesas RX Data Transfer Controller (DTC)1 |
|
on-chip |
|||
on-chip |
|||
on-chip |
Renesas RX MTU controller5 |
||
MTD |
on-chip |
Flash memory binding of Renesas RX family2 |
|
on-board |
Fixed partitions of a flash (or other non-volatile storage) memory1 |
||
Pin control |
on-chip |
Renesas RX Pin Controller1 |
|
on-chip |
Rensas RX Pinmux (Multi Function Pin Controller, MPC)13 |
||
PWM |
on-chip |
||
Renesas RX |
on-chip |
Renesas RX SWINT (Software Interrupt)1 |
|
Serial controller |
on-chip |
||
SPI |
on-chip |
Renesas RX RSPI1 |
|
SRAM |
on-chip |
Generic on-chip SRAM1 |
|
Timer |
on-chip |
Renesas RX timer node1 |
|
on-chip |
|||
Watchdog |
on-chip |
Renesas RX Independent Watchdog1 |
Programming and Debugging
The fpb_rx140 board supports the runners and associated west commands listed below.
| flash | debug | reset | rtt | attach | debugserver | |
|---|---|---|---|---|---|---|
| jlink | ✅ | ✅ (default) | ✅ | ✅ | ✅ | ✅ |
| rfp | ✅ (default) |
Applications for the fpb_rx140 board can be built, flashed, and debugged using standard
Zephyr workflows. Refer to Building an Application and Run an Application for more details.
Flashing
The program can be flashed to RSK-RX140 using the E2OB by connecting the board to the host PC and open Jumper J4. Here’s an example for building and flashing the Hello World application.
# From the root of the zephyr repository
west build -b rsk_rx140 samples/hello_world
west flash
Debugging
You can use Renesas Debug extension on Visual Studio Code for a visual debug interface. The configuration for launch.json is as below.
{
"version": "0.2.0",
"configurations": [
{
"type": "renesas-hardware",
"request": "launch",
"name": "RX140 Renesas Debugging E2lite",
"target": {
"deviceFamily": "RX",
"device": "R5F51406",
"debuggerType": "E2LITE"
"serverParameters": [
"-uUseFine=", "1",
"-w=", "0",
],
}
}
]
}