forked from arduino/Arduino
-
Notifications
You must be signed in to change notification settings - Fork 5
RL78G23 128pin Fast Prototyping Board
SuguruHarada64 edited this page Jun 28, 2024
·
1 revision
- The RL78/G23-128p Fast Prototyping Board is provided with interface pins for Arduino Uno conversion.
- A pin list of the RL78/G23-128p Fast Prototyping Board is shown below.
RL78/G23-128p port Number | Pin Name | Arduino Pin Number(Digital IO) | Arduino Uno I/F | MCU header | Pmod I/F | Grove I/F | Analog IO | PWM(※5)(※6) | Serial(※3) | Wire | SPI(※3) | Interrupt | Tone(※5)(※7) | Pulse | ShiftIn/ShiftOut | Servo(※6)(※7) | Stepper | LED | User Switch |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
P33 | IO0 | 0 | 〇 | - | - | - | - | - | RxDA1 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P34 | IO1 | 1 | 〇 | - | - | - | - | - | TxDA1 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P145 | IO2 | 2 | 〇 | - | - | - | - | TAU0 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | 〇 | - | - |
P106 | IO3 | 3 | 〇 | - | - | - | - | TAU1 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | 〇 | - | - |
P105 | IO4 | 4 | 〇 | - | - | - | - | TAU1 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | 〇 | - | - |
P104 | IO5 | 5 | 〇 | - | - | - | - | TAU1 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | 〇 | - | - |
P103 | IO6 | 6 | 〇 | - | - | - | - | TAU1 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | 〇 | - | - |
P46 | IO7 | 7 | 〇 | - | - | - | - | TAU0 | - | - | - | 0 | 〇 | 〇 | 〇 | 〇 | 〇 | - | - |
P42 | IO8 | 8 | 〇 | - | - | - | - | TAU0 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | 〇 | - | - |
P31 | IO9 | 9 | 〇 | - | - | - | - | TAU0 | - | - | - | 1 | 〇 | 〇 | 〇 | 〇 | 〇 | - | - |
P64 | IO10 | 10 | 〇 | - | - | - | - | - (※4) | - | - | - | - | 〇 | 〇 | 〇 | 〇 | 〇 | - | - |
P65 | IO11 | 11 | 〇 | - | - | - | - | TAU1 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | 〇 | - | - |
P66 | IO12 | 12 | 〇 | - | - | - | - | TAU1 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | 〇 | - | - |
P67 | IO13 | 13 | 〇 | - | - | - | - | TAU1 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | 〇 | - | - |
P144 | IO14 | 14 | 〇 | - | 〇 | - | - | - | TxD3 | - | MOSI | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P143 | IO15 | 15 | 〇 | - | 〇 | - | - | - | RxD3 | - | MISO | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P02 | IO16 | 16 | 〇 | - | 〇 | - | - | - | TxD1 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P03 | IO17 | 17 | 〇 | - | 〇 | - | - | - | RxD1 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P13 | IO18 | 18 | 〇 | - | 〇 | - | - | - | TxD2 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P14 | IO19 | 19 | 〇 | - | - | 〇 | - | - | RxD2 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P61 | IO20(SDA) | 20 | 〇 | - | - | 〇 | - | - | - | SDAA0 | - | - | - | - | - | - | - | - | - |
P60 | IO21(SCL) | 21 | 〇 | - | - | 〇 | - | - | - | SCLA0 | - | - | - | - | - | - | - | - | - |
P40 | IO22 | 22 | - | 〇 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
P80 | IO23 | 23 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P05 | IO24 | 24 | - | 〇 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
P81 | IO25 | 25 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P82 | IO26 | 26 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P85 | IO27 | 27 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P86 | IO28 | 28 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P87 | IO29 | 29 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P30 | IO30 | 30 | - | 〇 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
P50 | IO31 | 31 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | LED1 | - |
P51 | IO32 | 32 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | LED2 | - |
P52 | IO33 | 33 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P53 | IO34 | 34 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P54 | IO35 | 35 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P55 | IO36 | 36 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P56 | IO37 | 37 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P57 | IO38 | 38 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P17 | IO39 | 39 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P12 | IO40 | 40 | - | 〇 | - | - | - | - | TxD0※1 | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P11 | IO41 | 41 | - | 〇 | - | - | - | - | RxD0(※1) | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P10 | IO42 | 42 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P90 | IO43 | 43 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P91 | IO44 | 44 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P92 | IO45 | 45 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P93 | IO46 | 46 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P94 | IO47 | 47 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P97 | IO48 | 48 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P112 | IO49 | 49 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P113 | IO50 | 50 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P114 | IO51 | 51 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P101 | IO52 | 52 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P111 | IO53 | 53 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P146 | IO54 | 54 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P23 | IO55 | 55 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P22 | IO56 | 56 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P21 | IO57 | 57 | - | 〇 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
P130 | IO58(※8) | 58 | - | 〇 | - | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | - | - |
P102 | IO59 | 59 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P06 | IO60 | 60 | - | 〇 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
P137 | IO61(※9) | 61 | - | 〇 | - | - | - | - | - | - | - | 2 | - | 〇 | 〇 | - | - | - | SW1 |
P70 | IO62 | 62 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P71 | IO63 | 63 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P72 | IO64 | 64 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P73 | IO65 | 65 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P74 | IO66 | 66 | - | 〇 | - | - | - | - | - | - | - | 3 | - | 〇 | 〇 | 〇 | 〇 | - | - |
P75 | IO67 | 67 | - | 〇 | - | - | - | - | - | - | - | 4 | - | 〇 | 〇 | 〇 | 〇 | - | - |
P76 | IO68 | 68 | - | 〇 | - | - | - | - | - | - | - | 5 | - | 〇 | 〇 | 〇 | 〇 | - | - |
P77 | IO69 | 69 | - | 〇 | - | - | - | - | - | - | - | 6 | - | 〇 | 〇 | 〇 | 〇 | - | - |
P121 | IO70 | 70 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P122 | IO71 | 71 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P123 | IO72 | 72 | - | 〇 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
P124 | IO73 | 73 | - | 〇 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
P125 | IO74 | 74 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P126 | IO75 | 75 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P127 | IO76 | 76 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P41 | IO77 | 77 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P45 | IO78 | 78 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P32 | IO79 | 79 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P35 | IO80 | 80 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P36 | IO81 | 81 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P37 | IO82 | 82 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P120 | IO83 | 83 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P01 | IO84 | 84 | - | 〇 | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P141 | IO85 | 85 | - | - | - | - | - | - | - | - | SS | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P142 | IO86 | 86 | - | - | - | - | - | - | - | - | SCK | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P140 | IO87 | 87 | - | - | - | - | - | - | - | - | - | 7 | - | 〇 | 〇 | 〇 | 〇 | - | - |
P00 | IO88 | 88 | - | - | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P16 | IO89 | 89 | - | - | - | - | - | - | - | - | - | 8 | - | 〇 | 〇 | 〇 | 〇 | - | - |
P62 | IO90 | 90 | - | - | - | - | - | - | - | SCLA1 | - | - | - | - | - | - | - | - | - |
P63 | IO91 | 91 | - | - | - | - | - | - | - | SDAA1 | - | - | - | - | - | - | - | - | - |
P47 | IO92 | 92 | - | - | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P110 | IO93 | 93 | - | - | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P04 | IO94 | 94 | - | - | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P07 | IO95 | 95 | - | - | - | - | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P15 | IO96 | 96 | - | - | - | 〇 | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P43 | IO97 | 97 | - | - | - | 〇 | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P44 | IO98 | 98 | - | - | - | 〇 | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P95 | IO99 | 99 | - | - | - | 〇 | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P96 | IO100 | 100 | - | - | - | 〇 | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P84 | IO101 | 101 | - | - | - | 〇 | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P83 | IO102 | 102 | - | - | - | 〇 | - | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P115 | A0 | 103 | 〇 | - | - | - | A0 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P116 | A1 | 104 | 〇 | - | - | - | A1 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P117 | A2 | 105 | 〇 | - | - | - | A2 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P147 | A3 | 106 | 〇 | - | - | - | A3 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P100 | A4 | 107 | 〇 | - | - | - | A4 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P156 | A5 | 108 | 〇 | - | - | - | A5 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P155 | A6 | 109 | 〇 | - | - | - | A6 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P154 | A7 | 110 | 〇 | - | - | - | A7 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P153 | A8 | 111 | 〇 | - | - | - | A8 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P152 | A9 | 112 | 〇 | - | - | - | A9 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P151 | A10 | 113 | 〇 | - | - | - | A10 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P150 | A11 | 114 | 〇 | - | - | - | A11 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P27 | A12 | 115 | 〇 | - | - | - | A12 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P26 | A13 | 116 | 〇 | - | - | - | A13 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P25 | A14 | 117 | 〇 | - | - | - | A14 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
P24 | A15 | 118 | 〇 | - | - | - | A15 | - | - | - | - | - | - | 〇 | 〇 | 〇 | 〇 | - | - |
- | IOREF | - | 〇 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
- | RESET | - | 〇 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
- | 3V3 | - | 〇 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
- | 5V | - | 〇 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
- | GND | - | 〇 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
- | VIN | - | 〇 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
P20 | REF | - | 〇 | - | - | - | 〇 (※2) | - | - | - | - | - | - | - | - | - | - | - | - |
- (※1) Connection to USB-serial converter.
- (※2) External reference voltage supply pin.
- (※3) The Serial4(RXD3,TXD3) channel and SPI channel cannot be used simultaneously.
- (※4) Pin 10 cannot be used when outputting PWM from TAU1.
- (※5) Simultaneous use of PWM/Tone between pins using the same TAU terminal is not possible.
- (※6) If there are more than 25 pins using Servo, simultaneous use of PWM using Servo/TAU0 pins not possible.
- (※7) If there are more than 25 pins using Servo, simultaneous use of Servo/Tone using pin 2 is not possible.
- (※8) Pin 58 (P130) is an output-only port, so the INPUT setting cannot be used.
- (※9) Pin 61 (P137) is an input-only port, so the OUTPUT setting cannot be used.
- The functions of the RL78/G23-128p Fast Prototyping Board are listed below.
No. | Name | Function |
---|---|---|
1 | Digital IO | 107 Digital Input/output pins |
2 | Analog IO | 16 Analog Input pins |
3 | PWM | 11 PWM Output pins(※4) |
4 | Serial(UART) | 5 Serial(UART) channels(※1)(※3)(※5) |
5 | SoftwareSerial | 9 RX pins / 106 TX pins |
6 | Wire(I2C) | 2 Wire(I2C) channels(※5) |
7 | SPI | 1 SPI channels(※3) |
8 | Interrupt | 9 Interrupt pins |
9 | Tone | 12 Tone Output pins(※4) |
10 | Pulse | 106 Pulse Input/Output pins |
11 | ShiftIn/ShitOut | 107(53pair) shiftIn/ShiftOut pins |
12 | Servo | 106 Servo Output pins(※4) |
13 | Stepper | 106 Stepper Output pins |
14 | LED | 2 on Board LED (pin 31 and pin 32) |
15 | User Switch | 1 on Board User Switch (pin 61) |
-
(※1) One serial channel (Serial) connects to a Micro-USB connector via a USB-serial converter.
-
(※2) One wire channel (Wire1) connects to a Pmod2 I/F.
-
(※3) SPI connects to a Pmod1 I/F.
-
(※4) The Serial4(RXD3,TXD3) channel and SPI channel cannot be used simultaneously.
-
(※5) Pin 10 cannot be used when outputting PWM from TAU1.
-
(※6) Simultaneous use of PWM/Tone between pins using the same TAU terminal is not possible.
-
(※7) If there are more than 25 pins using Servo, simultaneous use of PWM using Servo/TAU0 pins not possible.
-
(※8) If there are more than 25 pins using Servo, simultaneous use of Servo/Tone using pin 2 is not possible.
-
Refer to the following link for reference on the various functions.
- The RL78/G23-128p Fast Prototyping Board has 49 digital inputs and outputs.
- In order to use digital I/O, it is necessary to first configure pin direction settings using pinMode().
-
- Using pin3 as an input.
pinMode(3,INPUT);
val = digitalRead(3);
-
- Using pin4 as an output.
pinMode(4,OUTPUT);
digitailWrite(4,HIGH);
-
The pins corresponding to digital I/O are as follows.
Digital pin memo 0-19, 23, 25-29, 31-56, 58, 59, 61-71, 74-89, 92-118
- The RL78/G23-128p Fast Prototyping Board has 16 analog inputs and outputs.
- Analog input signals are A/D converted and the resulting digital values are returned.
- To use analog input, use analogRead() to specify the analog pin name and read the data.
- Use A0 pin
val =analogRead(A0);
- The pins corresponding to analog input are as follows.
analog input pin | memo |
---|---|
A0-A15 | - |
- The RL78/G23-128p Fast Prototyping Board has 11 PWM output pins.
- To use PWM output, use analogWrite() to specify the pin name and duty, and generate PWM output.
- To change the PWM output pulse frequency, use analogWriteFrequency() to set the frequency, then use analogWrite() to generate PWM output.
- The pins corresponding to PWM output are as follows.
PWM output pin | memo |
---|---|
2-9, 11-13 | - |
- The RL78/G23-128p Fast Prototyping Board has 5 serial (UART) channels.
- A serial channel (Serial) is connected to a Micro-USB connector via a USB-serial converter.
- The Serial4 channel and SPI channel cannot be used simultaneously.
- The pin assignments of the channels are as follows.
Channel | Transmit pin | Receive pin | memo |
---|---|---|---|
Serial | 40 | 41 | Connect to Micro USB port via USB-Serial Converter when J17 is open-circuit |
Serial1 | 1 | 0 | - |
Serial2 | 18 | 19 | - |
Serial3 | 16 | 17 | - |
Serial4 | 14 | 15 | Serial4 cannot be used simultaneously with the SPI channel. |
- The RL78/G23-128p Fast Prototyping Board has 9 RX pins and 106 TX pins for SoftwareSerial.
- The pins corresponding to SoftwareSerial are listed below.
RX pin | TX pin | memo |
---|---|---|
7, 9, 61, 66-69, 87, 89 | 0-19, 23, 25-29, 31-56, 58, 59, 62-71, 74-89, 92-118 | - |
- The RL78/G23-128p Fast Prototyping Board has two wire (I2C) channels.
- The pin assignments of the channels are as follows.
Channel | Data pin | Clock pin | memo |
---|---|---|---|
Wire | 20(SDA) | 21(SCL) | - |
Wire1 | 91 | 90 | Connected to Pmod2 I/F. |
- The RL78/G23-128p Fast Prototyping Board has one SPI channel.
- The SPI channel cannot be used simultaneously with the Serial4 channel.
- The pin assignment of the channel is as follows.
Channel | Chip Select pin | Data out pin | Data in pin | Clock pin | memo |
---|---|---|---|---|---|
SPI | 85 | 14 | 15 | 86 | Serial4 cannot be used simultaneously with the SPI channel. |
- The RL78/G23-128p Fast Prototyping Board has 9 external interrupt pins.
- The correspondences between external interrupt numbers and pins are as follows.
Interrupt No. | Interrupt pin | memo |
---|---|---|
0 | 7 | - |
1 | 9 | - |
2 | 61(SW) | - |
3 | 66 | - |
4 | 67 | - |
5 | 68 | - |
6 | 69 | - |
7 | 87 | - |
8 | 89 | - |
- The RL78/G23-128p Fast Prototyping Board has 11 tone output pins.
- The correspondences between tone outputs and pins are as follows.
Tone output pin | memo |
---|---|
2-13 | - |
- The RL78/G23-128p Fast Prototyping Board has 106 pulse input pins.
- The correspondences between pulse input and pins are as follows.
Pulse input pin | memo |
---|---|
0-19, 23, 25-29, 31-56, 59, 61-71, 74-89, 92-118 | - |
- The RL78/G23-128p Fast Prototyping Board has 107 shift input/output pins (53 pairs).
- The correspondences between shift inputs/outputs and pins are as follows.
Clock pin | Data pin | memo |
---|---|---|
0-19, 23, 25-29, 31-56, 58, 59, 62-71, 74-89, 92-118 | 0-19, 23, 25-29, 31-56, 58, 59, 61-71, 74-89, 92-118 | Pin 58 cannot be used as a Data pin when ShiftIn is used, Pin 61 cannot be used as a Data pin when ShiftOut is used. |
- The RL78/G23-128p Fast Prototyping Board has 106 Servo output pins.
- The correspondences between Servo output pins are as follows.
Servo output pin | memo |
---|---|
0-19, 23, 25-29, 31-56, 58, 59, 62-71, 74-89, 92-118 | - |
- The RL78/G23-128p Fast Prototyping Board has 106 Stepper output pins.
- The correspondences between Stepper output pins are as follows.
Stepper output pin | memo |
---|---|
0-19, 23, 25-29, 31-56, 58, 59, 62-71, 74-89, 92-118 | - |
- The RL78/G23-128p Fast Prototyping Board has two LEDs mounted on it.
- The pins connected to the LEDs are as follows.
Name | pin | memo |
---|---|---|
LED1 | 31 | - |
LED2 | 32 | - |
- The RL78/G23-128p Fast Prototyping Board has one user switch.
- The pin connected to the user switch is as follows.
Name | pin | memo |
---|---|---|
SW1 | 61 | - |