RA4M1 Clicker Board - renesas/micropython GitHub Wiki
How to use on RA4M1 Clicker board
-
Connect the P402 pin (for UART2_RX) of the RA4M1 Clicker board to the USB serial transmit pin (TX), the P401 pin (for UART2_TX) to the USB serial receive pin (RX), and the GND pin to each other, and connect the USB connector of the Window 10 PC.
RA4M1 Clicker board USB-Serial Conversion cable P402 (for UART2_RX) TX P401 (for UART2_TX) RX GND GND -
It is recognized as a USB serial device on the device manager port.
-
Some boards recognize it as a USB disk, but RA4M1 Clicker does not implement the USB disk function.
RA4M1 Clicker Pin Information
| MIKROBUS1 | MIKROBUS1 | ||||
|---|---|---|---|---|---|
| MBAN | P000 | AN | PWM | P107 | MBPWM |
| MBRST | P407 | RST | INT | P302 | MBINT |
| MBSSL | P103 | CS | RX | P410 | MBRX0 |
| MBSCK | P102 | SCK | TX | P411 | MBTX0 |
| MBMISO | P100 | MISO | SCL | P205 | MBSCL1 |
| MBMOSI | P101 | MOSI | SDA | P206 | MBSDA1 |
| 3.3V | 3.3V | 5V | 5V | ||
| GND | GND | GND | NC |
| HD1 | |
|---|---|
| GND | 1 |
| 3.3V | 2 |
| P402 | 3 |
| P401 | 4 |
| P400 | 5 |
| P502 | 6 |
| P501 | 7 |
| P014 | 8 |
| P013 | 9 |
| P012 | 10 |
| Switch1 | P304 |
| Switch2 | P301 |
| LED1 | P409 |
| LED2 | P408 |
RA4M1 Clicker Peripheral Table
| Peripheral | MPY Channel | MCU Peripheral | Feature | MCU Pin | Note |
|---|---|---|---|---|---|
| UART | 1 | SCI_0 | TX | P411 | |
| UART | 1 | SCI_0 | RX | P410 | |
| UART | 1 | SCI_0 | CTS | P103 | |
| UART | 1 | SCI_0 | RTS | P302 | |
| UART | 2 | SCI_1 | TX | P401 | REPL Default channel |
| UART | 2 | SCI_1 | RX | P402 | |
| SPI | 1 | SPI0 | MOSI | P101 | |
| SPI | 1 | SPI0 | MISO | P100 | |
| SPI | 1 | SPI0 | SCK | P102 | |
| SPI | CS | P103 | Default chip select pin. Another pin can be used. | ||
| I2C | - | - | SCL | P205 | I2C feature by GPIO |
| I2C | - | - | SDA | P206 | I2C feature by GPIO |
| External Pin Interrupt | - | IRQ5 | IRQ5 | P302 | MBINT pin |
| External Pin Interrupt | - | IRQ5 | IRQ5 | P401 | MBINT pin |
| External Pin Interrupt | - | IRQ6 | IRQ6 | P301 | Switch2 |
| External Pin Interrupt | - | IRQ9 | IRQ9 | P304 | Switch 1 |
| ADC 14, 12 bit | - | AN0xx | AN000 | P000 | |
| ADC 14, 12 bit | - | AN0xx | AN007 | P012 | |
| ADC 14, 12 bit | - | AN0xx | AN008 | P013 | |
| ADC 14, 12 bit | - | AN0xx | AN009 | P009 | |
| ADC 14, 12 bit | - | AN0xx | AN022 | P100 | |
| ADC 14, 12 bit | - | AN0xx | AN021 | P101 | |
| ADC 14, 12 bit | - | AN0xx | AN020 | P102 | |
| ADC 14, 12 bit | - | AN0xx | AN019 | P103 | |
| ADC 14, 12 bit | - | AN0xx | AN017 | P501 | |
| ADC 14, 12 bit | - | AN0xx | AN018 | P502 |