- The FPB-RL78F25 is provided with interface pins for Arduino Uno conversion.
- A Function list of the FPB-RL78F25 is shown below.
| No. |
Name |
Function |
| 1 |
Digital IO |
51 Digital input pins / 34 Digital input pull-up pins / 51 Digital output pins / 14 Open-drain output pins |
| 2 |
Serial(UART) |
1 Serial(UART) channels(※1) |
| 3 |
Wire(I2C) |
2 Wire(I2C) channels(※2) |
| 4 |
SPI |
1 SPI channel(※2) |
| 5 |
CAN FD |
2 CAN FD channels |
| 6 |
LED |
2 on Board LED (pin 15 and pin 16) |
| 7 |
User Switch |
1 on Board User Switch (pin 26) |
- (※1) Serial(RxD0, TxD0) connects to a USB Type-C connector via a USB-serial converter.
- (※2) Wire1 cannot be used simultaneously with the SPI channel.
- The FPB-RL78/F25 has 51 Digital input pins and 34 Digital input_pullup pins and 51 Digital output pins.
- When using digital IO, pinMode() must first be called to set the specified pin to operate as an input or output.
pinMode(2,INPUT);
val = digitalRead(2);
-
- Using pin 3 as an input_pullup.
pinMode(3,INPUT_PULLUP);
val = digitalRead(3);
-
- Using pin 4 as an output.
pinMode(4,OUTPUT);
digitailWrite(4,HIGH);
- The pins corresponding to digital I/O are as follows.
| Digital input pin |
Digital input_pullup pin |
Digital output pin |
Open-drain output pins |
memo |
| 2-52 |
2-23, 40-48, 50-52 |
2-52 |
4-13, 20-23 |
- |
- The FPB-RL78/F25 has 1 serial (UART) channel.
- The default transmit buffer size when using each channel is 256 bytes.
- The default receive buffer size when using each channel is 256 bytes.
- The pin assignments of the channels are as follows.
| Channel |
Transmit pin |
Receive pin |
memo |
| Serial |
1 |
0 |
- |
- The FPB-RL78/F25 has 2 wire (I2C) channels.
- The pin assignments of the channels are as follows.
| Channel |
Data pin |
Clock pin |
memo |
| Wire |
22(SDA) |
23(SCL) |
- |
| Wire1 |
12 |
13 |
SPI cannot be used simultaneously with the Wire1 channel. |
- The FPB-RL78/F25 has 1 SPI channel.
- The configurable clock frequency range is 156.25 kHz to 10 MHz.
- The pin assignment of the channel is as follows.
| Channel |
Chip Select pin |
Data out pin |
Data in pin |
Clock pin |
memo |
| SPI |
10 |
11 |
12 |
13 |
Wire1 cannot be used simultaneously with the SPI channel. |
- The FPB-RL78/F25 has 2 CAN FD channels.
- The pin assignment of the channel is as follows.
| Channel |
Data input pin |
Data output pin |
memo |
| CAN Ch0 |
21 |
20 |
Connected to the on-board CAN transceiver. |
| CAN Ch1 |
5 |
4 |
Not connected to a CAN transceiver. |
- The FPB-RL78/F25 has two LEDs mounted on it.
- The pins connected to the LEDs are as follows.
| Name |
pin |
memo |
| LED1 |
50 |
- |
| LED2 |
51 |
- |
- The FPB-RL78/F25 has one user switch.
- The pin connected to the user switch is as follows.